Home
last modified time | relevance | path

Searched refs:count_clusters (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dbpb.rs258 let count_clusters = data_sectors / (bpb.sector_per_cluster as u32); in new() localVariable
261 bpb.fat_type = if count_clusters < 4085 { in new()
263 } else if count_clusters < 65525 { in new()
347 let count_clusters = data_sectors / (self.sector_per_cluster as u32); in validate() localVariable
356 if (is_fat32 && (count_clusters < 65525)) || ((!is_fat32) && (count_clusters >= 65525)) { in validate()
Dfs.rs1243 let count_clusters = max_cluster.cluster_num - RESERVED_CLUSTERS as u64 + 1; in count_free_cluster() localVariable
1245 if self.free_count as u64 > count_clusters { in count_free_cluster()