Searched refs:device_number (Results 1 – 1 of 1) sorted by relevance
89 pub fn device_number(&self) -> DeviceNumber { in device_number() method142 if item.device_number().major() == index { in find_dynamic_major()190 device_number: DeviceNumber, in __register_chardev_region()194 let mut major = device_number.major(); in __register_chardev_region()195 let baseminor = device_number.minor(); in __register_chardev_region()217 match item.device_number().major().cmp(&major) { in __register_chardev_region()223 if item.device_number().minor() + item.minorct() <= baseminor { in __register_chardev_region()244 device_number: DeviceNumber, in __unregister_chardev_region()251 .get_mut(Self::major_to_index(device_number.major())) in __unregister_chardev_region()254 if item.device_number() == device_number && item.minorct() == minorct { in __unregister_chardev_region()