Lines Matching full: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
362 exfat_chain_set(&clu, last_clu + 1, 0, p_dir->flags); in exfat_find_empty_entry()
365 exfat_chain_set(&clu, EXFAT_EOF_CLUSTER, 0, in exfat_find_empty_entry()
370 ret = exfat_alloc_cluster(inode, 1, &clu, IS_DIRSYNC(inode)); in exfat_find_empty_entry()
374 if (exfat_zeroed_cluster(inode, clu.dir)) in exfat_find_empty_entry()
378 ei->start_clu = clu.dir; in exfat_find_empty_entry()
379 p_dir->dir = clu.dir; in exfat_find_empty_entry()
384 if (clu.flags != p_dir->flags) { in exfat_find_empty_entry()
393 if (clu.flags == ALLOC_FAT_CHAIN) in exfat_find_empty_entry()
394 if (exfat_ent_set(sb, last_clu, clu.dir)) in exfat_find_empty_entry()
398 exfat_chain_set(&hint_femp.cur, clu.dir, 0, clu.flags); in exfat_find_empty_entry()
501 struct exfat_chain clu; in exfat_add_entry() local
523 ret = exfat_alloc_new_dir(inode, &clu); in exfat_add_entry()
526 start_clu = clu.dir; in exfat_add_entry()
632 ei->hint_stat.clu = cdir.dir; in exfat_find()
648 cdir.dir = hint_opt.clu; in exfat_find()
896 struct exfat_chain clu; in exfat_check_dir_empty() local
906 exfat_chain_dup(&clu, p_dir); in exfat_check_dir_empty()
908 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_check_dir_empty()
910 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_check_dir_empty()
924 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_check_dir_empty()
925 if (--clu.size > 0) in exfat_check_dir_empty()
926 clu.dir++; in exfat_check_dir_empty()
928 clu.dir = EXFAT_EOF_CLUSTER; in exfat_check_dir_empty()
930 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_check_dir_empty()