Home
last modified time | relevance | path

Searched defs:DeviceNumber (Results 1 – 14 of 14) sorted by relevance

/DragonOS/kernel/src/driver/base/char/
H A Dmod.rs94 from: DeviceNumber, in register_chardev_region()
97 ) -> Result<DeviceNumber, SystemError> { in register_chardev_region()
111 ) -> Result<DeviceNumber, SystemError> { in alloc_chardev_region()
125 device_number: DeviceNumber, in __register_chardev_region()
128 ) -> Result<DeviceNumber, SystemError> { in __register_chardev_region()
180 device_number: DeviceNumber, in __unregister_chardev_region()
/DragonOS/kernel/src/driver/base/device/
H A Ddevice_number.rs36 pub struct DeviceNumber { struct
40 impl DeviceNumber { implementation
63 impl Default for DeviceNumber { implementation
69 impl From<u32> for DeviceNumber { implementation
H A Dmod.rs344 pub fn device_number(&self) -> DeviceNumber { in device_number()
/DragonOS/kernel/src/driver/base/map/
H A Dmod.rs61 dev_t: DeviceNumber, in kobj_map()
85 pub fn kobj_unmap(domain: Arc<LockedKObjMap>, dev_t: DeviceNumber, range: usize) { in kobj_unmap()
178 pub fn new(dev_t: DeviceNumber, minorct: u32, name: &'static str) -> Self { in new()
191 pub fn device_number(&self) -> DeviceNumber { in device_number()
/DragonOS/kernel/src/driver/base/block/
H A Dblock_device.rs550 from: DeviceNumber, in register_blockdev_region()
553 ) -> Result<DeviceNumber, SystemError> { in register_blockdev_region()
567 ) -> Result<DeviceNumber, SystemError> { in alloc_blockdev_region()
581 device_number: DeviceNumber, in __register_blockdev_region()
584 ) -> Result<DeviceNumber, SystemError> { in __register_blockdev_region()
636 device_number: DeviceNumber, in __unregister_blockdev_region()
673 pub fn bdev_del(_devnum: DeviceNumber, _range: usize) { in bdev_del()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs247 pub fn device_number(&self) -> DeviceNumber { in device_number()
252 fn do_device_number(&self, inner_guard: &SpinLockGuard<'_, InnerFbDevice>) -> DeviceNumber { in do_device_number()
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs568 _dev_t: DeviceNumber, in mknod()
/DragonOS/kernel/src/filesystem/overlayfs/
H A Dmod.rs424 dev_t: crate::driver::base::device::device_number::DeviceNumber, in mknod()
/DragonOS/kernel/src/driver/tty/
H A Dtty_driver.rs203 pub fn device_number(&self, index: usize) -> Option<DeviceNumber> { in device_number()
H A Dtty_core.rs361 pub fn device_number(&self) -> &DeviceNumber { in device_number()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmount.rs498 dev_t: DeviceNumber, in mknod()
H A Dmod.rs499 _dev_t: DeviceNumber, in mknod()
H A Dsyscall.rs1509 dev_t: DeviceNumber, in mknod()
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs1798 _dev_t: DeviceNumber, in mknod()