Lines Matching refs:cdir

550 	struct exfat_chain cdir;  in exfat_create()  local
557 err = exfat_add_entry(dir, dentry->d_name.name, &cdir, TYPE_FILE, in exfat_create()
592 struct exfat_chain cdir; in exfat_find() local
606 ret = exfat_resolve_path_for_lookup(dir, qname->name, &cdir, &uni_name); in exfat_find()
616 ei->hint_stat.clu = cdir.dir; in exfat_find()
623 dentry = exfat_find_dir_entry(sb, ei, &cdir, &uni_name, in exfat_find()
629 info->dir = cdir; in exfat_find()
634 cdir.dir = hint_opt.clu; in exfat_find()
635 if (cdir.flags & ALLOC_NO_FAT_CHAIN) in exfat_find()
636 cdir.size -= dentry / sbi->dentries_per_clu; in exfat_find()
638 es = exfat_get_dentry_set(sb, &cdir, dentry, ES_2_ENTRIES); in exfat_find()
681 exfat_chain_set(&cdir, info->start_clu, in exfat_find()
683 count = exfat_count_dir_entries(sb, &cdir); in exfat_find()
776 struct exfat_chain cdir; in exfat_unlink() local
785 exfat_chain_dup(&cdir, &ei->dir); in exfat_unlink()
793 ep = exfat_get_dentry(sb, &cdir, entry, &bh); in exfat_unlink()
798 num_entries = exfat_count_ext_entries(sb, &cdir, entry, ep); in exfat_unlink()
809 if (exfat_remove_entries(dir, &cdir, entry, 0, num_entries)) { in exfat_unlink()
841 struct exfat_chain cdir; in exfat_mkdir() local
847 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()