Home
last modified time | relevance | path

Searched refs:partitions (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/filesystem/
H A Dmbr.rs135 pub fn partitions(&self, disk: Weak<dyn BlockDevice>) -> Vec<Arc<Partition>> { in partitions() method
136 let mut partitions: Vec<Arc<Partition>> = Vec::new(); in partitions() localVariable
139 partitions.push(Partition::new( in partitions()
148 return partitions; in partitions()
/DragonOS/kernel/src/driver/disk/ahci/
H A Dahcidisk.rs41 pub partitions: Vec<Arc<Partition>>, // 磁盘分区数组 field
388 partitions: Vec::new(), in new()
397 let partitions = table.partitions(Arc::downgrade(&result) as Weak<dyn BlockDevice>); in new() localVariable
398 result.inner().partitions = partitions; in new()
558 fn partitions(&self) -> Vec<Arc<Partition>> { in partitions() method
559 return self.inner().partitions.clone(); in partitions()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs282 fn partitions(&self) -> Vec<Arc<Partition>> { in partitions() method
286 mbr_table.partitions(Arc::downgrade(&device)) in partitions()
/DragonOS/kernel/src/driver/base/block/
H A Dblock_device.rs349 fn partitions(&self) -> Vec<Arc<Partition>>; in partitions() method