Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dbpb.rs167 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 Dfs.rs423 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry() localVariable
427 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry()
514 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry_raw() localVariable
518 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry_raw()
970 let bytes_per_sec: u64 = self.bpb.bytes_per_sector as u64; in get_free_cluster() localVariable
975 fat_type.get_fat_bytes_offset(start_cluster, fat_start_sector, bytes_per_sec); in get_free_cluster()
1021 bytes_per_sec, in get_free_cluster()
1050 bytes_per_sec, in get_free_cluster()
1244 bytes_per_sec: usize, in new()
1246 let mut v = vec![0; bytes_per_sec]; in new()