Searched refs:FAT_CVT_U16 (Results 1 – 3 of 3) sorted by relevance
88 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()
63 #define FAT_CVT_U16(bytarr) (* (__u16*)(bytarr)) macro
5429 (FAT_CVT_U16): New macro.