Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/base/map/
Dmod.rs1 use super::device::{mkdev, DeviceNumber, KObject};
55 mkdev(dev_t.major(), dev_t.minor() + i), in kobj_map()
/DragonOS-0.1.8/kernel/src/driver/base/char/
Dmod.rs2 device::{mkdev, DeviceNumber, KObject},
181 Self::__register_chardev_region(mkdev(0, baseminor), count, name) in alloc_chardev_region()
208 let chardev = CharDeviceStruct::new(mkdev(major, baseminor), minorct, name); in __register_chardev_region()
235 return Ok(mkdev(major, baseminor)); in __register_chardev_region()
/DragonOS-0.1.8/kernel/src/driver/base/device/
Dmod.rs74 pub fn mkdev(major: usize, minor: usize) -> DeviceNumber { in mkdev() function