Lines Matching full:clu
30 static bool exfat_test_bitmap_range(struct super_block *sb, unsigned int clu, in exfat_test_bitmap_range() argument
34 unsigned int start = clu; in exfat_test_bitmap_range()
35 unsigned int end = clu + count; in exfat_test_bitmap_range()
141 struct exfat_chain clu; in exfat_load_bitmap() local
144 exfat_chain_set(&clu, sbi->root_dir, 0, ALLOC_FAT_CHAIN); in exfat_load_bitmap()
145 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_load_bitmap()
150 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_load_bitmap()
169 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_load_bitmap()
186 int exfat_set_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_set_bitmap() argument
193 if (!is_valid_cluster(sbi, clu)) in exfat_set_bitmap()
196 ent_idx = CLUSTER_TO_BITMAP_ENT(clu); in exfat_set_bitmap()
205 int exfat_clear_bitmap(struct inode *inode, unsigned int clu, bool sync) in exfat_clear_bitmap() argument
212 if (!is_valid_cluster(sbi, clu)) in exfat_clear_bitmap()
215 ent_idx = CLUSTER_TO_BITMAP_ENT(clu); in exfat_clear_bitmap()
230 * If the value of "clu" is 0, it means cluster 2 which is the first cluster of
233 unsigned int exfat_find_free_bitmap(struct super_block *sb, unsigned int clu) in exfat_find_free_bitmap() argument
241 WARN_ON(clu < EXFAT_FIRST_CLUSTER); in exfat_find_free_bitmap()
242 ent_idx = ALIGN_DOWN(CLUSTER_TO_BITMAP_ENT(clu), BITS_PER_LONG); in exfat_find_free_bitmap()
244 clu_mask = IGNORED_BITS_REMAINED(clu, clu_base); in exfat_find_free_bitmap()