Lines Matching refs:new_path
4293 struct path old_path, new_path; in do_linkat() local
4318 new_dentry = user_path_create(newdfd, newname, &new_path, in do_linkat()
4325 if (old_path.mnt != new_path.mnt) in do_linkat()
4330 error = security_path_link(old_path.dentry, &new_path, new_dentry); in do_linkat()
4333 error = vfs_link(old_path.dentry, new_path.dentry->d_inode, new_dentry, &delegated_inode); in do_linkat()
4335 done_path_create(&new_path, new_dentry); in do_linkat()
4545 struct path old_path, new_path; in do_renameat2() local
4577 &new_path, &new_last, &new_type); in do_renameat2()
4584 if (old_path.mnt != new_path.mnt) in do_renameat2()
4601 trap = lock_rename(new_path.dentry, old_path.dentry); in do_renameat2()
4611 new_dentry = __lookup_hash(&new_last, new_path.dentry, lookup_flags | target_flags); in do_renameat2()
4648 &new_path, new_dentry, flags); in do_renameat2()
4652 new_path.dentry->d_inode, new_dentry, in do_renameat2()
4659 unlock_rename(new_path.dentry, old_path.dentry); in do_renameat2()
4669 path_put(&new_path); in do_renameat2()