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

/linux-master/include/linux/
H 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);
H A Dsyscalls.h395 asmlinkage long sys_symlinkat(const char __user * oldname,
397 asmlinkage long sys_linkat(int olddfd, const char __user *oldname,
399 asmlinkage long sys_renameat(int olddfd, const char __user * oldname,
901 asmlinkage long sys_renameat2(int olddfd, const char __user *oldname,
999 asmlinkage long sys_link(const char __user *oldname,
1012 asmlinkage long sys_rename(const char __user *oldname,
H A Dnetdevice.h4811 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname);
/linux-master/tools/perf/util/
H A Ddata.c223 char oldname[PATH_MAX]; local
226 snprintf(oldname, sizeof(oldname), "%s.old",
229 ret = rm_rf_perf_data(oldname);
234 oldname);
238 if (rename(data->path, oldname)) {
241 data->path, oldname);
/linux-master/fs/
H A Dinit.c165 int __init init_link(const char *oldname, const char *newname) argument
172 error = kern_path(oldname, 0, &old_path);
200 int __init init_symlink(const char *oldname, const char *newname) argument
209 error = security_path_symlink(&path, dentry, oldname);
212 dentry, oldname);
H A Dnamei.c4455 * @oldname: name of the file to link to
4466 struct dentry *dentry, const char *oldname)
4477 error = security_inode_symlink(dir, dentry, oldname);
4481 error = dir->i_op->symlink(idmap, dir, dentry, oldname);
4520 SYSCALL_DEFINE3(symlinkat, const char __user *, oldname,
4523 return do_symlinkat(getname(oldname), newdfd, getname(newname));
4526 SYSCALL_DEFINE2(symlink, const char __user *, oldname, const char __user *, newname)
4528 return do_symlinkat(getname(oldname), AT_FDCWD, getname(newname));
4625 * We don't follow them on the oldname either to be compatible
4701 SYSCALL_DEFINE5(linkat, int, olddfd, const char __user *, oldname,
4465 vfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname) argument
[all...]
H A Dinternal.h59 int do_renameat2(int olddfd, struct filename *oldname, int newdfd,
/linux-master/fs/ocfs2/
H A Drefcounttree.h105 const char __user *oldname,
H A Drefcounttree.c4392 const char __user *oldname,
4403 error = user_path_at(AT_FDCWD, oldname, 0, &old_path);
4391 ocfs2_reflink_ioctl(struct inode *inode, const char __user *oldname, const char __user *newname, bool preserve) argument
/linux-master/kernel/livepatch/
H A Dtransition.c263 static int klp_check_stack(struct task_struct *task, const char **oldname) argument
284 *oldname = func->old_name;
/linux-master/net/9p/
H A Dprotocol.c150 const char *oldname, *newname; local
151 oldname = va_arg(ap, const char *);
154 /* olddirfid[4] oldname[s] newdirfid[4] newname[s] */
155 return hdr + 4 + P9_STRLEN(oldname) + 4 + P9_STRLEN(newname);
/linux-master/fs/smb/server/
H A Dvfs.h87 const char *oldname, const char *newname);
H A Dvfs.c631 * @oldname: source file name
636 int ksmbd_vfs_link(struct ksmbd_work *work, const char *oldname, argument
646 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath);
649 oldname, err);
/linux-master/scripts/kconfig/
H A Dconfdata.c860 char tmpname[PATH_MAX + 1], oldname[PATH_MAX + 1]; local
956 snprintf(oldname, sizeof(oldname), "%s.old", name);
957 rename(name, oldname);
/linux-master/fs/overlayfs/
H A Doverlayfs.h262 const char *oldname)
264 int err = vfs_symlink(ovl_upper_mnt_idmap(ofs), dir, dentry, oldname);
266 pr_debug("symlink(\"%s\", %pd2) = %i\n", oldname, dentry, err);
260 ovl_do_symlink(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry, const char *oldname) argument
/linux-master/fs/nfs/
H A Dnfs4trace.h1137 const struct qstr *oldname,
1143 TP_ARGS(olddir, oldname, newdir, newname, error),
1149 __string(oldname, oldname->name)
1159 __assign_str(oldname, oldname->name);
1164 "error=%ld (%s) oldname=%02x:%02x:%llu/%s "
1170 __get_str(oldname),
H A Dnfs4xdr.c1672 static void encode_rename(struct xdr_stream *xdr, const struct qstr *oldname, const struct qstr *newname, struct compound_hdr *hdr) argument
1675 encode_string(xdr, oldname->len, oldname->name);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h882 const char* oldname)
915 oldname);
881 BPF_KPROBE(kprobe__vfs_symlink, struct inode* dir, struct dentry* dentry, const char* oldname) argument
/linux-master/net/core/
H A Ddev.c1173 char oldname[IFNAMSIZ]; local
1190 memcpy(oldname, dev->name, IFNAMSIZ);
1198 if (oldname[0] && !strchr(oldname, '%'))
1199 netdev_info(dev, "renamed from %s%s\n", oldname,
1208 memcpy(dev->name, oldname, IFNAMSIZ);
1216 netdev_adjacent_rename_links(dev, oldname);
1232 memcpy(dev->name, oldname, IFNAMSIZ);
1233 memcpy(oldname, newname, IFNAMSIZ);
8388 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) argument
[all...]
/linux-master/tools/perf/
H A Dbuiltin-trace.c4397 char oldname[PATH_MAX]; local
4399 scnprintf(oldname, sizeof(oldname), "%s.old", filename);
4400 unlink(oldname);
4401 rename(filename, oldname);
/linux-master/sound/pci/hda/
H A Dpatch_realtek.c2142 static void rename_ctl(struct hda_codec *codec, const char *oldname, argument
2147 kctl = snd_hda_find_mixer_ctl(codec, oldname);

Completed in 418 milliseconds