Lines Matching refs:lba

932                 let lba = self.get_lba_from_offset(self.bytes_to_sector(part_bytes_offset));  in get_free_cluster()  localVariable
938 self.partition.disk().read_at(lba, num_lba, &mut v)?; in get_free_cluster()
980 let lba = self.get_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster() localVariable
986 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster()
1012 let lba = self.get_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster() localVariable
1018 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster()
1061 let lba = self.get_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry() localVariable
1065 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry()
1080 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry()
1094 let lba = self.get_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry() localVariable
1098 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry()
1104 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry()
1120 let lba = self.get_lba_from_offset(self.bytes_to_sector(f_offset)); in set_entry() localVariable
1125 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry()
1160 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry()
1305 let lba = off as usize / LBA_SIZE; in flush() localVariable
1309 partition.disk().read_at(lba, 1, &mut v)?; in flush()
1322 partition.disk().write_at(lba, 1, cursor.as_slice())?; in flush()
1334 let lba = off as usize / LBA_SIZE; in update() localVariable
1338 partition.disk().read_at(lba, 1, &mut v)?; in update()