Searched refs:FAT_SUPER (Results 1 – 2 of 2) sorted by relevance
50 #define FAT_SUPER ( (struct fat_superblock *) \ macro88 FAT_SUPER->sectsize_bits = log2 (FAT_CVT_U16 (bpb.bytes_per_sect)); in fat_mount()89 FAT_SUPER->clustsize_bits in fat_mount()90 = FAT_SUPER->sectsize_bits + log2 (bpb.sects_per_clust); in fat_mount()93 FAT_SUPER->num_sectors = FAT_CVT_U16 (bpb.short_sectors) in fat_mount()97 FAT_SUPER->fat_offset = FAT_CVT_U16 (bpb.reserved_sects); in fat_mount()98 FAT_SUPER->fat_length = in fat_mount()102 FAT_SUPER->root_offset = in fat_mount()103 FAT_SUPER->fat_offset + bpb.num_fats * FAT_SUPER->fat_length; in fat_mount()104 FAT_SUPER->root_max = FAT_DIRENTRY_LENGTH * FAT_CVT_U16(bpb.dir_entries); in fat_mount()[all …]
5440 (FAT_SUPER): New Macro.5442 (fat_mount): Use fat_bpb structure, fill FAT_SUPER.5443 (fat_read, fat_dir): Use FAT_SUPER info.