Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs177 baseminor: usize, in alloc_chardev_region()
181 Self::__register_chardev_region(mkdev(0, baseminor), count, name) in alloc_chardev_region()
195 let baseminor = device_number.minor(); in __register_chardev_region() localVariable
204 if minorct > MINOR_MASK + 1 - baseminor { in __register_chardev_region()
206 name, baseminor, baseminor + minorct - 1, 0, MINOR_MASK); in __register_chardev_region()
208 let chardev = CharDeviceStruct::new(mkdev(major, baseminor), minorct, name); in __register_chardev_region()
223 if item.device_number().minor() + item.minorct() <= baseminor { in __register_chardev_region()
226 if item.base_minor() >= baseminor + minorct { in __register_chardev_region()
235 return Ok(mkdev(major, baseminor)); in __register_chardev_region()