Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs55 pub struct Cluster { struct
60 impl PartialOrd for Cluster { argument
67 impl PartialEq for Cluster { implementation
74 impl Eq for Cluster {} implementation
413 pub fn get_fat_entry(&self, cluster: Cluster) -> Result<FATEntry, SystemError> { in get_fat_entry()
458 FATEntry::Next(Cluster { in get_fat_entry()
474 FATEntry::Next(Cluster { in get_fat_entry()
492 _n => FATEntry::Next(Cluster { in get_fat_entry()
508 pub fn get_fat_entry_raw(&self, cluster: Cluster) -> Result<u64, SystemError> { in get_fat_entry_raw()
588 pub fn cluster_bytes_offset(&self, cluster: Cluster) -> u64 { in cluster_bytes_offset()
[all …]
H A Dentry.rs17 fs::{Cluster, FATFileSystem, MAX_FILE_SIZE},
36 Next(Cluster),
52 pub first_cluster: Cluster,
58 pub loc: ((Cluster, u64), (Cluster, u64)),
167 let mut current_cluster: Cluster = if let Some(c) = in write()
250 assert_eq!(self.first_cluster, Cluster::default()); in ensure_len()
268 let mut current_cluster: Cluster = last_cluster; in ensure_len()
278 let start_cluster: Cluster = fs in ensure_len()
289 let end_cluster: Cluster = fs in ensure_len()
350 self.short_dir_entry.set_first_cluster(Cluster::new(0)); in truncate()
[all …]
H A Dbpb.rs11 use super::fs::{Cluster, FATFileSystem};
165 cluster: Cluster, in get_fat_bytes_offset() argument