Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dbpb.rs272 let fat_size = if bpb.fat_size_16 != 0 { in new() localVariable
287 - ((bpb.rsvd_sec_cnt as u32) + (bpb.num_fats as u32) * fat_size + root_sectors); in new()
338 let fat_size = match self.fat_type { in validate() localVariable
360 (self.rsvd_sec_cnt as u32) + (self.num_fats as u32) * fat_size + root_sectors; in validate()
H A Dfs.rs333 let fat_size = if bpb.fat_size_16 != 0 { in new() localVariable
346 bpb.rsvd_sec_cnt as u64 + (bpb.num_fats as u64 * fat_size) + root_dir_sectors; in new()
703 let fat_size = self.fat_size(); in fat_start_sector() localVariable
704 return self.bpb.rsvd_sec_cnt as u64 + active_fat * fat_size; in fat_start_sector()
724 pub fn fat_size(&self) -> u64 { in fat_size() method
1144 let fat_size: u64 = self.fat_size(); in set_entry() localVariable
1153 let f_offset: u64 = fat_part_bytes_offset + i * fat_size; in set_entry()