Searched refs:lba (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/src/driver/base/block/ |
H A D | gendisk.rs | 61 let lba = self.block_offset_2_disk_blkid(start_block_offset); in read_at() localVariable 63 return self.block_device().read_at(lba, blocks, buf); in read_at() 118 let lba = self.block_offset_2_disk_blkid(start_block_offset); in write_at() localVariable 119 return self.block_device().write_at(lba, blocks, buf); in write_at()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 976 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster() localVariable 981 self.gendisk.read_at(&mut v, lba)?; in get_free_cluster() 1023 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster() localVariable 1026 self.gendisk.read_at(&mut v, lba)?; in get_free_cluster() 1052 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster() localVariable 1055 self.gendisk.read_at(&mut v, lba)?; in get_free_cluster() 1098 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry() localVariable 1101 self.gendisk.read_at(&mut v, lba)?; in set_entry() 1116 self.gendisk.write_at(cursor.as_slice(), lba)?; in set_entry() 1130 let lba = self.gendisk_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry() localVariable [all …]
|
H A D | entry.rs | 1137 let lba = fs.gendisk_lba_from_offset(fs.bytes_to_sector(gendisk_bytes_offset)); in flush() localVariable 1139 fs.gendisk.read_at(&mut v, lba)?; in flush() 1166 fs.gendisk.write_at(cursor.as_slice(), lba)?; in flush() 1350 let lba = fs.gendisk_lba_from_offset(fs.bytes_to_sector(gendisk_bytes_offset)); in flush() localVariable 1352 fs.gendisk.read_at(&mut v, lba)?; in flush() 1371 fs.gendisk.write_at(cursor.as_slice(), lba)?; in flush() 2398 let lba = fs.gendisk_lba_from_offset(fs.bytes_to_sector(gendisk_bytes_offset)); in get_raw_dir_entry() localVariable 2402 fs.gendisk.read_at(&mut v, lba)?; in get_raw_dir_entry()
|