Searched refs:clus (Results 1 – 2 of 2) sorted by relevance
/fs/fat/ |
D | fatent.c | 698 static int fat_trim_clusters(struct super_block *sb, u32 clus, u32 nr_clus) in fat_trim_clusters() argument 701 return sb_issue_discard(sb, fat_clus_to_blknr(sbi, clus), in fat_trim_clusters() 753 u32 clus = fatent.entry - free; in fat_trim_fs() local 755 err = fat_trim_clusters(sb, clus, free); in fat_trim_fs() 780 u32 clus = fatent.entry - free; in fat_trim_fs() local 782 err = fat_trim_clusters(sb, clus, free); in fat_trim_fs()
|
D | fat.h | 245 static inline sector_t fat_clus_to_blknr(struct msdos_sb_info *sbi, int clus) in fat_clus_to_blknr() argument 247 return ((sector_t)clus - FAT_START_ENT) * sbi->sec_per_clus in fat_clus_to_blknr()
|