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

/opensolaris-onvv-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));
93 FAT_SUPER->num_sectors = FAT_CVT_U16 (bpb.short_sectors)
94 ? FAT_CVT_U16 (bpb.short_sectors) : bpb.long_sectors;
97 FAT_SUPER->fat_offset = FAT_CVT_U16 (bpb.reserved_sects);
104 FAT_SUPER->root_max = FAT_DIRENTRY_LENGTH * FAT_CVT_U16(bpb.dir_entries);
118 if (FAT_CVT_U16(bpb.dir_entries))
156 if (FAT_CVT_U16(bpb.bytes_per_sect) != (1 << FAT_SUPER->sectsize_bits)
157 || FAT_CVT_U16(bpb.bytes_per_sect) != SECTOR_SIZE
H A Dfat.h63 #define FAT_CVT_U16(bytarr) (* (__u16*)(bytarr)) macro

Completed in 100 milliseconds