Home
last modified time | relevance | path

Searched refs:oldname (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
Ddata.c192 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/
Dinit.c166 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()
Dnamei.c3943 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/
Dinit_syscalls.h13 int __init init_link(const char *oldname, const char *newname);
14 int __init init_symlink(const char *oldname, const char *newname);
Dsyscalls.h421 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,
Dnetdevice.h4693 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname);
/kernel/linux/linux-5.10/fs/overlayfs/
Doverlayfs.h174 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/
Drefcounttree.h107 const char __user *oldname,
Drefcounttree.c4421 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/
Dfatfs.h139 int fatfs_rename(struct Vnode *oldvnode, struct Vnode *newparent, const char *oldname, const char *…
Dfatfs.c1678 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/
Dconfdata.c830 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/
Dnfs4trace.h1370 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),
Dnfs4xdr.c1651 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/
Dhmdfs_dentryfile.h274 const char *oldpath, const char *oldname,
Dhmdfs_dentryfile.c2623 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/
Dprofiler.inc.h892 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/
Ddev.c1299 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/
DChanges257 you to do "mv oldname OldName").
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-trace.c4465 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/
Dpatch_realtek.c2095 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()