Lines Matching refs:oldname
3943 int vfs_symlink(struct inode *dir, struct dentry *dentry, const char *oldname) in vfs_symlink() argument
3953 error = security_inode_symlink(dir, dentry, oldname); in vfs_symlink()
3957 error = dir->i_op->symlink(dir, dentry, oldname); in vfs_symlink()
3964 static long do_symlinkat(const char __user *oldname, int newdfd, in do_symlinkat() argument
3973 from = getname(oldname); in do_symlinkat()
3995 SYSCALL_DEFINE3(symlinkat, const char __user *, oldname, in SYSCALL_DEFINE3() argument
3998 return do_symlinkat(oldname, newdfd, newname); in SYSCALL_DEFINE3()
4001 SYSCALL_DEFINE2(symlink, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument
4003 return do_symlinkat(oldname, AT_FDCWD, newname); in SYSCALL_DEFINE2()
4095 static int do_linkat(int olddfd, const char __user *oldname, int newdfd, in do_linkat() argument
4120 error = user_path_at(olddfd, oldname, how, &old_path); in do_linkat()
4160 SYSCALL_DEFINE5(linkat, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE5() argument
4163 return do_linkat(olddfd, oldname, newdfd, newname, flags); in SYSCALL_DEFINE5()
4166 SYSCALL_DEFINE2(link, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument
4168 return do_linkat(AT_FDCWD, oldname, AT_FDCWD, newname, 0); in SYSCALL_DEFINE2()
4346 static int do_renameat2(int olddfd, const char __user *oldname, int newdfd, in do_renameat2() argument
4372 from = filename_parentat(olddfd, getname(oldname), lookup_flags, in do_renameat2()
4486 SYSCALL_DEFINE5(renameat2, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE5() argument
4489 return do_renameat2(olddfd, oldname, newdfd, newname, flags); in SYSCALL_DEFINE5()
4492 SYSCALL_DEFINE4(renameat, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE4() argument
4495 return do_renameat2(olddfd, oldname, newdfd, newname, 0); in SYSCALL_DEFINE4()
4498 SYSCALL_DEFINE2(rename, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument
4500 return do_renameat2(AT_FDCWD, oldname, AT_FDCWD, newname, 0); in SYSCALL_DEFINE2()