Searched refs:gendisk_lba_from_offset (Results 1 – 2 of 2) sorted by relevance
520 let fat_ent_lba = self.gendisk_lba_from_offset(self.bytes_to_sector(fat_bytes_offset)); in get_fat_entry_raw()561 return (self.gendisk_lba_from_offset(first_sec_cluster) * LBA_SIZE) as u64; in root_dir_bytes_offset()566 return (self.gendisk_lba_from_offset(root_sec) * LBA_SIZE) as u64; in root_dir_bytes_offset()754 pub fn gendisk_lba_from_offset(&self, in_partition_sec_offset: u64) -> usize { in gendisk_lba_from_offset() method976 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster()1023 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster()1052 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster()1098 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry()1130 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry()1155 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(f_offset)); in set_entry()
1137 let lba = fs.gendisk_lba_from_offset(fs.bytes_to_sector(gendisk_bytes_offset)); in flush()1350 let lba = fs.gendisk_lba_from_offset(fs.bytes_to_sector(gendisk_bytes_offset)); in flush()2398 let lba = fs.gendisk_lba_from_offset(fs.bytes_to_sector(gendisk_bytes_offset)); in get_raw_dir_entry()