Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs463 let fat_ent_lba = self.get_lba_from_offset(self.bytes_to_sector(fat_bytes_offset)); in get_fat_entry_raw()
507 return (self.get_lba_from_offset(first_sec_cluster) * LBA_SIZE) as u64; in root_dir_bytes_offset()
512 return (self.get_lba_from_offset(root_sec) * LBA_SIZE) as u64; in root_dir_bytes_offset()
539 return (self.get_lba_from_offset(first_sec_of_cluster) * LBA_SIZE) as u64; in cluster_bytes_offset()
703 pub fn get_lba_from_offset(&self, in_partition_sec_offset: u64) -> usize { in get_lba_from_offset() method
932 let lba = self.get_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster()
980 let lba = self.get_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster()
1012 let lba = self.get_lba_from_offset(self.bytes_to_sector(part_bytes_offset)); in get_free_cluster()
1061 let lba = self.get_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry()
1094 let lba = self.get_lba_from_offset(self.bytes_to_sector(fat_part_bytes_offset)); in set_entry()
[all …]
Dentry.rs1089 let lba = fs.get_lba_from_offset( in flush()
1303 let lba = fs.get_lba_from_offset( in flush()
2362 let lba = fs.get_lba_from_offset( in get_raw_dir_entry()