Lines Matching refs:cdir

571 	struct exfat_chain cdir;  in exfat_create()  local
578 err = exfat_add_entry(dir, dentry->d_name.name, &cdir, TYPE_FILE, in exfat_create()
612 struct exfat_chain cdir; in exfat_find() local
626 ret = exfat_resolve_path_for_lookup(dir, qname->name, &cdir, &uni_name); in exfat_find()
632 ei->hint_stat.clu = cdir.dir; in exfat_find()
639 dentry = exfat_find_dir_entry(sb, ei, &cdir, &uni_name, &hint_opt); in exfat_find()
643 info->dir = cdir; in exfat_find()
648 cdir.dir = hint_opt.clu; in exfat_find()
649 if (cdir.flags & ALLOC_NO_FAT_CHAIN) in exfat_find()
650 cdir.size -= dentry / sbi->dentries_per_clu; in exfat_find()
652 if (exfat_get_dentry_set(&es, sb, &cdir, dentry, ES_2_ENTRIES)) in exfat_find()
694 exfat_chain_set(&cdir, info->start_clu, in exfat_find()
696 count = exfat_count_dir_entries(sb, &cdir); in exfat_find()
789 struct exfat_chain cdir; in exfat_unlink() local
798 exfat_chain_dup(&cdir, &ei->dir); in exfat_unlink()
806 ep = exfat_get_dentry(sb, &cdir, entry, &bh); in exfat_unlink()
811 num_entries = exfat_count_ext_entries(sb, &cdir, entry, ep); in exfat_unlink()
822 if (exfat_remove_entries(dir, &cdir, entry, 0, num_entries)) { in exfat_unlink()
854 struct exfat_chain cdir; in exfat_mkdir() local
860 err = exfat_add_entry(dir, dentry->d_name.name, &cdir, TYPE_DIR, in exfat_mkdir()
942 struct exfat_chain cdir, clu_to_free; in exfat_rmdir() local
951 exfat_chain_dup(&cdir, &ei->dir); in exfat_rmdir()
971 ep = exfat_get_dentry(sb, &cdir, entry, &bh); in exfat_rmdir()
977 num_entries = exfat_count_ext_entries(sb, &cdir, entry, ep); in exfat_rmdir()
987 err = exfat_remove_entries(dir, &cdir, entry, 0, num_entries); in exfat_rmdir()