Home
last modified time | relevance | path

Searched refs:fat_bits (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dmsdos_fs.h47 #define FAT_FIRST_ENT(s, x) ((MSDOS_SB(s)->fat_bits == 32 ? 0x0FFFFF00 : \
48 MSDOS_SB(s)->fat_bits == 16 ? 0xFF00 : 0xF00) | (x))
53 #define MAX_FAT(s) (MSDOS_SB(s)->fat_bits == 32 ? MAX_FAT32 : \
54 MSDOS_SB(s)->fat_bits == 16 ? MAX_FAT16 : MAX_FAT12)
/kernel/linux/linux-5.10/fs/fat/
Dfat.h67 unsigned char fats, fat_bits; /* number of FATs, FAT bits (12,16 or 32) */ member
151 return sbi->fat_bits == 12; in is_fat12()
156 return sbi->fat_bits == 16; in is_fat16()
161 return sbi->fat_bits == 32; in is_fat32()
Dinode.c1423 unsigned long ent_per_sec = sb->s_blocksize * 8 / sbi->fat_bits; in calc_fat_clusters()
1427 return sbi->fat_length * sb->s_blocksize * 8 / sbi->fat_bits; in calc_fat_clusters()
1701 sbi->fat_bits = 0; /* Don't know yet */ in fat_fill_super()
1721 sbi->fat_bits = 32; in fat_fill_super()
1782 sbi->fat_bits = (total_clusters > MAX_FAT12) ? 16 : 12; in fat_fill_super()
Dfatent.c304 fat_fs_error(sb, "invalid FAT variant, %u bits", sbi->fat_bits); in fat_ent_access_init()