Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/base/device/
Dmod.rs65 pub fn minor(&self) -> usize { in minor() method
74 pub fn mkdev(major: usize, minor: usize) -> DeviceNumber { in mkdev()
75 DeviceNumber(((major & 0xfff) << 20) | (minor & 0xfffff)) in mkdev()
/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs99 self.dev_t.minor() in base_minor()
195 let baseminor = device_number.minor(); in __register_chardev_region()
223 if item.device_number().minor() + item.minorct() <= baseminor { in __register_chardev_region()
/DragonOS-0.1.8/kernel/src/driver/base/map/
Dmod.rs55 mkdev(dev_t.major(), dev_t.minor() + i), in kobj_map()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dmod.rs538 pub fn make_rawdev(major: usize, minor: usize) -> usize { in make_rawdev()
539 ((major & 0xffffff) << 8) | (minor & 0xff) in make_rawdev()
/DragonOS-0.1.8/kernel/src/driver/multiboot2/
Dmultiboot2.h355 uint8_t minor; member