Searched refs:disk_bytes_offset (Results 1 – 2 of 2) sorted by relevance
831 let disk_bytes_offset = fs.cluster_bytes_offset(off.0) + off.1; in remove_dir_entries() localVariable834 short_entry.flush(&fs, disk_bytes_offset)?; in remove_dir_entries()1086 pub fn flush(&self, fs: Arc<FATFileSystem>, disk_bytes_offset: u64) -> Result<(), SystemError> { in flush()1088 let blk_offset = fs.get_in_block_offset(disk_bytes_offset); in flush()1090 fs.bytes_to_sector(fs.get_in_partition_bytes_offset(disk_bytes_offset)), in flush()1299 disk_bytes_offset: u64, in flush()1302 let blk_offset = fs.get_in_block_offset(disk_bytes_offset); in flush()1304 fs.bytes_to_sector(fs.get_in_partition_bytes_offset(disk_bytes_offset)), in flush()
723 pub fn get_in_partition_bytes_offset(&self, disk_bytes_offset: u64) -> u64 { in get_in_partition_bytes_offset()724 return disk_bytes_offset - (self.partition.lba_start * LBA_SIZE as u64); in get_in_partition_bytes_offset()