Searched refs:get_lba_from_offset (Results 1 – 2 of 2) sorted by relevance
453 let fat_ent_lba = self.get_lba_from_offset(self.bytes_to_sector(fat_bytes_offset)); in get_fat_entry_raw()497 return (self.get_lba_from_offset(first_sec_cluster) * LBA_SIZE) as u64; in root_dir_bytes_offset()502 return (self.get_lba_from_offset(root_sec) * LBA_SIZE) as u64; in root_dir_bytes_offset()529 return (self.get_lba_from_offset(first_sec_of_cluster) * LBA_SIZE) as u64; in cluster_bytes_offset()693 pub fn get_lba_from_offset(&self, in_partition_sec_offset: u64) -> usize { in get_lba_from_offset() method922 let lba = self.get_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster()970 let lba = self.get_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster()1002 let lba = self.get_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster()1051 let lba = self.get_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry()1084 let lba = self.get_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry()[all …]
1069 let lba = fs.get_lba_from_offset( in flush()1279 let lba = fs.get_lba_from_offset( in flush()2334 let lba = fs.get_lba_from_offset( in get_raw_dir_entry()