Lines Matching refs:clu

218 	struct exfat_chain clu;  in exfat_search_empty_slot()  local
232 exfat_chain_dup(&clu, &hint_femp->cur); in exfat_search_empty_slot()
234 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot()
238 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
242 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_search_empty_slot()
254 clu.dir, clu.size, clu.flags); in exfat_search_empty_slot()
270 p_dir->dir, clu.dir); in exfat_search_empty_slot()
285 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_search_empty_slot()
286 if (--clu.size > 0) in exfat_search_empty_slot()
287 clu.dir++; in exfat_search_empty_slot()
289 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot()
291 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_search_empty_slot()
320 struct exfat_chain clu; in exfat_find_empty_entry() local
348 exfat_chain_set(&clu, last_clu + 1, 0, p_dir->flags); in exfat_find_empty_entry()
351 ret = exfat_alloc_cluster(inode, 1, &clu, IS_DIRSYNC(inode)); in exfat_find_empty_entry()
355 if (exfat_zeroed_cluster(inode, clu.dir)) in exfat_find_empty_entry()
359 if (clu.flags != p_dir->flags) { in exfat_find_empty_entry()
368 if (clu.flags == ALLOC_FAT_CHAIN) in exfat_find_empty_entry()
369 if (exfat_ent_set(sb, last_clu, clu.dir)) in exfat_find_empty_entry()
379 exfat_chain_set(&hint_femp.cur, clu.dir, 0, clu.flags); in exfat_find_empty_entry()
480 struct exfat_chain clu; in exfat_add_entry() local
502 ret = exfat_alloc_new_dir(inode, &clu); in exfat_add_entry()
505 start_clu = clu.dir; in exfat_add_entry()
616 ei->hint_stat.clu = cdir.dir; in exfat_find()
634 cdir.dir = hint_opt.clu; in exfat_find()
884 struct exfat_chain clu; in exfat_check_dir_empty() local
891 exfat_chain_dup(&clu, p_dir); in exfat_check_dir_empty()
893 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_check_dir_empty()
895 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_check_dir_empty()
909 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_check_dir_empty()
910 if (--clu.size > 0) in exfat_check_dir_empty()
911 clu.dir++; in exfat_check_dir_empty()
913 clu.dir = EXFAT_EOF_CLUSTER; in exfat_check_dir_empty()
915 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_check_dir_empty()