Home
last modified time | relevance | path

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

/xen/tools/libfsimage/fat/
A Dfsys_fat.c59 struct fat_bpb bpb; in fat_mount() local
63 if (! devread (ffi, 0, 0, sizeof (bpb), (char *) &bpb)) in fat_mount()
68 if (bpb.sects_per_clust == 0) in fat_mount()
77 ? FAT_CVT_U16 (bpb.short_sectors) : bpb.long_sectors; in fat_mount()
82 bpb.fat_length ? bpb.fat_length : bpb.fat32_length; in fat_mount()
95 / bpb.sects_per_clust); in fat_mount()
98 if (!bpb.fat_length) in fat_mount()
101 if (FAT_CVT_U16(bpb.dir_entries)) in fat_mount()
104 if (bpb.flags & 0x0080) in fat_mount()
107 int active_fat = bpb.flags & 0x000f; in fat_mount()
[all …]

Completed in 2 milliseconds