Searched refs:Partition (Results 1 – 6 of 6) sorted by relevance
/DragonOS-0.1.8/kernel/src/io/ |
D | disk_info.rs | 14 pub struct Partition { struct 26 impl Partition { argument 35 return Arc::new(Partition { in new()
|
D | device.rs | 6 use super::disk_info::Partition; 103 fn partitions(&self) -> Vec<Arc<Partition>>; in partitions() argument
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 5 use crate::io::{device::BlockDevice, disk_info::Partition, SeekFrom}; 29 pub partitions: Vec<Arc<Partition>>, // 磁盘分区数组 368 let mut part_s: Vec<Arc<Partition>> = Vec::new(); in new() 386 part_s.push(Partition::new( in new() 486 fn partitions(&self) -> Vec<Arc<Partition>> { in partitions() argument
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | bpb.rs | 5 io::{device::LBA_SIZE, disk_info::Partition, SeekFrom}, 222 pub fn new(partition: Arc<Partition>) -> Result<BiosParameterBlock, SystemError> { in new()
|
D | fs.rs | 17 io::{device::LBA_SIZE, disk_info::Partition, SeekFrom}, 63 pub partition: Arc<Partition>, 252 pub fn new(partition: Arc<Partition>) -> Result<Arc<FATFileSystem>, SystemError> { in new() 1207 partition: Arc<Partition>, in new() argument 1301 pub fn flush(&self, partition: &Arc<Partition>) -> Result<(), SystemError> { in flush() 1330 pub fn update(&mut self, partition: Arc<Partition>) -> Result<(), SystemError> { in update()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | core.rs | 171 let partiton: Arc<crate::io::disk_info::Partition> = in mount_root_fs()
|