/Linux-v5.10/tools/perf/util/ |
D | data.c | 191 char oldname[PATH_MAX]; in check_backup() local 194 snprintf(oldname, sizeof(oldname), "%s.old", in check_backup() 197 ret = rm_rf_perf_data(oldname); in check_backup() 202 oldname); in check_backup() 206 if (rename(data->path, oldname)) { in check_backup() 209 data->path, oldname); in check_backup()
|
/Linux-v5.10/fs/ |
D | init.c | 166 int __init init_link(const char *oldname, const char *newname) in init_link() argument 172 error = kern_path(oldname, 0, &old_path); in init_link() 199 int __init init_symlink(const char *oldname, const char *newname) in init_symlink() argument 208 error = security_path_symlink(&path, dentry, oldname); in init_symlink() 210 error = vfs_symlink(path.dentry->d_inode, dentry, oldname); in init_symlink()
|
D | namei.c | 3946 int vfs_symlink(struct inode *dir, struct dentry *dentry, const char *oldname) in vfs_symlink() argument 3956 error = security_inode_symlink(dir, dentry, oldname); in vfs_symlink() 3960 error = dir->i_op->symlink(dir, dentry, oldname); in vfs_symlink() 3967 static long do_symlinkat(const char __user *oldname, int newdfd, in do_symlinkat() argument 3976 from = getname(oldname); in do_symlinkat() 3998 SYSCALL_DEFINE3(symlinkat, const char __user *, oldname, in SYSCALL_DEFINE3() argument 4001 return do_symlinkat(oldname, newdfd, newname); in SYSCALL_DEFINE3() 4004 SYSCALL_DEFINE2(symlink, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument 4006 return do_symlinkat(oldname, AT_FDCWD, newname); in SYSCALL_DEFINE2() 4098 static int do_linkat(int olddfd, const char __user *oldname, int newdfd, in do_linkat() argument [all …]
|
/Linux-v5.10/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 | 397 asmlinkage long sys_symlinkat(const char __user * oldname, 399 asmlinkage long sys_linkat(int olddfd, const char __user *oldname, 401 asmlinkage long sys_renameat(int olddfd, const char __user * oldname, 966 asmlinkage long sys_renameat2(int olddfd, const char __user *oldname, 1043 asmlinkage long sys_link(const char __user *oldname, 1056 asmlinkage long sys_rename(const char __user *oldname,
|
D | netdevice.h | 4639 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname);
|
/Linux-v5.10/fs/overlayfs/ |
D | overlayfs.h | 174 const char *oldname) in ovl_do_symlink() argument 176 int err = vfs_symlink(dir, dentry, oldname); in ovl_do_symlink() 178 pr_debug("symlink(\"%s\", %pd2) = %i\n", oldname, dentry, err); in ovl_do_symlink()
|
/Linux-v5.10/fs/ocfs2/ |
D | refcounttree.h | 107 const char __user *oldname,
|
D | refcounttree.c | 4421 const char __user *oldname, in ocfs2_reflink_ioctl() argument 4432 error = user_path_at(AT_FDCWD, oldname, 0, &old_path); in ocfs2_reflink_ioctl()
|
/Linux-v5.10/scripts/kconfig/ |
D | confdata.c | 830 char tmpname[PATH_MAX + 1], oldname[PATH_MAX + 1]; in conf_write() local 926 snprintf(oldname, sizeof(oldname), "%s.old", name); in conf_write() 927 rename(name, oldname); in conf_write()
|
/Linux-v5.10/fs/nfs/ |
D | nfs4trace.h | 1370 const struct qstr *oldname, 1376 TP_ARGS(olddir, oldname, newdir, newname, error), 1382 __string(oldname, oldname->name) 1392 __assign_str(oldname, oldname->name); 1403 __get_str(oldname),
|
D | nfs4xdr.c | 1651 static void encode_rename(struct xdr_stream *xdr, const struct qstr *oldname, const struct qstr *ne… in encode_rename() argument 1654 encode_string(xdr, oldname->len, oldname->name); in encode_rename()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 890 const char* oldname) in BPF_KPROBE() argument 922 size_t len = bpf_probe_read_str(payload, MAX_FILEPATH_LENGTH, oldname); in BPF_KPROBE()
|
/Linux-v5.10/net/core/ |
D | dev.c | 1287 char oldname[IFNAMSIZ]; in dev_change_name() local 1320 memcpy(oldname, dev->name, IFNAMSIZ); in dev_change_name() 1328 if (oldname[0] && !strchr(oldname, '%')) in dev_change_name() 1329 netdev_info(dev, "renamed from %s\n", oldname); in dev_change_name() 1337 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name() 1345 netdev_adjacent_rename_links(dev, oldname); in dev_change_name() 1365 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name() 1366 memcpy(oldname, newname, IFNAMSIZ); in dev_change_name() 8114 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) in netdev_adjacent_rename_links() argument 8123 netdev_adjacent_sysfs_del(iter->dev, oldname, in netdev_adjacent_rename_links() [all …]
|
/Linux-v5.10/fs/affs/ |
D | Changes | 257 you to do "mv oldname OldName").
|
/Linux-v5.10/tools/perf/ |
D | builtin-trace.c | 4465 char oldname[PATH_MAX]; local 4467 scnprintf(oldname, sizeof(oldname), "%s.old", filename); 4468 unlink(oldname); 4469 rename(filename, oldname);
|
/Linux-v5.10/sound/pci/hda/ |
D | patch_realtek.c | 2087 static void rename_ctl(struct hda_codec *codec, const char *oldname, in rename_ctl() argument 2092 kctl = snd_hda_find_mixer_ctl(codec, oldname); in rename_ctl()
|