Lines Matching refs:number
52 static struct atm_dev *__atm_dev_lookup(int number) in __atm_dev_lookup() argument
57 if (dev->number == number) { in __atm_dev_lookup()
65 struct atm_dev *atm_dev_lookup(int number) in atm_dev_lookup() argument
70 dev = __atm_dev_lookup(number); in atm_dev_lookup()
77 const struct atmdev_ops *ops, int number, in atm_dev_register() argument
88 if (number != -1) { in atm_dev_register()
89 inuse = __atm_dev_lookup(number); in atm_dev_register()
96 dev->number = number; in atm_dev_register()
98 dev->number = 0; in atm_dev_register()
99 while ((inuse = __atm_dev_lookup(dev->number))) { in atm_dev_register()
101 dev->number++; in atm_dev_register()
217 *tmp_p++ = dev->number; in atm_getnames()
228 int number, int compat) in atm_dev_ioctl() argument
236 dev = try_then_request_module(atm_dev_lookup(number), "atm-device-%d", in atm_dev_ioctl()
237 number); in atm_dev_ioctl()