Searched refs:bytes_per_sec (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.5/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 | 351 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry() localVariable 355 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry() 446 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry_raw() localVariable 450 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry_raw() 914 let bytes_per_sec: u64 = self.bpb.bytes_per_sector as u64; in get_free_cluster() localVariable 919 fat_type.get_fat_bytes_offset(start_cluster, fat_start_sector, bytes_per_sec); in get_free_cluster() 966 bytes_per_sec, in get_free_cluster() 998 bytes_per_sec, in get_free_cluster() 1199 bytes_per_sec: usize, in new() 1202 v.resize(bytes_per_sec, 0); in new()
|