Home
last modified time | relevance | path

Searched refs:device_number (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs89 pub fn device_number(&self) -> DeviceNumber { in device_number() method
142 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()