Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/
H A Dgbmc-br-hostname.sh19 oldname=
23 [[ "$oldname" == "$name" ]] && continue
24 oldname="$name"
/openbmc/linux/fs/
H 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()
H A Dnamei.c4458 struct dentry *dentry, const char *oldname) in vfs_symlink() argument
4469 error = security_inode_symlink(dir, dentry, oldname); in vfs_symlink()
4473 error = dir->i_op->symlink(idmap, dir, dentry, oldname); in vfs_symlink()
4512 SYSCALL_DEFINE3(symlinkat, const char __user *, oldname, in SYSCALL_DEFINE3() argument
4515 return do_symlinkat(getname(oldname), newdfd, getname(newname)); in SYSCALL_DEFINE3()
4520 return do_symlinkat(getname(oldname), AT_FDCWD, getname(newname)); in SYSCALL_DEFINE2()
4693 SYSCALL_DEFINE5(linkat, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE5() argument
4696 return do_linkat(olddfd, getname_uflags(oldname, flags), in SYSCALL_DEFINE5()
5055 SYSCALL_DEFINE5(renameat2, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE5() argument
5062 SYSCALL_DEFINE4(renameat, int, olddfd, const char __user *, oldname, in SYSCALL_DEFINE4() argument
[all …]
H A Dinternal.h59 int do_renameat2(int olddfd, struct filename *oldname, int newdfd,
/openbmc/linux/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.h393 asmlinkage long sys_symlinkat(const char __user * oldname,
395 asmlinkage long sys_linkat(int olddfd, const char __user *oldname,
397 asmlinkage long sys_renameat(int olddfd, const char __user * oldname,
889 asmlinkage long sys_renameat2(int olddfd, const char __user *oldname,
982 asmlinkage long sys_link(const char __user *oldname,
995 asmlinkage long sys_rename(const char __user *oldname,
H A Dnetdevice.h4831 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname);
/openbmc/linux/tools/perf/util/
H A Ddata.c211 char oldname[PATH_MAX]; in check_backup() local
214 snprintf(oldname, sizeof(oldname), "%s.old", in check_backup()
217 ret = rm_rf_perf_data(oldname); in check_backup()
222 oldname); in check_backup()
226 if (rename(data->path, oldname)) { in check_backup()
229 data->path, oldname); in check_backup()
/openbmc/qemu/hw/9pfs/
H A Dcofs.c289 V9fsString *oldname, V9fsPath *newdirpath, in v9fs_co_renameat() argument
300 err = s->ops->renameat(&s->ctx, olddirpath, oldname->data, in v9fs_co_renameat()
/openbmc/linux/kernel/livepatch/
H A Dtransition.c263 static int klp_check_stack(struct task_struct *task, const char **oldname) in klp_check_stack() argument
284 *oldname = func->old_name; in klp_check_stack()
/openbmc/linux/fs/ocfs2/
H A Drefcounttree.h105 const char __user *oldname,
H A Drefcounttree.c4414 const char __user *oldname, in ocfs2_reflink_ioctl() argument
4425 error = user_path_at(AT_FDCWD, oldname, 0, &old_path); in ocfs2_reflink_ioctl()
/openbmc/linux/scripts/kconfig/
H A Dconfdata.c917 char tmpname[PATH_MAX + 1], oldname[PATH_MAX + 1]; in conf_write() local
1014 snprintf(oldname, sizeof(oldname), "%s.old", name); in conf_write()
1015 rename(name, oldname); in conf_write()
/openbmc/linux/net/9p/
H A Dprotocol.c150 const char *oldname, *newname; in p9_msg_buf_size() local
151 oldname = va_arg(ap, const char *); in p9_msg_buf_size()
155 return hdr + 4 + P9_STRLEN(oldname) + 4 + P9_STRLEN(newname); in p9_msg_buf_size()
/openbmc/linux/fs/smb/server/
H A Dvfs.h87 const char *oldname, const char *newname);
H A Dvfs.c636 int ksmbd_vfs_link(struct ksmbd_work *work, const char *oldname, in ksmbd_vfs_link() argument
646 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath); in ksmbd_vfs_link()
649 oldname, err); in ksmbd_vfs_link()
/openbmc/linux/fs/overlayfs/
H A Doverlayfs.h250 const char *oldname) in ovl_do_symlink() argument
252 int err = vfs_symlink(ovl_upper_mnt_idmap(ofs), dir, dentry, oldname); in ovl_do_symlink()
254 pr_debug("symlink(\"%s\", %pd2) = %i\n", oldname, dentry, err); in ovl_do_symlink()
/openbmc/linux/fs/nfs/
H A Dnfs4trace.h1107 const struct qstr *oldname,
1113 TP_ARGS(olddir, oldname, newdir, newname, error),
1119 __string(oldname, oldname->name)
1129 __assign_str(oldname, oldname->name);
1140 __get_str(oldname),
H 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()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffsfs.c1485 YCHAR *oldname; in yaffs_rename() local
1515 olddir = yaffsfs_FindDirectory(NULL, oldPath, &oldname, 0, in yaffs_rename()
1529 oldname = NULL; in yaffs_rename()
1537 } else if (olddir && oldname && in yaffs_rename()
1538 yaffs_strncmp(oldname, _Y("."), 2) == 0) { in yaffs_rename()
1574 result = yaffs_rename_obj(olddir, oldname, newdir, newname); in yaffs_rename()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h905 const char* oldname) in BPF_KPROBE() argument
938 oldname); in BPF_KPROBE()
/openbmc/linux/net/core/
H A Ddev.c1214 char oldname[IFNAMSIZ]; in dev_change_name() local
1231 memcpy(oldname, dev->name, IFNAMSIZ); in dev_change_name()
1239 if (oldname[0] && !strchr(oldname, '%')) in dev_change_name()
1240 netdev_info(dev, "renamed from %s%s\n", oldname, in dev_change_name()
1249 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name()
1257 netdev_adjacent_rename_links(dev, oldname); in dev_change_name()
1277 memcpy(dev->name, oldname, IFNAMSIZ); in dev_change_name()
1278 memcpy(oldname, newname, IFNAMSIZ); in dev_change_name()
8336 void netdev_adjacent_rename_links(struct net_device *dev, char *oldname) in netdev_adjacent_rename_links() argument
8345 netdev_adjacent_sysfs_del(iter->dev, oldname, in netdev_adjacent_rename_links()
[all …]
/openbmc/linux/fs/affs/
H A DChanges257 you to do "mv oldname OldName").
/openbmc/linux/tools/perf/
H A Dbuiltin-trace.c4393 char oldname[PATH_MAX]; local
4395 scnprintf(oldname, sizeof(oldname), "%s.old", filename);
4396 unlink(oldname);
4397 rename(filename, oldname);
/openbmc/linux/sound/pci/hda/
H A Dpatch_realtek.c2148 static void rename_ctl(struct hda_codec *codec, const char *oldname, in rename_ctl() argument
2153 kctl = snd_hda_find_mixer_ctl(codec, oldname); in rename_ctl()