Home
last modified time | relevance | path

Searched defs:BlockDevice (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/base/block/
H A Dmanager.rs96 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 Ddisk_info.rs26 disk: Weak<dyn BlockDevice>, in new()
50 pub fn disk(&self) -> Arc<dyn BlockDevice> { in disk()
H A Dgendisk.rs25 bdev: Weak<dyn BlockDevice>, in new()
39 pub fn block_device(&self) -> Arc<dyn BlockDevice> { in block_device()
H A Dblock_device.rs288 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 Dmod.rs49 BlockDevice, enumerator
72 BlockDevice(Arc<dyn BlockDevice>), enumerator