Home
last modified time | relevance | path

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

/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,
146 offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); in __fat_get_block()
154 mapped_blocks = sbi->sec_per_clus - offset; in __fat_get_block()
1332 if (b->sec_per_clus) in fat_bpb_is_zero()
1361 bpb->fat_sec_per_clus = b->sec_per_clus; in fat_read_bpb()
1478 bpb->fat_sec_per_clus = fdefaults->sec_per_clus; in fat_read_static_bpb()
[all …]
Dcache.c342 offset = sector & (sbi->sec_per_clus - 1); in fat_bmap()
348 *mapped_blocks = sbi->sec_per_clus - offset; in fat_bmap()
Dfat.h66 unsigned short sec_per_clus; /* sectors/cluster */ member
221 return ((sector_t)clus - FAT_START_ENT) * sbi->sec_per_clus in fat_clus_to_blknr()
Ddir.c60 if ((iblock & (sbi->sec_per_clus - 1)) || sbi->sec_per_clus == 1) in fat_dir_readahead()
68 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()
1224 last_blknr = start_blknr + sbi->sec_per_clus; in fat_add_new_entries()
Dfatent.c589 nr_clus * sbi->sec_per_clus, in fat_free_clusters()