• Home
  • Raw
  • Download

Lines Matching full:clu

208 	struct exfat_chain clu;  in exfat_search_empty_slot()  local
222 exfat_chain_dup(&clu, &hint_femp->cur); in exfat_search_empty_slot()
224 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot()
228 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
232 ep = exfat_get_dentry(sb, &clu, i, &bh, NULL); in exfat_search_empty_slot()
244 clu.dir, clu.size, clu.flags); in exfat_search_empty_slot()
260 p_dir->dir, clu.dir); in exfat_search_empty_slot()
275 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_search_empty_slot()
276 if (--clu.size > 0) in exfat_search_empty_slot()
277 clu.dir++; in exfat_search_empty_slot()
279 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot()
281 if (exfat_get_next_cluster(sb, &clu.dir)) in exfat_search_empty_slot()
311 struct exfat_chain clu; in exfat_find_empty_entry() local
341 exfat_chain_set(&clu, last_clu + 1, 0, p_dir->flags); in exfat_find_empty_entry()
344 exfat_chain_set(&clu, EXFAT_EOF_CLUSTER, 0, in exfat_find_empty_entry()
349 ret = exfat_alloc_cluster(inode, 1, &clu); in exfat_find_empty_entry()
353 if (exfat_zeroed_cluster(inode, clu.dir)) in exfat_find_empty_entry()
357 ei->start_clu = clu.dir; in exfat_find_empty_entry()
358 p_dir->dir = clu.dir; in exfat_find_empty_entry()
362 if (clu.flags != p_dir->flags) { in exfat_find_empty_entry()
371 if (clu.flags == ALLOC_FAT_CHAIN) in exfat_find_empty_entry()
372 if (exfat_ent_set(sb, last_clu, clu.dir)) in exfat_find_empty_entry()
382 exfat_chain_set(&hint_femp.cur, clu.dir, 0, clu.flags); in exfat_find_empty_entry()
490 struct exfat_chain clu; in exfat_add_entry() local
512 ret = exfat_alloc_new_dir(inode, &clu); in exfat_add_entry()
515 start_clu = clu.dir; in exfat_add_entry()
627 ei->hint_stat.clu = cdir.dir; in exfat_find()
645 cdir.dir = hint_opt.clu; in exfat_find()
902 struct exfat_chain clu; in exfat_check_dir_empty() local
912 exfat_chain_dup(&clu, p_dir); in exfat_check_dir_empty()
914 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_check_dir_empty()
916 ep = exfat_get_dentry(sb, &clu, i, &bh, NULL); in exfat_check_dir_empty()
930 if (clu.flags == ALLOC_NO_FAT_CHAIN) { in exfat_check_dir_empty()
931 if (--clu.size > 0) in exfat_check_dir_empty()
932 clu.dir++; in exfat_check_dir_empty()
934 clu.dir = EXFAT_EOF_CLUSTER; in exfat_check_dir_empty()
936 if (exfat_get_next_cluster(sb, &(clu.dir))) in exfat_check_dir_empty()