Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dbpb.rs241 let fat_size = if bpb.fat_size_16 != 0 { in new() localVariable
256 - ((bpb.rsvd_sec_cnt as u32) + (bpb.num_fats as u32) * fat_size + root_sectors); in new()
328 let fat_size = if self.fat_size_16 != 0 { in validate() localVariable
342 (self.rsvd_sec_cnt as u32) + (self.num_fats as u32) * fat_size + root_sectors; in validate()
Dfs.rs269 let fat_size = if bpb.fat_size_16 != 0 { in new() localVariable
282 bpb.rsvd_sec_cnt as u64 + (bpb.num_fats as u64 * fat_size) + root_dir_sectors; in new()
642 let fat_size = self.fat_size(); in fat_start_sector() localVariable
643 return self.bpb.rsvd_sec_cnt as u64 + active_fat * fat_size; in fat_start_sector()
663 pub fn fat_size(&self) -> u64 { in fat_size() method
1099 let fat_size: u64 = self.fat_size(); in set_entry() localVariable
1108 let f_offset: u64 = fat_part_bytes_offset + i * fat_size; in set_entry()