Lines Matching refs:cdir
559 struct exfat_chain cdir; in exfat_create() local
566 err = exfat_add_entry(dir, dentry->d_name.name, &cdir, TYPE_FILE, in exfat_create()
600 struct exfat_chain cdir; in exfat_find() local
614 ret = exfat_resolve_path_for_lookup(dir, qname->name, &cdir, &uni_name); in exfat_find()
620 ei->hint_stat.clu = cdir.dir; in exfat_find()
627 dentry = exfat_find_dir_entry(sb, ei, &cdir, &uni_name, &hint_opt); in exfat_find()
631 info->dir = cdir; in exfat_find()
636 cdir.dir = hint_opt.clu; in exfat_find()
637 if (cdir.flags & ALLOC_NO_FAT_CHAIN) in exfat_find()
638 cdir.size -= dentry / sbi->dentries_per_clu; in exfat_find()
640 if (exfat_get_dentry_set(&es, sb, &cdir, dentry, ES_2_ENTRIES)) in exfat_find()
682 exfat_chain_set(&cdir, info->start_clu, in exfat_find()
684 count = exfat_count_dir_entries(sb, &cdir); in exfat_find()
777 struct exfat_chain cdir; in exfat_unlink() local
786 exfat_chain_dup(&cdir, &ei->dir); in exfat_unlink()
794 ep = exfat_get_dentry(sb, &cdir, entry, &bh); in exfat_unlink()
799 num_entries = exfat_count_ext_entries(sb, &cdir, entry, ep); in exfat_unlink()
810 if (exfat_remove_entries(dir, &cdir, entry, 0, num_entries)) { in exfat_unlink()
842 struct exfat_chain cdir; in exfat_mkdir() local
848 err = exfat_add_entry(dir, dentry->d_name.name, &cdir, TYPE_DIR, in exfat_mkdir()
927 struct exfat_chain cdir, clu_to_free; in exfat_rmdir() local
936 exfat_chain_dup(&cdir, &ei->dir); in exfat_rmdir()
956 ep = exfat_get_dentry(sb, &cdir, entry, &bh); in exfat_rmdir()
962 num_entries = exfat_count_ext_entries(sb, &cdir, entry, ep); in exfat_rmdir()
972 err = exfat_remove_entries(dir, &cdir, entry, 0, num_entries); in exfat_rmdir()