Lines Matching full:clu
154 unsigned int clu; in __exfat_free_cluster() local
172 clu = p_chain->dir; in __exfat_free_cluster()
175 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu)); in __exfat_free_cluster()
182 if (clu < last_cluster) in __exfat_free_cluster()
184 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu+1)); in __exfat_free_cluster()
187 if (clu == last_cluster || cur_cmap_i != next_cmap_i) { in __exfat_free_cluster()
192 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster()
193 clu++; in __exfat_free_cluster()
199 unsigned int n_clu = clu; in __exfat_free_cluster()
213 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster()
214 clu = n_clu; in __exfat_free_cluster()
219 } while (clu != EXFAT_EOF_CLUSTER); in __exfat_free_cluster()
241 unsigned int clu, next; in exfat_find_last_cluster() local
252 clu = next; in exfat_find_last_cluster()
253 if (exfat_ent_get(sb, clu, &next)) in exfat_find_last_cluster()
264 *ret_clu = clu; in exfat_find_last_cluster()
268 int exfat_zeroed_cluster(struct inode *dir, unsigned int clu) in exfat_zeroed_cluster() argument
275 blknr = exfat_cluster_to_sector(sbi, clu); in exfat_zeroed_cluster()
427 unsigned int clu; in exfat_count_num_clusters() local
440 clu = p_chain->dir; in exfat_count_num_clusters()
444 if (exfat_ent_get(sb, clu, &clu)) in exfat_count_num_clusters()
446 if (clu == EXFAT_EOF_CLUSTER) in exfat_count_num_clusters()