Searched refs:bpb32 (Results 1 – 2 of 2) sorted by relevance
251 let mut bpb32 = BiosParameterBlockFAT32::default(); in new() localVariable252 bpb32.fat_size_32 = cursor.read_u32()?; in new()253 bpb32.ext_flags = cursor.read_u16()?; in new()254 bpb32.fs_version = cursor.read_u16()?; in new()255 bpb32.root_cluster = cursor.read_u32()?; in new()256 bpb32.fs_info = cursor.read_u16()?; in new()257 bpb32.backup_boot_sec = cursor.read_u16()?; in new()259 cursor.read_exact(&mut bpb32.reserved0)?; in new()260 bpb32.drive_num = cursor.read_u8()?; in new()261 bpb32.reserved1 = cursor.read_u8()?; in new()[all …]
266 FATType::FAT32(bpb32) => { in new()268 + bpb32.fs_info as u64 * bpb.bytes_per_sector as u64; in new()672 FATType::FAT32(bpb32) => { in active_fat()673 return (bpb32.ext_flags & 0x0f) as u64; in active_fat()688 FATType::FAT32(bpb32) => { in fat_size()689 return bpb32.fat_size_32 as u64; in fat_size()702 FATType::FAT32(bpb32) => { in mirroring_enabled()703 return (bpb32.ext_flags & 0x80) == 0; in mirroring_enabled()