Searched defs:BlockDevice (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/driver/base/block/ |
H A D | manager.rs | 96 dev: &Arc<dyn BlockDevice>, in register_entire_disk_as_gendisk() 104 dev: &Arc<dyn BlockDevice>, in register_gendisk_with_range() 118 dev: &Arc<dyn BlockDevice>, in register_gendisk() 138 pub fn unregister(&self, dev: &Arc<dyn BlockDevice>) { in unregister()
|
H A D | disk_info.rs | 26 disk: Weak<dyn BlockDevice>, in new() 50 pub fn disk(&self) -> Arc<dyn BlockDevice> { in disk()
|
H A D | gendisk.rs | 25 bdev: Weak<dyn BlockDevice>, in new() 39 pub fn block_device(&self) -> Arc<dyn BlockDevice> { in block_device()
|
H A D | block_device.rs | 288 pub trait BlockDevice: Device { trait 660 pub fn bdev_add(_bdev: Arc<dyn BlockDevice>, id_table: IdTable) -> Result<(), DeviceError> { in bdev_add()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mod.rs | 49 BlockDevice, enumerator 72 BlockDevice(Arc<dyn BlockDevice>), enumerator
|