Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/driver/base/device/
Ddevice_number.rs10 pub const UNNAMED_MAJOR: Self = Self::new(0); constant
59 Self::new(Major::UNNAMED_MAJOR, 0) in default()
Dmod.rs463 if device.id_table().device_number().major() != Major::UNNAMED_MAJOR { in add_device()
/DragonOS-0.1.9/kernel/src/driver/base/char/
Dmod.rs113 DeviceNumber::new(Major::UNNAMED_MAJOR, baseminor), in alloc_chardev_region()
144 if major == Major::UNNAMED_MAJOR { in __register_chardev_region()
/DragonOS-0.1.9/kernel/src/driver/base/block/
Dblock_device.rs400 DeviceNumber::new(Major::UNNAMED_MAJOR, baseminor), in alloc_blockdev_region()
431 if major == Major::UNNAMED_MAJOR { in __register_blockdev_region()
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_driver.rs52 if driver.major == Major::UNNAMED_MAJOR { in tty_register_driver()