Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/io/
Ddisk_info.rs14 pub struct Partition { struct
26 impl Partition { argument
35 return Arc::new(Partition { in new()
Ddevice.rs6 use super::disk_info::Partition;
103 fn partitions(&self) -> Vec<Arc<Partition>>; in partitions() argument
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs5 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/
Dbpb.rs5 io::{device::LBA_SIZE, disk_info::Partition, SeekFrom},
222 pub fn new(partition: Arc<Partition>) -> Result<BiosParameterBlock, SystemError> { in new()
Dfs.rs17 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/
Dcore.rs171 let partiton: Arc<crate::io::disk_info::Partition> = in mount_root_fs()