Searched refs:FAT_CVT_U16 (Results 1 – 2 of 2) sorted by relevance
71 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()
62 #define FAT_CVT_U16(bytarr) (* (__u16*)(bytarr)) macro
Completed in 3 milliseconds