Home
last modified time | relevance | path

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

/openbmc/phosphor-logging/
H A Dlog_manager.cpp75 return entryId; in commit()
83 return entryId; in commitWithLvl()
229 entryId++; in createEntry()
232 infoErrors.push_back(entryId); in createEntry()
236 realErrors.push_back(entryId); in createEntry()
241 auto objPath = std::string(OBJ_ENTRY) + '/' + std::to_string(entryId); in createEntry()
248 busLog, objPath, entryId, in createEntry()
251 std::move(objects), fwVersion, getEntrySerializePath(entryId), *this); in createEntry()
258 quiesceOnError(entryId); in createEntry()
262 entries.insert(std::make_pair(entryId, std::move(e))); in createEntry()
[all …]
H A Delog_block.hpp43 Block(sdbusplus::bus_t& bus, const std::string& path, uint32_t entryId) : in Block() argument
44 BlockIface(bus, path.c_str()), entryId(entryId) in Block()
47 std::string(OBJ_ENTRY) + '/' + std::to_string(entryId)}; in Block()
54 uint32_t entryId; member in phosphor::logging::Block
H A Dlog_manager.hpp75 entryId(0), fwVersion(readFWVersion()) {}; in Manager()
107 void erase(uint32_t entryId);
167 return entryId; in lastEntryID()
206 void quiesceOnError(const uint32_t entryId);
220 void checkAndRemoveBlockingError(uint32_t entryId);
307 uint32_t entryId; member in phosphor::logging::internal::Manager
H A Delog_entry.hpp102 Entry(sdbusplus::bus_t& bus, const std::string& path, uint32_t entryId, in Entry() argument
107 id(entryId, true); in Entry()
/openbmc/openpower-pnor-code-mgmt/
H A Ditem_updater.cpp174 bool ItemUpdater::erase(std::string entryId) in erase() argument
176 if (isVersionFunctional(entryId) && isChassisOn()) in erase()
178 log<level::ERR>(("Error: Version " + entryId + in erase()
186 auto it = versions.find(entryId); in erase()
189 log<level::ERR>(("Error: Failed to find version " + entryId + in erase()
196 versions.erase(entryId); in erase()
200 auto ita = activations.find(entryId); in erase()
203 log<level::ERR>(("Error: Failed to find version " + entryId + in erase()
211 activations.erase(entryId); in erase()
H A Ditem_updater.hpp115 virtual bool erase(std::string entryId);
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/
H A Ditem_updater_helper.cpp19 void Helper::setEntry(const std::string& entryId, uint8_t value) in setEntry() argument
21 std::string serviceFile = "obmc-flash-bmc-setenv@" + entryId + "\\x3d" + in setEntry()
29 void Helper::clearEntry(const std::string& entryId) in clearEntry() argument
32 auto serviceFile = "obmc-flash-bmc-setenv@" + entryId + ".service"; in clearEntry()
/openbmc/phosphor-debug-collector/
H A Ddump_manager.cpp8 void Manager::erase(uint32_t entryId) in erase() argument
10 entries.erase(entryId); in erase()
H A Ddump_manager.hpp60 void erase(uint32_t entryId);
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Ditem_updater_helper.hpp38 void setEntry(const std::string& entryId, uint8_t value);
44 void clearEntry(const std::string& entryId);
H A Ditem_updater.cpp490 void ItemUpdater::erase(std::string entryId) in erase() argument
493 auto it = versions.find(entryId); in erase()
500 "VERSIONID", entryId); in erase()
511 auto iteratorActivations = activations.find(entryId); in erase()
516 "VERSIONID", entryId); in erase()
522 this->activations.erase(entryId); in erase()
534 removeReadOnlyPartition(entryId); in erase()
540 this->versions.erase(entryId); in erase()
544 auto updateManagerIt = updateManagers.find(entryId); in erase()
547 updateManagers.erase(entryId); in erase()
H A Dimage_manager.cpp243 void Manager::erase(const std::string& entryId) in erase() argument
245 auto it = versions.find(entryId); in erase()
258 this->versions.erase(entryId); in erase()
H A Dimage_manager.hpp46 void erase(const std::string& entryId);
H A Ditem_updater.hpp203 void erase(std::string entryId);
/openbmc/phosphor-certificate-manager/bmc-vmi-ca/
H A Dca_cert_entry.hpp48 Entry(sdbusplus::bus_t& bus, const std::string& objPath, uint32_t entryId, in Entry() argument
52 bus(bus), id(entryId), manager(manager) in Entry()
H A Dca_certs_manager.cpp55 void CACertMgr::erase(uint32_t entryId) in erase() argument
57 entries.erase(entryId); in erase()
H A Dca_certs_manager.hpp55 void erase(uint32_t entryId);
/openbmc/bmcweb/redfish-core/lib/
H A Dsystems_logservices_postcodes.hpp326 const std::string& entryId) in getPostCodeForEntry() argument
330 if (!parsePostCode(entryId, codeIndex, bootIndex)) in getPostCodeForEntry()
333 messages::resourceNotFound(asyncResp->res, "LogEntry", entryId); in getPostCodeForEntry()
340 messages::resourceNotFound(asyncResp->res, "LogEntry", entryId); in getPostCodeForEntry()
345 [asyncResp, entryId, bootIndex, in getPostCodeForEntry()
359 messages::resourceNotFound(asyncResp->res, "LogEntry", entryId); in getPostCodeForEntry()
365 messages::resourceNotFound(asyncResp->res, "LogEntry", entryId); in getPostCodeForEntry()
H A Dlog_services.hpp1806 const std::string& entryId) in dBusEventLogEntryPatch() argument
1817 "/xyz/openbmc_project/logging/entry/" + entryId, in dBusEventLogEntryPatch()
1866 const std::string& systemName, const std::string& entryId) { in requestRoutesDBusEventLogEntry() argument
1885 dBusEventLogEntryGet(asyncResp, entryId); in requestRoutesDBusEventLogEntry()
1894 const std::string& systemName, const std::string& entryId) { in requestRoutesDBusEventLogEntry() argument
1913 dBusEventLogEntryPatch(req, asyncResp, entryId); in requestRoutesDBusEventLogEntry()
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Ditem_updater_ubi.cpp316 bool ItemUpdaterUbi::erase(std::string entryId) in erase() argument
318 if (!ItemUpdater::erase(entryId)) in erase()
324 removeFile(entryId); in erase()
327 removeReadWritePartition(entryId); in erase()
328 removeReadOnlyPartition(entryId); in erase()
H A Ditem_updater_ubi.hpp49 bool erase(std::string entryId) override;
/openbmc/phosphor-certificate-manager/test/
H A Dca_certs_manager_test.cpp32 void erase(uint32_t entryId) in erase() argument
34 CACertMgr::erase(entryId); in erase()
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dldap_config.cpp748 entryId++; in create()
753 mapperObjectPath /= std::to_string(entryId); in create()
765 PrivilegeMapperList.emplace(entryId, std::move(entry)); in create()
845 if (idNum > entryId) in restoreRoleMapping()
847 entryId = idNum; in restoreRoleMapping()
H A Dldap_config.hpp264 Id entryId = 0; member in phosphor::ldap::Config
/openbmc/phosphor-user-manager/test/
H A Dldap_config_test.cpp784 size_t entryId = 1; in TEST_F() local
786 "/active_directory/role_map/" + std::to_string(entryId); in TEST_F()