Searched refs:bytes_per_sec (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/filesystem/fat/ |
H A 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()
|
H A D | fs.rs | 422 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry() localVariable 426 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry() 513 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry_raw() localVariable 517 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry_raw() 968 let bytes_per_sec: u64 = self.bpb.bytes_per_sector as u64; in get_free_cluster() localVariable 973 fat_type.get_fat_bytes_offset(start_cluster, fat_start_sector, bytes_per_sec); in get_free_cluster() 1019 bytes_per_sec, in get_free_cluster() 1048 bytes_per_sec, in get_free_cluster() 1242 bytes_per_sec: usize, in new() 1244 let mut v = vec![0; bytes_per_sec]; in new()
|