Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/filesystem/fat/
Dbpb.rs26 pub sector_per_cluster: u8, field
239 bpb.sector_per_cluster = cursor.read_u8()?; in new()
294 let count_clusters = data_sectors / (bpb.sector_per_cluster as u32); in new()
Dfs.rs342 return (self.bpb.bytes_per_sector as u64) * (self.bpb.sector_per_cluster as u64); in bytes_per_cluster()
501 * (self.bpb.sector_per_cluster as u64) in root_dir_bytes_offset()
533 * (self.bpb.sector_per_cluster as u64) in cluster_bytes_offset()
880 let total_clusters: u64 = data_sec / self.bpb.sector_per_cluster as u64; in max_cluster_number()
897 let total_clusters = data_sec / self.bpb.sector_per_cluster as u64; in max_cluster_number()