Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dfs.rs368 .read_at(fat_ent_lba as usize, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry()
462 .read_at(fat_ent_lba, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry_raw()
701 pub fn lba_per_sector(&self) -> usize { in lba_per_sector() method
973 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
976 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster()
1005 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
1008 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster()
Dentry.rs1073 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush()
1076 .read_at(lba, 1 * fs.lba_per_sector(), &mut v)?; in flush()
1105 .write_at(lba, 1 * fs.lba_per_sector(), cursor.as_slice())?; in flush()
1283 v.resize(1 * fs.lba_per_sector() * LBA_SIZE, 0); in flush()
1286 .read_at(lba, 1 * fs.lba_per_sector(), &mut v)?; in flush()
1307 .write_at(lba, 1 * fs.lba_per_sector(), cursor.as_slice())?; in flush()