Home
last modified time | relevance | path

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

/Linux-v5.10/fs/exfat/
Dfatent.c85 unsigned int clus) in is_valid_cluster() argument
87 if (clus < EXFAT_FIRST_CLUSTER || sbi->num_clusters <= clus) in is_valid_cluster()
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()
/Linux-v5.10/fs/fat/
Dfatent.c753 static int fat_trim_clusters(struct super_block *sb, u32 clus, u32 nr_clus) in fat_trim_clusters() argument
756 return sb_issue_discard(sb, fat_clus_to_blknr(sbi, clus), in fat_trim_clusters()
802 u32 clus = fatent.entry - free; in fat_trim_fs() local
804 err = fat_trim_clusters(sb, clus, free); in fat_trim_fs()
829 u32 clus = fatent.entry - free; in fat_trim_fs() local
831 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()