Lines Matching full:clu

214 	struct exfat_chain clu;  in exfat_search_empty_slot()  local
234 exfat_chain_dup(&clu, &hint_femp->cur); in exfat_search_empty_slot()
236 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot()
241 clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
244 ret = exfat_get_empty_dentry_set(es, sb, &clu, i, num_entries); in exfat_search_empty_slot()
254 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_search_empty_slot()
255 if (--clu.size > 0) in exfat_search_empty_slot()
256 clu.dir++; in exfat_search_empty_slot()
258 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot()
260 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_search_empty_slot()
270 if (dentry == total_entries || clu.dir == EXFAT_EOF_CLUSTER) in exfat_search_empty_slot()
272 clu.flags); in exfat_search_empty_slot()
274 hint_femp->cur = clu; in exfat_search_empty_slot()
301 struct exfat_chain clu; in exfat_find_empty_entry() local
330 exfat_chain_set(&clu, last_clu + 1, 0, p_dir->flags); in exfat_find_empty_entry()
333 exfat_chain_set(&clu, EXFAT_EOF_CLUSTER, 0, in exfat_find_empty_entry()
338 ret = exfat_alloc_cluster(inode, 1, &clu, IS_DIRSYNC(inode)); in exfat_find_empty_entry()
342 if (exfat_zeroed_cluster(inode, clu.dir)) in exfat_find_empty_entry()
346 ei->start_clu = clu.dir; in exfat_find_empty_entry()
347 p_dir->dir = clu.dir; in exfat_find_empty_entry()
351 if (clu.flags != p_dir->flags) { in exfat_find_empty_entry()
360 if (clu.flags == ALLOC_FAT_CHAIN) in exfat_find_empty_entry()
361 if (exfat_ent_set(sb, last_clu, clu.dir)) in exfat_find_empty_entry()
365 exfat_chain_set(&hint_femp.cur, clu.dir, 0, clu.flags); in exfat_find_empty_entry()
467 struct exfat_chain clu; in exfat_add_entry() local
491 ret = exfat_alloc_new_dir(inode, &clu); in exfat_add_entry()
496 start_clu = clu.dir; in exfat_add_entry()
610 ei->hint_stat.clu = cdir.dir; in exfat_find()
626 cdir.dir = hint_opt.clu; in exfat_find()
873 struct exfat_chain clu; in exfat_check_dir_empty() local
883 exfat_chain_dup(&clu, p_dir); in exfat_check_dir_empty()
885 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_check_dir_empty()
887 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_check_dir_empty()
901 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_check_dir_empty()
902 if (--clu.size > 0) in exfat_check_dir_empty()
903 clu.dir++; in exfat_check_dir_empty()
905 clu.dir = EXFAT_EOF_CLUSTER; in exfat_check_dir_empty()
907 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_check_dir_empty()