Home
last modified time | relevance | path

Searched defs: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
605 pub fn allocate_cluster(&self, prev_cluster: Option<Cluster>) -> Result<Cluster, SystemError> { in allocate_cluster()
780 pub fn clusters(&self, start_cluster: Cluster) -> Vec<Cluster> { in clusters()
804 pub fn get_cluster_by_relative(&self, start_cluster: Cluster, n: usize) -> Option<Cluster> { in get_cluster_by_relative()
810 pub fn get_last_cluster(&self, start_cluster: Cluster) -> Option<Cluster> { in get_last_cluster()
919 pub fn max_cluster_number(&self) -> Cluster { in max_cluster_number()
960 start_cluster: Cluster, in get_free_cluster()
[all …]
H A Dentry.rs411 ) -> Result<Option<(Cluster, u64)>, SystemError> { in find_free_entries()
815 cluster_range: ((Cluster, u64), (Cluster, u64)), in remove_dir_entries()
1247 pub fn convert_to_dir_entry(&self, loc: (Cluster, u64)) -> FATDirEntry { in convert_to_dir_entry()
1290 loc: ((Cluster, u64), (Cluster, u64)), in convert_to_dir_entry_with_long_name()
1379 pub fn set_first_cluster(&mut self, cluster: Cluster) { in set_first_cluster()
1457 fn get_dir_entry(&mut self) -> Result<(Cluster, u64, Option<FATDirEntry>), SystemError> { in get_dir_entry()
1631 loc: ((Cluster, u64), (Cluster, u64)), in new()
1708 pub fn first_cluster(&self) -> Cluster { in first_cluster()
1726 pub fn get_dir_range(&self) -> Option<((Cluster, u64), (Cluster, u64))> { in get_dir_range()
2337 start: (Cluster, u64), in new()
[all …]
H A Dbpb.rs165 cluster: Cluster, in get_fat_bytes_offset()