Home
last modified time | relevance | path

Searched full:linkpath (Results 1 – 8 of 8) sorted by relevance

/openbmc/telemetry/tests/src/
H A Dtest_persistent_json_storage.cpp123 auto linkPath = in setupSymlinks() local
127 std::filesystem::create_symlink(originalFile, linkPath); in setupSymlinks()
128 return interfaces::JsonStorage::FilePath(linkPath); in setupSymlinks()
138 auto linkPath = std::filesystem::path(directory) / "reportLink"; in setupSymlinks() local
142 linkPath); in setupSymlinks()
144 linkPath / originalFile.filename()); in setupSymlinks()
158 linkPath = T::setupSymlinks(dummyReportPath, directory); in TestPersistentJsonStorageWithSymlink()
177 interfaces::JsonStorage::FilePath linkPath; member in TestPersistentJsonStorageWithSymlink
195 ASSERT_THROW(TestPersistentJsonStorage::sut.store(TestFixture::linkPath, in TYPED_TEST()
205 ASSERT_THAT(TestPersistentJsonStorage::sut.load(TestFixture::linkPath), in TYPED_TEST()
[all …]
/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_functions.cpp264 std::filesystem::path linkPath = workdir / "link"; in TEST() local
266 std::ofstream link{linkPath}; in TEST()
267 functions::process_hostfirmware::writeLink(linkPath.filename(), targetPath, in TEST()
279 auto linkPath = workdir / "link"; in TEST() local
281 std::ofstream link{linkPath}, target{targetPath}; in TEST()
282 functions::process_hostfirmware::writeLink(linkPath.filename(), targetPath, in TEST()
300 auto linkPath = workdir / "link"; in TEST() local
302 std::ofstream link{linkPath}, file{filePath}; in TEST()
303 functions::process_hostfirmware::writeLink(linkPath.filename(), targetPath, in TEST()
320 auto linkPath = workdir / "baz"; in TEST() local
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dpopulate_sdk_base.bbclass298 def check_symlink(linkPath):
299 if not os.path.islink(linkPath):
302 linkDirPath = os.path.dirname(linkPath)
304 targetPath = os.readlink(linkPath)
310 bb.error("Escaping symlink {0!s} --> {1!s}".format(linkPath, targetPath))
314 bb.error("Broken symlink {0!s} --> {1!s}".format(linkPath, targetPath))
H A Dkernel.bbclass306 linkpath=`readlink -n ${KERNEL_OUTPUT_DIR}/$imageType`
309 tmp_path=$tmp_path" "$imageType"#"$linkpath"#"$realpath
320 linkpath=`echo $tp|cut -d "#" -f 2`
325 ln -sf $linkpath.initramfs ${B}/${KERNEL_OUTPUT_DIR}/$imageType.initramfs
/openbmc/openpower-pnor-code-mgmt/
H A Dfunctions.cpp138 * @param[in] linkPath The link path argument to std::filesystem::create_symlink
142 const std::filesystem::path& linkPath, in writeLink() argument
149 if (!std::filesystem::remove(linkPath, ec)) in writeLink()
153 makeCallback(errorCallback, linkPath, ec); in writeLink()
158 std::filesystem::create_symlink(linkTarget, linkPath, ec); in writeLink()
161 makeCallback(errorCallback, linkPath, ec); in writeLink()
226 auto linkPath(file.parent_path().append( in findLinks() local
229 makeCallback(linkCallback, file.filename(), linkPath, errorCallback); in findLinks()
/openbmc/dbus-sensors/src/fan/
H A DFanMain.cpp91 std::filesystem::path linkPath = parentPath / "of_node"; in getFanType() local
92 if (!std::filesystem::exists(linkPath)) in getFanType()
97 std::string canonical = std::filesystem::canonical(linkPath); in getFanType()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffsfs.c3070 int yaffs_link(const YCHAR *oldpath, const YCHAR *linkpath) in yaffs_link() argument
3084 if (!oldpath || !linkpath) { in yaffs_link()
3089 if (yaffsfs_CheckPath(linkpath) < 0 || yaffsfs_CheckPath(oldpath) < 0) { in yaffs_link()
3098 lnk = yaffsfs_FindObject(NULL, linkpath, 0, 0, NULL, NULL, NULL); in yaffs_link()
3099 lnk_dir = yaffsfs_FindDirectory(NULL, linkpath, &newname, in yaffs_link()
/openbmc/intel-ipmi-oem/src/
H A Dmanufacturingcommands.cpp1475 std::string linkPath = std::filesystem::read_symlink(muxSymlinkDirPath); in muxSlotDisable() local
1478 if (!getBusNumFromPath(linkPath, portNum)) in muxSlotDisable()