Home
last modified time | relevance | path

Searched refs:Partition (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/driver/base/block/
H A Ddisk_info.rs11 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 Dblock_device.rs21 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 Dmbr.rs11 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 Dahcidisk.rs6 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 Dvirtio_blk.rs20 disk_info::Partition,
282 fn partitions(&self) -> Vec<Arc<Partition>> { in partitions() argument
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs24 driver::base::block::{block_device::LBA_SIZE, disk_info::Partition, SeekFrom},
1365 pub fn update(&mut self, partition: Arc<Partition>) -> Result<(), SystemError> { in update()