Lines Matching refs:clu
218 struct exfat_chain clu; in exfat_search_empty_slot() local
239 exfat_chain_dup(&clu, &hint_femp->cur); in exfat_search_empty_slot()
241 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot()
245 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
249 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_search_empty_slot()
261 clu.dir, clu.size, clu.flags); in exfat_search_empty_slot()
277 p_dir->dir, clu.dir); in exfat_search_empty_slot()
292 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_search_empty_slot()
293 if (--clu.size > 0) in exfat_search_empty_slot()
294 clu.dir++; in exfat_search_empty_slot()
296 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot()
298 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_search_empty_slot()
307 clu.flags); in exfat_search_empty_slot()
333 struct exfat_chain clu; in exfat_find_empty_entry() local
361 exfat_chain_set(&clu, last_clu + 1, 0, p_dir->flags); in exfat_find_empty_entry()
364 ret = exfat_alloc_cluster(inode, 1, &clu, IS_DIRSYNC(inode)); in exfat_find_empty_entry()
368 if (exfat_zeroed_cluster(inode, clu.dir)) in exfat_find_empty_entry()
372 if (clu.flags != p_dir->flags) { in exfat_find_empty_entry()
381 if (clu.flags == ALLOC_FAT_CHAIN) in exfat_find_empty_entry()
382 if (exfat_ent_set(sb, last_clu, clu.dir)) in exfat_find_empty_entry()
386 exfat_chain_set(&hint_femp.cur, clu.dir, 0, clu.flags); in exfat_find_empty_entry()
489 struct exfat_chain clu; in exfat_add_entry() local
511 ret = exfat_alloc_new_dir(inode, &clu); in exfat_add_entry()
514 start_clu = clu.dir; in exfat_add_entry()
621 ei->hint_stat.clu = cdir.dir; in exfat_find()
637 cdir.dir = hint_opt.clu; in exfat_find()
886 struct exfat_chain clu; in exfat_check_dir_empty() local
893 exfat_chain_dup(&clu, p_dir); in exfat_check_dir_empty()
895 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_check_dir_empty()
897 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_check_dir_empty()
911 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_check_dir_empty()
912 if (--clu.size > 0) in exfat_check_dir_empty()
913 clu.dir++; in exfat_check_dir_empty()
915 clu.dir = EXFAT_EOF_CLUSTER; in exfat_check_dir_empty()
917 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_check_dir_empty()