Home
last modified time | relevance | path

Searched refs:clus (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/fs/exfat/
Dexfat_fs.h397 unsigned int clus) in exfat_cluster_to_sector() argument
399 return ((sector_t)(clus - EXFAT_RESERVED_CLUSTERS) << sbi->sect_per_clus_bits) + in exfat_cluster_to_sector()
411 unsigned int clus) in is_valid_cluster() argument
413 return clus >= EXFAT_FIRST_CLUSTER && clus < sbi->num_clusters; in is_valid_cluster()
/linux-6.6.21/fs/fat/
Dfatent.c755 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()
Dfat.h246 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()