Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs39 pub struct Cluster { struct
44 impl PartialOrd for Cluster { implementation
51 impl PartialEq for Cluster { implementation
58 impl Eq for Cluster {} implementation
551 pub fn allocate_cluster(&self, prev_cluster: Option<Cluster>) -> Result<Cluster, SystemError> { in allocate_cluster()
736 pub fn clusters(&self, start_cluster: Cluster) -> Vec<Cluster> { in clusters()
760 pub fn get_cluster_by_relative(&self, start_cluster: Cluster, n: usize) -> Option<Cluster> { in get_cluster_by_relative()
766 pub fn get_last_cluster(&self, start_cluster: Cluster) -> Option<Cluster> { in get_last_cluster()
873 pub fn max_cluster_number(&self) -> Cluster { in max_cluster_number()
916 start_cluster: Cluster, in get_free_cluster()
[all …]
Dentry.rs419 ) -> Result<Option<(Cluster, u64)>, SystemError> { in find_free_entries()
823 cluster_range: ((Cluster, u64), (Cluster, u64)), in remove_dir_entries()
1205 pub fn to_dir_entry(&self, loc: (Cluster, u64)) -> FATDirEntry { in to_dir_entry()
1247 loc: ((Cluster, u64), (Cluster, u64)), in to_dir_entry_with_long_name()
1338 pub fn set_first_cluster(&mut self, cluster: Cluster) { in set_first_cluster()
1416 fn get_dir_entry(&mut self) -> Result<(Cluster, u64, Option<FATDirEntry>), SystemError> { in get_dir_entry()
1590 loc: ((Cluster, u64), (Cluster, u64)), in new()
1665 pub fn first_cluster(&self) -> Cluster { in first_cluster()
1683 pub fn get_dir_range(&self) -> Option<((Cluster, u64), (Cluster, u64))> { in get_dir_range()
2301 start: (Cluster, u64), in new()
[all …]
Dbpb.rs165 cluster: Cluster, in get_fat_bytes_offset()