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()
183 if (clu < last_cluster) in __exfat_free_cluster()
185 BITMAP_OFFSET_SECTOR_INDEX(sb, CLUSTER_TO_BITMAP_ENT(clu+1)); in __exfat_free_cluster()
188 if (clu == last_cluster || cur_cmap_i != next_cmap_i) { in __exfat_free_cluster()
193 err = exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode))); in __exfat_free_cluster()
196 clu++; in __exfat_free_cluster()
202 unsigned int n_clu = clu; in __exfat_free_cluster()
216 if (exfat_clear_bitmap(inode, clu, (sync && IS_DIRSYNC(inode)))) in __exfat_free_cluster()
218 clu = n_clu; in __exfat_free_cluster()
233 } while (clu != EXFAT_EOF_CLUSTER); in __exfat_free_cluster()
254 unsigned int clu, next; in exfat_find_last_cluster() local
265 clu = next; in exfat_find_last_cluster()
266 if (exfat_ent_get(sb, clu, &next)) in exfat_find_last_cluster()
277 *ret_clu = clu; in exfat_find_last_cluster()
281 int exfat_zeroed_cluster(struct inode *dir, unsigned int clu) in exfat_zeroed_cluster() argument
288 blknr = exfat_cluster_to_sector(sbi, clu); in exfat_zeroed_cluster()
440 unsigned int clu; in exfat_count_num_clusters() local
453 clu = p_chain->dir; in exfat_count_num_clusters()
457 if (exfat_ent_get(sb, clu, &clu)) in exfat_count_num_clusters()
459 if (clu == EXFAT_EOF_CLUSTER) in exfat_count_num_clusters()