Searched refs:bytes_per_sec (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.9/kernel/src/filesystem/fat/ |
D | bpb.rs | 167 bytes_per_sec: u64, in get_fat_bytes_offset() 176 let fat_sec_number = fat_start_sector + (fat_bytes_offset / bytes_per_sec); in get_fat_bytes_offset() 177 let fat_ent_offset = fat_bytes_offset % bytes_per_sec; in get_fat_bytes_offset() 178 return fat_sec_number * bytes_per_sec + fat_ent_offset; in get_fat_bytes_offset()
|
D | fs.rs | 371 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry() localVariable 375 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry() 466 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry_raw() localVariable 470 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry_raw() 935 let bytes_per_sec: u64 = self.bpb.bytes_per_sector as u64; in get_free_cluster() localVariable 940 fat_type.get_fat_bytes_offset(start_cluster, fat_start_sector, bytes_per_sec); in get_free_cluster() 987 bytes_per_sec, in get_free_cluster() 1019 bytes_per_sec, in get_free_cluster() 1220 bytes_per_sec: usize, in new() 1223 v.resize(bytes_per_sec, 0); in new()
|