Home
last modified time | relevance | path

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

/openbmc/openpower-vpd-parser/
H A Dimpl.hpp76 const std::string& vpdFilePath, uint32_t vpdStartOffset) : in Impl() argument
77 vpd(vpdBuffer), inventoryPath(path), vpdFilePath(vpdFilePath), in Impl()
86 vpdFileStream.open(vpdFilePath,
91 std::cerr << "Exception in file handling [" << vpdFilePath
197 inventory::Path vpdFilePath; member in openpower::vpd::parser::Impl
H A Dibm_vpd_app.cpp931 parseVpdFile(const std::string& vpdFilePath, const nlohmann::json& js) in parseVpdFile() argument
934 for (const auto& item : js["frus"][vpdFilePath]) in parseVpdFile()
943 Binary vpdVector = getVpdDataInVector(js, vpdFilePath); in parseVpdFile()
947 (pimPath + js["frus"][vpdFilePath][0]["inventoryPath"] in parseVpdFile()
949 vpdFilePath, vpdStartOffset); in parseVpdFile()
1004 void updateVpdDataOnHw(const std::string& vpdFilePath, nlohmann::json& js, in updateVpdDataOnHw() argument
1009 js["frus"][vpdFilePath][0]["inventoryPath"] in updateVpdDataOnHw()
1012 EditorImpl edit(vpdFilePath, js, recName, kwName, fruInvPath); in updateVpdDataOnHw()
1016 for (const auto& item : js["frus"][vpdFilePath]) in updateVpdDataOnHw()
/openbmc/openpower-vpd-parser/vpd-parser/
H A Dipz_parser.hpp40 const std::string& vpdFilePath, uint32_t vpdStartOffset) : in IpzVpdParser() argument
41 vpd(VpdVector), inventoryPath(path), vpdFilePath(vpdFilePath), in IpzVpdParser()
73 const std::string vpdFilePath; member in openpower::vpd::ipz::parser::IpzVpdParser
H A Dipz_parser.cpp18 Impl p(vpd, inventoryPath, vpdFilePath, vpdStartOffset); in parse()
25 Impl p(vpd, inventoryPath, vpdFilePath, vpdStartOffset); in processHeader()
H A Dparser_factory.cpp29 const std::string& vpdFilePath, uint32_t vpdStartOffset) in getParser() argument
37 return new IpzVpdParser(vpdVector, inventoryPath, vpdFilePath, in getParser()
H A Dparser_factory.hpp40 const std::string& vpdFilePath, uint32_t vpdStartOffset);
/openbmc/openpower-vpd-parser/vpd-manager/
H A Dmanager.cpp474 EditorImpl edit(vpdFilePath, jsonFile, recordName, keyword, objPath); in writeKeyword()
478 for (const auto& item : jsonFile["frus"][vpdFilePath]) in writeKeyword()
694 inventory::Path vpdFilePath = std::get<0>(frus.find(objPath)->second); in collectFRUVPD() local
715 if ((jsonFile["frus"][vpdFilePath].at(0)).find("preAction") != in collectFRUVPD()
716 jsonFile["frus"][vpdFilePath].at(0).end()) in collectFRUVPD()
718 if (!executePreAction(jsonFile, vpdFilePath)) in collectFRUVPD()
738 if (!filesystem::exists(vpdFilePath)) in collectFRUVPD()
743 executePostFailAction(jsonFile, vpdFilePath); in collectFRUVPD()
756 string chipAddr = jsonFile["frus"][vpdFilePath].at(0).value( in collectFRUVPD()
861 inventory::Path& vpdFilePath = std::get<0>(frus.find(objPath)->second); in deleteFRUVPD() local
[all …]
H A Deditor_impl.hpp54 vpdFilePath(path), objPath(inventoryPath), startOffset(0), in EditorImpl()
67 vpdFilePath(path), jsonFile(json), thisRecord(record, kwd) in EditorImpl()
171 inventory::Path vpdFilePath; member in openpower::vpd::manager::editor::EditorImpl
H A Deditor_impl.cpp406 jsonFile["frus"][vpdFilePath].get_ref<const nlohmann::json::array_t&>(); in updateCache()
608 vpdFileStream.open(vpdFilePath, in updateKeyword()
612 std::min(std::filesystem::file_size(vpdFilePath), MAX_VPD_SIZE); in updateKeyword()
615 std::cerr << "File size is 0 for " << vpdFilePath << std::endl; in updateKeyword()
627 std::cerr << "Exception in file handling [" << vpdFilePath in updateKeyword()
636 jsonFile["frus"].find(vpdFilePath) != jsonFile["frus"].end()) in updateKeyword()
638 objPath = jsonFile["frus"][vpdFilePath][0]["inventoryPath"] in updateKeyword()
659 completeVPDFile, objPath, vpdFilePath, startOffset); in updateKeyword()
716 "Could not find start tag in VPD " + vpdFilePath); in updateKeyword()