Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/filesystem/fat/
Dbpb.rs29 pub rsvd_sec_cnt: u16, field
240 bpb.rsvd_sec_cnt = cursor.read_u16()?; in new()
292 - ((bpb.rsvd_sec_cnt as u32) + (bpb.num_fats as u32) * fat_size + root_sectors); in new()
328 if self.rsvd_sec_cnt < 1 { 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()
506 let root_sec = (self.bpb.rsvd_sec_cnt as u64) in root_dir_bytes_offset()
649 return self.bpb.rsvd_sec_cnt as u64 + active_fat * fat_size; in fat_start_sector()
876 - (self.bpb.rsvd_sec_cnt as u64 in max_cluster_number()
894 - (self.bpb.rsvd_sec_cnt as u64 in max_cluster_number()