Home
last modified time | relevance | path

Searched refs:Cluster (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dfs.rs44 pub struct Cluster { struct
49 impl PartialOrd for Cluster { argument
56 impl PartialEq for Cluster { implementation
63 impl Eq for Cluster {} implementation
361 pub fn get_fat_entry(&self, cluster: Cluster) -> Result<FATEntry, SystemError> { in get_fat_entry()
410 FATEntry::Next(Cluster { in get_fat_entry()
426 FATEntry::Next(Cluster { in get_fat_entry()
444 _n => FATEntry::Next(Cluster { in get_fat_entry()
460 pub fn get_fat_entry_raw(&self, cluster: Cluster) -> Result<u64, SystemError> { in get_fat_entry_raw()
543 pub fn cluster_bytes_offset(&self, cluster: Cluster) -> u64 { in cluster_bytes_offset()
[all …]
Dentry.rs17 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()
355 self.short_dir_entry.set_first_cluster(Cluster::new(0)); in truncate()
[all …]
Dbpb.rs11 use super::fs::{Cluster, FATFileSystem};
165 cluster: Cluster, in get_fat_bytes_offset() argument