Lines Matching full:clu

149 		unsigned int clu, unsigned int num_clusters)  in exfat_discard_cluster()  argument
154 ret = sb_issue_discard(sb, exfat_cluster_to_sector(sbi, clu), in exfat_discard_cluster()
169 unsigned int clu; in __exfat_free_cluster() local
187 clu = p_chain->dir; in __exfat_free_cluster()
190 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu)); in __exfat_free_cluster()
198 if (clu < last_cluster) in __exfat_free_cluster()
200 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu+1)); in __exfat_free_cluster()
203 if (clu == last_cluster || cur_cmap_i != next_cmap_i) { in __exfat_free_cluster()
208 err = exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster()
211 clu++; in __exfat_free_cluster()
222 unsigned int n_clu = clu; in __exfat_free_cluster()
236 if (exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode)))) in __exfat_free_cluster()
240 if (n_clu == clu + 1) in __exfat_free_cluster()
243 exfat_discard_cluster(sb, clu - nr_clu + 1, nr_clu); in __exfat_free_cluster()
248 clu = n_clu; in __exfat_free_cluster()
263 } while (clu != EXFAT_EOF_CLUSTER); in __exfat_free_cluster()
284 unsigned int clu, next; in exfat_find_last_cluster() local
295 clu = next; in exfat_find_last_cluster()
296 if (exfat_ent_get(sb, clu, &next)) in exfat_find_last_cluster()
307 *ret_clu = clu; in exfat_find_last_cluster()
311 int exfat_zeroed_cluster(struct inode *dir, unsigned int clu) in exfat_zeroed_cluster() argument
318 blknr = exfat_cluster_to_sector(sbi, clu); in exfat_zeroed_cluster()
470 unsigned int clu; in exfat_count_num_clusters() local
483 clu = p_chain->dir; in exfat_count_num_clusters()
487 if (exfat_ent_get(sb, clu, &clu)) in exfat_count_num_clusters()
489 if (clu == EXFAT_EOF_CLUSTER) in exfat_count_num_clusters()
499 if (unlikely(i == sbi->num_clusters && clu != EXFAT_EOF_CLUSTER)) { in exfat_count_num_clusters()