Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/exfat/
Dexfat_fs.h370 unsigned int clus) in exfat_cluster_to_sector() argument
372 return ((sector_t)(clus - EXFAT_RESERVED_CLUSTERS) << sbi->sect_per_clus_bits) + in exfat_cluster_to_sector()
384 unsigned int clus) in is_valid_cluster() argument
386 if (clus < EXFAT_FIRST_CLUSTER || sbi->num_clusters <= clus) in is_valid_cluster()
/kernel/linux/linux-5.10/fs/fat/
Dfatent.c754 static int fat_trim_clusters(struct super_block *sb, u32 clus, u32 nr_clus) in fat_trim_clusters() argument
757 return sb_issue_discard(sb, fat_clus_to_blknr(sbi, clus), in fat_trim_clusters()
803 u32 clus = fatent.entry - free; in fat_trim_fs() local
805 err = fat_trim_clusters(sb, clus, free); in fat_trim_fs()
830 u32 clus = fatent.entry - free; in fat_trim_fs() local
832 err = fat_trim_clusters(sb, clus, free); in fat_trim_fs()
Dfat.h245 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()