Searched refs:FATType (Results 1 – 2 of 2) sorted by relevance
59 pub fat_type: FATType,66 pub enum FATType { enum148 impl Default for FATType { implementation150 return FATType::FAT32(BiosParameterBlockFAT32::default()); in default()154 impl FATType { impl172 FATType::FAT12(_) => current_cluster + (current_cluster / 2), in get_fat_bytes_offset()173 FATType::FAT16(_) => current_cluster * 2, in get_fat_bytes_offset()174 FATType::FAT32(_) => current_cluster * 4, in get_fat_bytes_offset()298 FATType::FAT12(BiosParameterBlockLegacy::default()) in new()300 FATType::FAT16(BiosParameterBlockLegacy::default()) in new()[all …]
28 bpb::{BiosParameterBlock, FATType},183 blocks: if let FATType::FAT32(_) = fs.bpb.fat_type { in new()257 FATType::FAT32(bpb32) => { in new()279 FATType::FAT32(x) => x.fat_size_32 as u64, in new()302 blocks: if let FATType::FAT32(_) = bpb.fat_type { in new()358 let fat_type: FATType = self.bpb.fat_type; in get_fat_entry()384 FATType::FAT12(_) => { in get_fat_entry()406 FATType::FAT16(_) => { in get_fat_entry()422 FATType::FAT32(_) => { in get_fat_entry()453 let fat_type: FATType = self.bpb.fat_type; in get_fat_entry_raw()[all …]