Home
last modified time | relevance | path

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

/openbmc/linux/io_uring/
H A Dfs.c23 struct filename *newpath; member
46 struct filename *newpath; member
70 ren->newpath = getname(newf); in io_renameat_prep()
71 if (IS_ERR(ren->newpath)) { in io_renameat_prep()
73 return PTR_ERR(ren->newpath); in io_renameat_prep()
89 ren->newpath, ren->flags); in io_renameat()
101 putname(ren->newpath); in io_renameat_cleanup()
216 sl->newpath = getname(newpath); in io_symlinkat_prep()
217 if (IS_ERR(sl->newpath)) { in io_symlinkat_prep()
262 if (IS_ERR(lnk->newpath)) { in io_linkat_prep()
[all …]
/openbmc/qemu/qga/
H A Dchannel-win32.c287 gchar newpath[MAXPATHLEN] = {0}; in ga_channel_open() local
296 snprintf(newpath, sizeof(newpath), "\\\\.\\%s", path); in ga_channel_open()
298 g_strlcpy(newpath, path, sizeof(newpath)); in ga_channel_open()
301 c->handle = CreateFile(newpath, GENERIC_READ | GENERIC_WRITE, 0, NULL, in ga_channel_open()
306 g_critical("error opening path %s: %s", newpath, emsg); in ga_channel_open()
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dlocal.py52 newpath = path
59 newpath, hist = bb.utils.which(filespath, path, history=True)
60 logger.debug2("Using %s for %s" % (newpath, path))
/openbmc/openbmc/poky/scripts/lib/
H A Dscriptpath.py15 newpath = basepath + '/meta/lib'
16 sys.path.insert(0, newpath)
/openbmc/linux/tools/testing/selftests/openat2/
H A Dhelpers.c40 int newdirfd, const char *newpath, unsigned int flags) in sys_renameat2() argument
43 newdirfd, newpath, flags); in sys_renameat2()
H A Dhelpers.h100 int newdirfd, const char *newpath, unsigned int flags);
/openbmc/boost-dbus/include/dbus/
H A Dproperties.hpp557 std::string newpath(path); in get_xml_for_path() local
559 if (newpath == "/") { in get_xml_for_path()
560 newpath.assign(""); in get_xml_for_path()
572 if (object->object_name == newpath) { in get_xml_for_path()
662 } else if (boost::starts_with(object_name, newpath)) { in get_xml_for_path()
663 auto slash_index = object_name.find("/", newpath.size() + 1); in get_xml_for_path()
664 auto subnode = object_name.substr(newpath.size() + 1, in get_xml_for_path()
665 slash_index - newpath.size() - 1); in get_xml_for_path()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dcachedpath.py32 newpath = os.path.normpath(path)
33 self.normpathcache[path] = newpath
34 return newpath
/openbmc/u-boot/fs/yaffs2/
H A Dyaffsfs.h170 int yaffs_symlink(const YCHAR *oldpath, const YCHAR *newpath);
173 int yaffs_link(const YCHAR *oldpath, const YCHAR *newpath);
H A Dyaffsfs.c2986 int yaffs_symlink(const YCHAR *oldpath, const YCHAR *newpath) in yaffs_symlink() argument
2996 if (!oldpath || !newpath) { in yaffs_symlink()
3001 if (yaffsfs_CheckPath(newpath) < 0 || yaffsfs_CheckPath(oldpath) < 0) { in yaffs_symlink()
3007 parent = yaffsfs_FindDirectory(NULL, newpath, &name, 0, &notDir, &loop); in yaffs_symlink()
3023 (NULL, newpath, 0, 0, NULL, NULL, NULL)) in yaffs_symlink()
/openbmc/openbmc/meta-arm/meta-arm-toolchain/conf/distro/include/
H A Dtcmode-external-arm.inc116 newpath = os.path.join(bindir, base)
118 os.symlink(f, newpath)
122 bb.fatal("Unable to populate toolchain binary symlink for %s: %s" % (newpath, exc))
/openbmc/openbmc/poky/meta/recipes-devtools/expect/expect/
H A D0001-fixline1-fix-line-1.patch26 # Synopsis: fixline1 newpath < input > output
/openbmc/qemu/hw/9pfs/
H A D9p-proxy.c887 V9fsString newpath; in proxy_link() local
889 v9fs_string_init(&newpath); in proxy_link()
890 v9fs_string_sprintf(&newpath, "%s/%s", dirpath->data, name); in proxy_link()
892 retval = v9fs_request(ctx->private, T_LINK, NULL, oldpath, &newpath); in proxy_link()
893 v9fs_string_free(&newpath); in proxy_link()
914 const char *newpath) in proxy_rename() argument
923 v9fs_string_sprintf(&newname, "%s", newpath); in proxy_rename()
H A Dcofs.c270 V9fsPath *newpath) in v9fs_co_rename() argument
280 err = s->ops->rename(&s->ctx, oldpath->data, newpath->data); in v9fs_co_rename()
H A D9p-synth.c387 V9fsPath *newpath, const char *buf, FsCred *credp) in synth_symlink() argument
394 V9fsPath *newpath, const char *buf) in synth_link() argument
401 const char *newpath) in synth_rename() argument
H A D9p-local.c1348 const char *newpath) in local_rename() argument
1352 char *nname = g_path_get_basename(newpath); in local_rename()
1356 v9fs_path_init_dirname(&newdir, newpath); in local_rename()
H A D9p.c3332 V9fsPath oldpath, newpath; in v9fs_fix_fid_paths() local
3339 v9fs_path_init(&newpath); in v9fs_fix_fid_paths()
3344 err = v9fs_co_name_to_path(pdu, newdir, new_name->data, &newpath); in v9fs_fix_fid_paths()
3357 v9fs_fix_path(&tfidp->path, &newpath, strlen(oldpath.data)); in v9fs_fix_fid_paths()
3362 v9fs_path_free(&newpath); in v9fs_fix_fid_paths()
/openbmc/openbmc/poky/meta/classes/
H A Dchrpath.bbclass80newpath = "@loader_path/" + os.path.relpath(rpath, os.path.dirname(fpath.replace(rootdir, "/")))
81 …p = sub.Popen([d.expand("${HOST_PREFIX}install_name_tool"), '-change', rpath, newpath, fpath],stdo…
/openbmc/openbmc/poky/bitbake/lib/bblayers/
H A Daction.py228 newpath = os.path.join(outputdir, item[len(layerdir)+1:])
229 bbfiles_layer.append(newpath)
/openbmc/linux/fs/smb/server/
H A Dvfs.c639 struct path oldpath, newpath; in ksmbd_vfs_link() local
655 &newpath); in ksmbd_vfs_link()
663 if (oldpath.mnt != newpath.mnt) { in ksmbd_vfs_link()
668 err = vfs_link(oldpath.dentry, mnt_idmap(newpath.mnt), in ksmbd_vfs_link()
669 d_inode(newpath.dentry), in ksmbd_vfs_link()
675 done_path_create(&newpath, dentry); in ksmbd_vfs_link()
/openbmc/linux/tools/perf/util/
H A Ddso.c565 char newpath[KMOD_DECOMP_LEN]; in __open_dso() local
566 size_t len = sizeof(newpath); in __open_dso()
568 if (dso__decompress_kmodule_path(dso, name, newpath, len) < 0) { in __open_dso()
574 strcpy(name, newpath); in __open_dso()
/openbmc/bmcweb/include/
H A Dopenbmc_dbus_rest.hpp158 std::string newpath; in introspectObjects() local
161 newpath += objectPath; in introspectObjects()
163 newpath += std::string("/") + childPath; in introspectObjects()
165 introspectObjects(processName, newpath, transaction); in introspectObjects()
/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c30 const char *newpath, unsigned int flags) in renameat2() argument
32 return syscall(__NR_renameat2, olddirfd, oldpath, newdirfd, newpath, in renameat2()
1957 static int test_rename(const char *const oldpath, const char *const newpath) in test_rename() argument
1959 if (rename(oldpath, newpath)) in test_rename()
1964 static int test_exchange(const char *const oldpath, const char *const newpath) in test_exchange() argument
1966 if (renameat2(AT_FDCWD, oldpath, AT_FDCWD, newpath, RENAME_EXCHANGE)) in test_exchange()
/openbmc/qemu/qom/
H A Dobject.c2088 char *newpath, *path = NULL; in object_get_canonical_path() local
2105 newpath = g_strdup_printf("/%s%s", component, path ? path : ""); in object_get_canonical_path()
2107 path = newpath; in object_get_canonical_path()
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dstandard.py1182 newpath = os.path.join(newrecipedir, entry)
1183 logger.info('Renaming %s to %s' % (oldpath, newpath))
1184 shutil.move(oldpath, newpath)