Lines Matching refs:bytes_per_sector
182 blk_size: fs.bpb.bytes_per_sector as usize, in new()
259 + bpb32.fs_info as u64 * bpb.bytes_per_sector as u64; in new()
263 bpb.bytes_per_sector as usize, in new()
271 + (bpb.bytes_per_sector as u64 - 1)) in new()
272 / (bpb.bytes_per_sector as u64); in new()
301 blk_size: bpb.bytes_per_sector as usize, in new()
342 return (self.bpb.bytes_per_sector as u64) * (self.bpb.sector_per_cluster as u64); in bytes_per_cluster()
361 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry()
375 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry()
456 let bytes_per_sec = self.bpb.bytes_per_sector as u64; in get_fat_entry_raw()
469 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry_raw()
705 + in_partition_sec_offset * (self.bpb.bytes_per_sector as u64 / LBA_SIZE as u64)) in get_lba_from_offset()
712 return self.bpb.bytes_per_sector as usize / LBA_SIZE; in lba_per_sector()
718 return in_partition_bytes_offset / (self.bpb.bytes_per_sector as u64); in bytes_to_sector()
893 + self.bpb.bytes_per_sector as u64 in max_cluster_number()
895 / self.bpb.bytes_per_sector as u64; in max_cluster_number()
924 let bytes_per_sec: u64 = self.bpb.bytes_per_sector as u64; in get_free_cluster()
1046 self.bpb.bytes_per_sector as u64, in set_entry()