Home
last modified time | relevance | path

Searched refs:lba (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs932 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
[all …]
Dentry.rs1089 let lba = fs.get_lba_from_offset( in flush() localVariable
1096 .read_at(lba, 1 * fs.lba_per_sector(), &mut v)?; in flush()
1125 .write_at(lba, 1 * fs.lba_per_sector(), cursor.as_slice())?; in flush()
1303 let lba = fs.get_lba_from_offset( in flush() localVariable
1310 .read_at(lba, 1 * fs.lba_per_sector(), &mut v)?; in flush()
1331 .write_at(lba, 1 * fs.lba_per_sector(), cursor.as_slice())?; in flush()
2362 let lba = fs.get_lba_from_offset( in get_raw_dir_entry() localVariable
2373 fs.partition.disk().read_at(lba, 1, &mut v)?; in get_raw_dir_entry()