/linux-6.1.9/fs/ |
D | init.c | 166 int __init init_link(const char *oldname, const char *newname) in init_link() argument 173 error = kern_path(oldname, 0, &old_path); in init_link() 201 int __init init_symlink(const char *oldname, const char *newname) in init_symlink() argument 210 error = security_path_symlink(&path, dentry, oldname); in init_symlink() 213 dentry, oldname); in init_symlink()
|
D | namei.c | 4387 struct dentry *dentry, const char *oldname) in vfs_symlink() argument 4397 error = security_inode_symlink(dir, dentry, oldname); in vfs_symlink() 4401 error = dir->i_op->symlink(mnt_userns, dir, dentry, oldname); in vfs_symlink() 4444 SYSCALL_DEFINE3(symlinkat, const char __user *, oldname, in SYSCALL_DEFINE3() argument 4447 return do_symlinkat(getname(oldname), newdfd, getname(newname)); in SYSCALL_DEFINE3() 4450 SYSCALL_DEFINE2(symlink, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument 4452 return do_symlinkat(getname(oldname), AT_FDCWD, getname(newname)); in SYSCALL_DEFINE2() 4625 SYSCALL_DEFINE5(linkat, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE5() argument 4628 return do_linkat(olddfd, getname_uflags(oldname, flags), in SYSCALL_DEFINE5() 4632 SYSCALL_DEFINE2(link, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument [all …]
|
D | internal.h | 67 int do_renameat2(int olddfd, struct filename *oldname, int newdfd,
|
/linux-6.1.9/tools/perf/util/ |
D | data.c | 211 char oldname[PATH_MAX]; in check_backup() local 214 snprintf(oldname, sizeof(oldname), "%s.old", in check_backup() 217 ret = rm_rf_perf_data(oldname); in check_backup() 222 oldname); in check_backup() 226 if (rename(data->path, oldname)) { in check_backup() 229 data->path, oldname); in check_backup()
|
/linux-6.1.9/include/linux/ |
D | init_syscalls.h | 13 int __init init_link(const char *oldname, const char *newname); 14 int __init init_symlink(const char *oldname, const char *newname);
|
D | syscalls.h | 426 asmlinkage long sys_symlinkat(const char __user * oldname, 428 asmlinkage long sys_linkat(int olddfd, const char __user *oldname, 430 asmlinkage long sys_renameat(int olddfd, const char __user * oldname, 1002 asmlinkage long sys_renameat2(int olddfd, const char __user *oldname, 1091 asmlinkage long sys_link(const char __user *oldname, 1104 asmlinkage long sys_rename(const char __user *oldname,
|
D | netdevice.h | 4743 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname);
|
/linux-6.1.9/kernel/livepatch/ |
D | transition.c | 241 static int klp_check_stack(struct task_struct *task, const char **oldname) in klp_check_stack() argument 259 *oldname = func->old_name; in klp_check_stack()
|
/linux-6.1.9/scripts/kconfig/ |
D | confdata.c | 900 char tmpname[PATH_MAX + 1], oldname[PATH_MAX + 1]; in conf_write() local 997 snprintf(oldname, sizeof(oldname), "%s.old", name); in conf_write() 998 rename(name, oldname); in conf_write()
|
/linux-6.1.9/fs/ocfs2/ |
D | refcounttree.h | 105 const char __user *oldname,
|
D | refcounttree.c | 4391 const char __user *oldname, in ocfs2_reflink_ioctl() argument 4402 error = user_path_at(AT_FDCWD, oldname, 0, &old_path); in ocfs2_reflink_ioctl()
|
/linux-6.1.9/net/9p/ |
D | protocol.c | 150 const char *oldname, *newname; in p9_msg_buf_size() local 151 oldname = va_arg(ap, const char *); in p9_msg_buf_size() 155 return hdr + 4 + P9_STRLEN(oldname) + 4 + P9_STRLEN(newname); in p9_msg_buf_size()
|
/linux-6.1.9/fs/ksmbd/ |
D | vfs.h | 89 const char *oldname, const char *newname);
|
D | vfs.c | 643 int ksmbd_vfs_link(struct ksmbd_work *work, const char *oldname, in ksmbd_vfs_link() argument 653 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath); in ksmbd_vfs_link() 656 oldname, err); in ksmbd_vfs_link()
|
/linux-6.1.9/fs/overlayfs/ |
D | overlayfs.h | 203 const char *oldname) in ovl_do_symlink() argument 205 int err = vfs_symlink(ovl_upper_mnt_userns(ofs), dir, dentry, oldname); in ovl_do_symlink() 207 pr_debug("symlink(\"%s\", %pd2) = %i\n", oldname, dentry, err); in ovl_do_symlink()
|
/linux-6.1.9/fs/nfs/ |
D | nfs4trace.h | 1105 const struct qstr *oldname, 1111 TP_ARGS(olddir, oldname, newdir, newname, error), 1117 __string(oldname, oldname->name) 1127 __assign_str(oldname, oldname->name); 1138 __get_str(oldname),
|
D | nfs4xdr.c | 1663 static void encode_rename(struct xdr_stream *xdr, const struct qstr *oldname, const struct qstr *ne… in encode_rename() argument 1666 encode_string(xdr, oldname->len, oldname->name); in encode_rename()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 893 const char* oldname) in BPF_KPROBE() argument 925 size_t len = bpf_probe_read_str(payload, MAX_FILEPATH_LENGTH, oldname); in BPF_KPROBE()
|
/linux-6.1.9/net/core/ |
D | dev.c | 1156 char oldname[IFNAMSIZ]; in dev_change_name() local 1189 memcpy(oldname, dev->name, IFNAMSIZ); in dev_change_name() 1197 if (oldname[0] && !strchr(oldname, '%')) in dev_change_name() 1198 netdev_info(dev, "renamed from %s\n", oldname); in dev_change_name() 1206 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name() 1214 netdev_adjacent_rename_links(dev, oldname); in dev_change_name() 1234 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name() 1235 memcpy(oldname, newname, IFNAMSIZ); in dev_change_name() 8240 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) in netdev_adjacent_rename_links() argument 8249 netdev_adjacent_sysfs_del(iter->dev, oldname, in netdev_adjacent_rename_links() [all …]
|
/linux-6.1.9/fs/affs/ |
D | Changes | 257 you to do "mv oldname OldName").
|
/linux-6.1.9/tools/perf/ |
D | builtin-trace.c | 4512 char oldname[PATH_MAX]; local 4514 scnprintf(oldname, sizeof(oldname), "%s.old", filename); 4515 unlink(oldname); 4516 rename(filename, oldname);
|
/linux-6.1.9/sound/pci/hda/ |
D | patch_realtek.c | 2138 static void rename_ctl(struct hda_codec *codec, const char *oldname, in rename_ctl() argument 2143 kctl = snd_hda_find_mixer_ctl(codec, oldname); in rename_ctl()
|