Searched refs:Partition (Results 1 – 6 of 6) sorted by relevance
/DragonOS/kernel/src/driver/base/block/ |
H A D | disk_info.rs | 11 pub struct Partition { struct 20 impl Partition { impl 29 return Arc::new(Partition { in new() 39 return Partition { in new_raw() 55 impl TryInto<GeneralBlockRange> for Partition { implementation
|
H A D | block_device.rs | 21 use super::{disk_info::Partition, gendisk::GenDisk, manager::BlockDevMeta}; 349 fn partitions(&self) -> Vec<Arc<Partition>>; in partitions() argument
|
/DragonOS/kernel/src/filesystem/ |
H A D | mbr.rs | 11 driver::base::block::{block_device::BlockDevice, disk_info::Partition, SeekFrom}, 135 pub fn partitions(&self, disk: Weak<dyn BlockDevice>) -> Vec<Arc<Partition>> { in partitions() argument 136 let mut partitions: Vec<Arc<Partition>> = Vec::new(); in partitions() 139 partitions.push(Partition::new( in partitions() 173 type Item = Partition; 181 let p = Partition::new_raw( in next()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | ahcidisk.rs | 6 use crate::driver::base::block::disk_info::Partition; 41 pub partitions: Vec<Arc<Partition>>, // 磁盘分区数组 558 fn partitions(&self) -> Vec<Arc<Partition>> { in partitions() argument
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 20 disk_info::Partition, 282 fn partitions(&self) -> Vec<Arc<Partition>> { in partitions() argument
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 24 driver::base::block::{block_device::LBA_SIZE, disk_info::Partition, SeekFrom}, 1365 pub fn update(&mut self, partition: Arc<Partition>) -> Result<(), SystemError> { in update()
|