Home
last modified time | relevance | path

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

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_fat.c88 FAT_SUPER->sectsize_bits = log2 (FAT_CVT_U16 (bpb.bytes_per_sect)); in fat_mount()
93 FAT_SUPER->num_sectors = FAT_CVT_U16 (bpb.short_sectors) in fat_mount()
94 ? FAT_CVT_U16 (bpb.short_sectors) : bpb.long_sectors; in fat_mount()
97 FAT_SUPER->fat_offset = FAT_CVT_U16 (bpb.reserved_sects); in fat_mount()
104 FAT_SUPER->root_max = FAT_DIRENTRY_LENGTH * FAT_CVT_U16(bpb.dir_entries); in fat_mount()
118 if (FAT_CVT_U16(bpb.dir_entries)) in fat_mount()
156 if (FAT_CVT_U16(bpb.bytes_per_sect) != (1 << FAT_SUPER->sectsize_bits) in fat_mount()
157 || FAT_CVT_U16(bpb.bytes_per_sect) != SECTOR_SIZE in fat_mount()
H A Dfat.h63 #define FAT_CVT_U16(bytarr) (* (__u16*)(bytarr)) macro
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog5429 (FAT_CVT_U16): New macro.