Lines Matching refs:device_number
9 device_number::{DeviceNumber, Major},
73 if item.device_number().major().data() == index { in find_dynamic_major()
125 device_number: DeviceNumber, in __register_chardev_region()
129 let mut major = device_number.major(); in __register_chardev_region()
130 let baseminor = device_number.minor(); in __register_chardev_region()
152 match item.device_number().major().cmp(&major) { in __register_chardev_region()
158 if item.device_number().minor() + item.minorct() <= baseminor { in __register_chardev_region()
180 device_number: DeviceNumber, in __unregister_chardev_region()
185 .get_mut(Self::major_to_index(device_number.major())) in __unregister_chardev_region()
188 if item.device_number() == device_number && item.minorct() == minorct { in __unregister_chardev_region()
209 if id_table.device_number().data() == 0 { in cdev_add()
215 id_table.device_number(), in cdev_add()
230 kobj_unmap(DEVMAP.clone(), id_table.device_number(), range); in cdev_del()