Lines Matching refs:new_dir
764 * @new_dir: Destination parent directory.
810 * - -EXDEV if @old_dentry would inherit new access rights from @new_dir;
814 const struct path *const new_dir,
848 if (old_dentry->d_parent == new_dir->dentry) {
857 dom, new_dir, access_request_parent1,
867 mnt_dir.mnt = new_dir->mnt;
868 mnt_dir.dentry = new_dir->mnt->mnt_root;
870 /* new_dir->dentry is equal to new_dentry->d_parent */
875 dom, mnt_dir.dentry, new_dir->dentry, &layer_masks_parent2);
1103 const struct path *const new_dir,
1106 return current_check_refer_path(old_dentry, new_dir, new_dentry, false,
1112 const struct path *const new_dir,
1116 /* old_dir refers to old_dentry->d_parent and new_dir->mnt */
1117 return current_check_refer_path(old_dentry, new_dir, new_dentry, true,