Lines Matching full:clu
149 unsigned int clu; in exfat_free_cluster() local
170 clu = p_chain->dir; in exfat_free_cluster()
173 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu)); in exfat_free_cluster()
181 if (clu < last_cluster) in exfat_free_cluster()
183 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu+1)); in exfat_free_cluster()
186 if (clu == last_cluster || cur_cmap_i != next_cmap_i) { in exfat_free_cluster()
191 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in exfat_free_cluster()
192 clu++; in exfat_free_cluster()
198 unsigned int n_clu = clu; in exfat_free_cluster()
212 exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in exfat_free_cluster()
213 clu = n_clu; in exfat_free_cluster()
219 } while (clu != EXFAT_EOF_CLUSTER); in exfat_free_cluster()
230 unsigned int clu, next; in exfat_find_last_cluster() local
241 clu = next; in exfat_find_last_cluster()
242 if (exfat_ent_get(sb, clu, &next)) in exfat_find_last_cluster()
253 *ret_clu = clu; in exfat_find_last_cluster()
257 int exfat_zeroed_cluster(struct inode *dir, unsigned int clu) in exfat_zeroed_cluster() argument
266 blknr = exfat_cluster_to_sector(sbi, clu); in exfat_zeroed_cluster()
424 unsigned int clu; in exfat_count_num_clusters() local
437 clu = p_chain->dir; in exfat_count_num_clusters()
441 if (exfat_ent_get(sb, clu, &clu)) in exfat_count_num_clusters()
443 if (clu == EXFAT_EOF_CLUSTER) in exfat_count_num_clusters()