Home
last modified time | relevance | path

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

/fs/fat/
Dinode.c61 unsigned sec_per_clus; member
68 .sec_per_clus = 1,
75 .sec_per_clus = 1,
82 .sec_per_clus = 2,
89 .sec_per_clus = 2,
139 offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); in __fat_get_block()
152 mapped_blocks = sbi->sec_per_clus - offset; in __fat_get_block()
1424 if (b->sec_per_clus) in fat_bpb_is_zero()
1453 bpb->fat_sec_per_clus = b->sec_per_clus; in fat_read_bpb()
1570 bpb->fat_sec_per_clus = fdefaults->sec_per_clus; in fat_read_static_bpb()
[all …]
Dcache.c313 offset = sector & (sbi->sec_per_clus - 1); in fat_get_mapped_cluster()
319 *mapped_blocks = sbi->sec_per_clus - offset; in fat_get_mapped_cluster()
Dfat.h63 unsigned short sec_per_clus; /* sectors/cluster */ member
218 return ((sector_t)clus - FAT_START_ENT) * sbi->sec_per_clus in fat_clus_to_blknr()
Ddir.c56 if ((iblock & (sbi->sec_per_clus - 1)) || sbi->sec_per_clus == 1) in fat_dir_readahead()
64 for (sec = 0; sec < sbi->sec_per_clus; sec++) in fat_dir_readahead()
1088 sector_t last_blknr = blknr + MSDOS_SB(sb)->sec_per_clus; in fat_zeroed_cluster()
1227 last_blknr = start_blknr + sbi->sec_per_clus; in fat_add_new_entries()
Dfatent.c586 nr_clus * sbi->sec_per_clus, in fat_free_clusters()