Home
last modified time | relevance | path

Searched refs:sec_per_clus (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/fs/fat/
Dinode.c69 unsigned sec_per_clus; member
76 .sec_per_clus = 1,
83 .sec_per_clus = 1,
90 .sec_per_clus = 2,
97 .sec_per_clus = 2,
147 offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); in __fat_get_block()
160 mapped_blocks = sbi->sec_per_clus - offset; in __fat_get_block()
1434 if (b->sec_per_clus) in fat_bpb_is_zero()
1463 bpb->fat_sec_per_clus = b->sec_per_clus; in fat_read_bpb()
1586 bpb->fat_sec_per_clus = fdefaults->sec_per_clus; in fat_read_static_bpb()
[all …]
Dcache.c319 offset = sector & (sbi->sec_per_clus - 1); in fat_get_mapped_cluster()
325 *mapped_blocks = sbi->sec_per_clus - offset; in fat_get_mapped_cluster()
Dfat.h64 unsigned short sec_per_clus; /* sectors/cluster */ member
247 return ((sector_t)clus - FAT_START_ENT) * sbi->sec_per_clus in fat_clus_to_blknr()
Ddir.c58 if ((iblock & (sbi->sec_per_clus - 1)) || sbi->sec_per_clus == 1) in fat_dir_readahead()
66 for (sec = 0; sec < sbi->sec_per_clus; sec++) in fat_dir_readahead()
1085 sector_t last_blknr = blknr + MSDOS_SB(sb)->sec_per_clus; in fat_zeroed_cluster()
1230 last_blknr = start_blknr + sbi->sec_per_clus; in fat_add_new_entries()
Dfatent.c588 nr_clus * sbi->sec_per_clus, in fat_free_clusters()
757 nr_clus * sbi->sec_per_clus, GFP_NOFS, 0); in fat_trim_clusters()
/Linux-v5.10/include/uapi/linux/
Dmsdos_fs.h113 __u8 sec_per_clus; /* sectors/cluster */ member