Home
last modified time | relevance | path

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

/openbmc/openpower-pnor-code-mgmt/
H A Dfunctions.cpp352 auto elementFilePath = in getBiosAttrStr() local
359 std::filesystem::is_symlink(elementFilePath, ec)) in getBiosAttrStr()
361 auto target = std::filesystem::read_symlink(elementFilePath, ec); in getBiosAttrStr()
365 entry("LINK=%s", elementFilePath.c_str()), in getBiosAttrStr()
368 std::filesystem::remove(elementFilePath, ec); in getBiosAttrStr()
374 if (!std::filesystem::exists(elementFilePath)) in getBiosAttrStr()
376 std::filesystem::create_symlink(lidName, elementFilePath, ec); in getBiosAttrStr()
381 entry("LINK=%s", elementFilePath.c_str())); in getBiosAttrStr()