Searched refs:clus (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/exfat/ |
D | exfat_fs.h | 372 unsigned int clus) in exfat_cluster_to_sector() argument 374 return ((sector_t)(clus - EXFAT_RESERVED_CLUSTERS) << sbi->sect_per_clus_bits) + in exfat_cluster_to_sector() 386 unsigned int clus) in is_valid_cluster() argument 388 return clus >= EXFAT_FIRST_CLUSTER && clus < sbi->num_clusters; in is_valid_cluster()
|
/linux-6.1.9/fs/fat/ |
D | fatent.c | 755 static int fat_trim_clusters(struct super_block *sb, u32 clus, u32 nr_clus) in fat_trim_clusters() argument 758 return sb_issue_discard(sb, fat_clus_to_blknr(sbi, clus), in fat_trim_clusters() 804 u32 clus = fatent.entry - free; in fat_trim_fs() local 806 err = fat_trim_clusters(sb, clus, free); in fat_trim_fs() 831 u32 clus = fatent.entry - free; in fat_trim_fs() local 833 err = fat_trim_clusters(sb, clus, free); in fat_trim_fs()
|
D | fat.h | 246 static inline sector_t fat_clus_to_blknr(struct msdos_sb_info *sbi, int clus) in fat_clus_to_blknr() argument 248 return ((sector_t)clus - FAT_START_ENT) * sbi->sec_per_clus in fat_clus_to_blknr()
|