Searched refs:partitions (Results 1 – 4 of 4) sorted by relevance
135 pub fn partitions(&self, disk: Weak<dyn BlockDevice>) -> Vec<Arc<Partition>> { in partitions() method136 let mut partitions: Vec<Arc<Partition>> = Vec::new(); in partitions() localVariable139 partitions.push(Partition::new( in partitions()148 return partitions; in partitions()
41 pub partitions: Vec<Arc<Partition>>, // 磁盘分区数组 field388 partitions: Vec::new(), in new()397 let partitions = table.partitions(Arc::downgrade(&result) as Weak<dyn BlockDevice>); in new() localVariable398 result.inner().partitions = partitions; in new()558 fn partitions(&self) -> Vec<Arc<Partition>> { in partitions() method559 return self.inner().partitions.clone(); in partitions()
282 fn partitions(&self) -> Vec<Arc<Partition>> { in partitions() method286 mbr_table.partitions(Arc::downgrade(&device)) in partitions()
349 fn partitions(&self) -> Vec<Arc<Partition>>; in partitions() method