Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dbpb.rs32 pub num_fats: u8, field
241 bpb.num_fats = cursor.read_u8()?; in new()
292 - ((bpb.rsvd_sec_cnt as u32) + (bpb.num_fats as u32) * fat_size + root_sectors); in new()
333 if self.num_fats == 0 { in validate()
366 (self.rsvd_sec_cnt as u32) + (self.num_fats as u32) * fat_size + root_sectors; in validate()
Dfs.rs288 bpb.rsvd_sec_cnt as u64 + (bpb.num_fats as u64 * fat_size) + root_dir_sectors; in new()
511 + (self.bpb.num_fats as u64) * (self.bpb.fat_size_16 as u64); in root_dir_bytes_offset()
881 + self.bpb.num_fats as u64 * s.fat_size_32 as u64); in max_cluster_number()
899 + (self.bpb.num_fats as u64 * self.bpb.fat_size_16 as u64) in max_cluster_number()
1113 self.bpb.num_fats as u64 in set_entry()