/kernel/linux/linux-5.10/tools/perf/util/ |
D | data.c | 192 char oldname[PATH_MAX]; in check_backup() local 195 snprintf(oldname, sizeof(oldname), "%s.old", in check_backup() 198 ret = rm_rf_perf_data(oldname); in check_backup() 203 oldname); in check_backup() 207 if (rename(data->path, oldname)) { in check_backup() 210 data->path, oldname); in check_backup()
|
/kernel/linux/linux-5.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 | 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 [all …]
|
/kernel/linux/linux-5.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 | 421 asmlinkage long sys_symlinkat(const char __user * oldname, 423 asmlinkage long sys_linkat(int olddfd, const char __user *oldname, 425 asmlinkage long sys_renameat(int olddfd, const char __user * oldname, 990 asmlinkage long sys_renameat2(int olddfd, const char __user *oldname, 1067 asmlinkage long sys_link(const char __user *oldname, 1080 asmlinkage long sys_rename(const char __user *oldname,
|
D | netdevice.h | 4693 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname);
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/liteos_a/fs/fat/os_adapt/ |
D | fatfs.h | 139 int fatfs_rename(struct Vnode *oldvnode, struct Vnode *newparent, const char *oldname, const char *…
|
D | fatfs.c | 1678 int fatfs_rename(struct Vnode *old_vnode, struct Vnode *new_parent, const char *oldname, const char… in fatfs_rename() argument
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | hmdfs_dentryfile.h | 274 const char *oldpath, const char *oldname,
|
D | hmdfs_dentryfile.c | 2623 const char *oldpath, const char *oldname, in hmdfs_root_rename() argument 2664 old_dentry = lookup_one_len(oldname, path_old.dentry, strlen(oldname)); in hmdfs_root_rename()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 892 const char* oldname) in BPF_KPROBE() argument 924 size_t len = bpf_probe_read_str(payload, MAX_FILEPATH_LENGTH, oldname); in BPF_KPROBE()
|
/kernel/linux/linux-5.10/net/core/ |
D | dev.c | 1299 char oldname[IFNAMSIZ]; in dev_change_name() local 1332 memcpy(oldname, dev->name, IFNAMSIZ); in dev_change_name() 1340 if (oldname[0] && !strchr(oldname, '%')) in dev_change_name() 1341 netdev_info(dev, "renamed from %s\n", oldname); in dev_change_name() 1349 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name() 1357 netdev_adjacent_rename_links(dev, oldname); in dev_change_name() 1377 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name() 1378 memcpy(oldname, newname, IFNAMSIZ); in dev_change_name() 8182 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) in netdev_adjacent_rename_links() argument 8191 netdev_adjacent_sysfs_del(iter->dev, oldname, in netdev_adjacent_rename_links() [all …]
|
/kernel/linux/linux-5.10/fs/affs/ |
D | Changes | 257 you to do "mv oldname OldName").
|
/kernel/linux/linux-5.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);
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | patch_realtek.c | 2095 static void rename_ctl(struct hda_codec *codec, const char *oldname, in rename_ctl() argument 2100 kctl = snd_hda_find_mixer_ctl(codec, oldname); in rename_ctl()
|