Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dbpb.rs277 let fat_size = if bpb.fat_size_16 != 0 { in new() localVariable
292 - ((bpb.rsvd_sec_cnt as u32) + (bpb.num_fats as u32) * fat_size + root_sectors); in new()
343 let fat_size = match self.fat_type { in validate() localVariable
366 (self.rsvd_sec_cnt as u32) + (self.num_fats as u32) * fat_size + root_sectors; in validate()
Dfs.rs275 let fat_size = if bpb.fat_size_16 != 0 { in new() localVariable
288 bpb.rsvd_sec_cnt as u64 + (bpb.num_fats as u64 * fat_size) + root_dir_sectors; in new()
652 let fat_size = self.fat_size(); in fat_start_sector() localVariable
653 return self.bpb.rsvd_sec_cnt as u64 + active_fat * fat_size; in fat_start_sector()
673 pub fn fat_size(&self) -> u64 { in fat_size() method
1109 let fat_size: u64 = self.fat_size(); in set_entry() localVariable
1118 let f_offset: u64 = fat_part_bytes_offset + i * fat_size; in set_entry()