Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/filesystem/fat/
Dbpb.rs251 let mut bpb32 = BiosParameterBlockFAT32::default(); in new() localVariable
252 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 …]
Dfs.rs257 FATType::FAT32(bpb32) => { in new()
259 + bpb32.fs_info as u64 * bpb.bytes_per_sector as u64; in new()
658 FATType::FAT32(bpb32) => { in active_fat()
659 return (bpb32.ext_flags & 0x0f) as u64; in active_fat()
674 FATType::FAT32(bpb32) => { in fat_size()
675 return bpb32.fat_size_32 as u64; in fat_size()
688 FATType::FAT32(bpb32) => { in mirroring_enabled()
689 return (bpb32.ext_flags & 0x80) == 0; in mirroring_enabled()