/DragonOS/kernel/src/driver/base/char/ |
H A D | mod.rs | 94 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 D | device_number.rs | 36 pub struct DeviceNumber { struct 40 impl DeviceNumber { implementation 63 impl Default for DeviceNumber { implementation 69 impl From<u32> for DeviceNumber { implementation
|
H A D | mod.rs | 344 pub fn device_number(&self) -> DeviceNumber { in device_number()
|
/DragonOS/kernel/src/driver/base/map/ |
H A D | mod.rs | 61 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 D | block_device.rs | 550 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 D | fbmem.rs | 247 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 D | mod.rs | 568 _dev_t: DeviceNumber, in mknod()
|
/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | mod.rs | 424 dev_t: crate::driver::base::device::device_number::DeviceNumber, in mknod()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_driver.rs | 203 pub fn device_number(&self, index: usize) -> Option<DeviceNumber> { in device_number()
|
H A D | tty_core.rs | 361 pub fn device_number(&self) -> &DeviceNumber { in device_number()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mount.rs | 498 dev_t: DeviceNumber, in mknod()
|
H A D | mod.rs | 499 _dev_t: DeviceNumber, in mknod()
|
H A D | syscall.rs | 1509 dev_t: DeviceNumber, in mknod()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 1798 _dev_t: DeviceNumber, in mknod()
|