Home
last modified time | relevance | path

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

/xen/tools/libfsimage/fat/
A Dfsys_fat.c71 FAT_SUPER->sectsize_bits = log2 (FAT_CVT_U16 (bpb.bytes_per_sect)); in fat_mount()
76 FAT_SUPER->num_sectors = FAT_CVT_U16 (bpb.short_sectors) in fat_mount()
77 ? FAT_CVT_U16 (bpb.short_sectors) : bpb.long_sectors; in fat_mount()
80 FAT_SUPER->fat_offset = FAT_CVT_U16 (bpb.reserved_sects); in fat_mount()
87 FAT_SUPER->root_max = FAT_DIRENTRY_LENGTH * FAT_CVT_U16(bpb.dir_entries); in fat_mount()
101 if (FAT_CVT_U16(bpb.dir_entries)) in fat_mount()
139 if (FAT_CVT_U16(bpb.bytes_per_sect) != (1 << FAT_SUPER->sectsize_bits) in fat_mount()
140 || FAT_CVT_U16(bpb.bytes_per_sect) != SECTOR_SIZE in fat_mount()
A Dfat.h62 #define FAT_CVT_U16(bytarr) (* (__u16*)(bytarr)) macro

Completed in 3 milliseconds