Searched refs:lba_per_sector (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 378 .read_at(fat_ent_lba as usize, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry() 472 .read_at(fat_ent_lba, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry_raw() 711 pub fn lba_per_sector(&self) -> usize { in lba_per_sector() method 983 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster() 986 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster() 1015 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster() 1018 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster()
|
D | entry.rs | 1093 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush() 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() 1307 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush() 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()
|