Searched refs:Cluster (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 39 pub struct Cluster { struct 44 impl PartialOrd for Cluster { implementation 51 impl PartialEq for Cluster { implementation 58 impl Eq for Cluster {} implementation 351 pub fn get_fat_entry(&self, cluster: Cluster) -> Result<FATEntry, SystemError> { in get_fat_entry() 400 FATEntry::Next(Cluster { in get_fat_entry() 416 FATEntry::Next(Cluster { in get_fat_entry() 434 _n => FATEntry::Next(Cluster { in get_fat_entry() 450 pub fn get_fat_entry_raw(&self, cluster: Cluster) -> Result<u64, SystemError> { in get_fat_entry_raw() 533 pub fn cluster_bytes_offset(&self, cluster: Cluster) -> u64 { in cluster_bytes_offset() [all …]
|
D | entry.rs | 17 fs::{Cluster, FATFileSystem, MAX_FILE_SIZE}, 36 Next(Cluster), 52 pub first_cluster: Cluster, 58 pub loc: ((Cluster, u64), (Cluster, u64)), 169 let mut current_cluster: Cluster = if let Some(c) = in write() 254 assert_eq!(self.first_cluster, Cluster::default()); in ensure_len() 272 let mut current_cluster: Cluster = last_cluster; in ensure_len() 282 let start_cluster: Cluster = fs in ensure_len() 293 let end_cluster: Cluster = fs in ensure_len() 357 self.short_dir_entry.set_first_cluster(Cluster::new(0)); in truncate() [all …]
|
D | bpb.rs | 11 use super::fs::{Cluster, FATFileSystem}; 165 cluster: Cluster, in get_fat_bytes_offset() argument
|