Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Ddata.c205 char oldname[PATH_MAX]; in check_backup() local
208 snprintf(oldname, sizeof(oldname), "%s.old", in check_backup()
211 ret = rm_rf_perf_data(oldname); in check_backup()
216 oldname); in check_backup()
220 if (rename(data->path, oldname)) { in check_backup()
223 data->path, oldname); in check_backup()
/linux/fs/
A Dinit.c166 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()
A Dnamei.c4234 struct dentry *dentry, const char *oldname) in vfs_symlink() argument
4244 error = security_inode_symlink(dir, dentry, oldname); in vfs_symlink()
4248 error = dir->i_op->symlink(mnt_userns, dir, dentry, oldname); in vfs_symlink()
4291 SYSCALL_DEFINE3(symlinkat, const char __user *, oldname, in SYSCALL_DEFINE3() argument
4294 return do_symlinkat(getname(oldname), newdfd, getname(newname)); in SYSCALL_DEFINE3()
4299 return do_symlinkat(getname(oldname), AT_FDCWD, getname(newname)); in SYSCALL_DEFINE2()
4472 SYSCALL_DEFINE5(linkat, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE5() argument
4475 return do_linkat(olddfd, getname_uflags(oldname, flags), in SYSCALL_DEFINE5()
4807 SYSCALL_DEFINE5(renameat2, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE5() argument
4814 SYSCALL_DEFINE4(renameat, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE4() argument
[all …]
A Dinternal.h66 int do_renameat2(int olddfd, struct filename *oldname, int newdfd,
/linux/include/linux/
A Dinit_syscalls.h13 int __init init_link(const char *oldname, const char *newname);
14 int __init init_symlink(const char *oldname, const char *newname);
A Dsyscalls.h430 asmlinkage long sys_symlinkat(const char __user * oldname,
432 asmlinkage long sys_linkat(int olddfd, const char __user *oldname,
434 asmlinkage long sys_renameat(int olddfd, const char __user * oldname,
1006 asmlinkage long sys_renameat2(int olddfd, const char __user *oldname,
1092 asmlinkage long sys_link(const char __user *oldname,
1105 asmlinkage long sys_rename(const char __user *oldname,
A Dnetdevice.h4898 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname);
/linux/kernel/livepatch/
A Dtransition.c242 static int klp_check_stack(struct task_struct *task, const char **oldname) in klp_check_stack() argument
260 *oldname = func->old_name; in klp_check_stack()
/linux/scripts/kconfig/
A Dconfdata.c836 char tmpname[PATH_MAX + 1], oldname[PATH_MAX + 1]; in conf_write() local
932 snprintf(oldname, sizeof(oldname), "%s.old", name); in conf_write()
933 rename(name, oldname); in conf_write()
/linux/fs/overlayfs/
A Doverlayfs.h177 const char *oldname) in ovl_do_symlink() argument
179 int err = vfs_symlink(&init_user_ns, dir, dentry, oldname); in ovl_do_symlink()
181 pr_debug("symlink(\"%s\", %pd2) = %i\n", oldname, dentry, err); in ovl_do_symlink()
/linux/fs/ocfs2/
A Drefcounttree.h105 const char __user *oldname,
A Drefcounttree.c4419 const char __user *oldname, in ocfs2_reflink_ioctl() argument
4430 error = user_path_at(AT_FDCWD, oldname, 0, &old_path); in ocfs2_reflink_ioctl()
/linux/fs/ksmbd/
A Dvfs.h86 const char *oldname, const char *newname);
A Dvfs.c648 int ksmbd_vfs_link(struct ksmbd_work *work, const char *oldname, in ksmbd_vfs_link() argument
658 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath); in ksmbd_vfs_link()
661 oldname, err); in ksmbd_vfs_link()
/linux/fs/nfs/
A Dnfs4trace.h1105 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),
A Dnfs4xdr.c1663 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/tools/testing/selftests/bpf/progs/
A 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()
/linux/net/core/
A Ddev.c1215 char oldname[IFNAMSIZ]; in dev_change_name() local
1248 memcpy(oldname, dev->name, IFNAMSIZ); in dev_change_name()
1256 if (oldname[0] && !strchr(oldname, '%')) in dev_change_name()
1257 netdev_info(dev, "renamed from %s\n", oldname); in dev_change_name()
1265 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name()
1273 netdev_adjacent_rename_links(dev, oldname); in dev_change_name()
1293 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name()
1294 memcpy(oldname, newname, IFNAMSIZ); in dev_change_name()
8493 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) in netdev_adjacent_rename_links() argument
8502 netdev_adjacent_sysfs_del(iter->dev, oldname, in netdev_adjacent_rename_links()
[all …]
/linux/fs/affs/
A DChanges257 you to do "mv oldname OldName").
/linux/tools/perf/
A Dbuiltin-trace.c4488 char oldname[PATH_MAX]; local
4490 scnprintf(oldname, sizeof(oldname), "%s.old", filename);
4491 unlink(oldname);
4492 rename(filename, oldname);
/linux/sound/pci/hda/
A Dpatch_realtek.c2082 static void rename_ctl(struct hda_codec *codec, const char *oldname, in rename_ctl() argument
2087 kctl = snd_hda_find_mixer_ctl(codec, oldname); in rename_ctl()

Completed in 131 milliseconds