Home
last modified time | relevance | path

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

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Drepository.hpp63 struct LogID struct in openpower::pels::Repository
80 LogID(Pel pel, Obmc obmc) : pelID(pel), obmcID(obmc) {} in LogID() function
82 explicit LogID(Pel id) : pelID(id), obmcID(0) {} in LogID() function
84 explicit LogID(Obmc id) : pelID(0), obmcID(id) {} in LogID() function
86 LogID() = delete;
93 bool operator==(const LogID& id) const in operator ==() argument
106 bool operator<(const LogID& id) const in operator <() argument
113 std::reference_wrapper<const std::pair<const LogID, PELAttributes>>;
182 std::optional<LogID> remove(const LogID& id);
200 inline bool hasPEL(const LogID& id) in hasPEL()
[all …]
H A Drepository.cpp130 using pelID = LogID::Pel; in restore()
131 using obmcID = LogID::Obmc; in restore()
133 LogID(pelID(pel.id()), obmcID(pel.obmcLogID())), in restore()
192 using pelID = LogID::Pel; in add()
193 using obmcID = LogID::Obmc; in add()
194 _pelAttributes.emplace(LogID(pelID(pel->id()), obmcID(pel->obmcLogID())), in add()
236 std::optional<Repository::LogID> Repository::remove(const LogID& id) in remove()
244 LogID actualID = pel->first; in remove()
274 std::optional<std::vector<uint8_t>> Repository::getPELData(const LogID& id) in getPELData()
296 std::optional<sdbusplus::message::unix_fd> Repository::getPELFD(const LogID& id) in getPELFD()
[all …]
H A Dmanager.cpp155 const Repository::LogID id{Repository::LogID::Pel(pel->id())}; in addPEL()
297 Repository::LogID id{Repository::LogID::Obmc(obmcLogID)}; in erase()
437 Repository::LogID id{Repository::LogID::Pel(pelID)}; in getPEL()
476 Repository::LogID id{Repository::LogID::Obmc(obmcLogID)}; in getPELFromOBMCID()
500 Repository::LogID id{Repository::LogID::Pel(pelID)}; in hostAck()
517 Repository::LogID id{Repository::LogID::Pel(pelID)}; in hostReject()
631 Repository::LogID id{Repository::LogID::Pel(pelID)}; in pelFileDeleted()
899 Repository::LogID id{Repository::LogID::Obmc(obmcLogID)}; in setEntryPath()
913 Repository::LogID id{Repository::LogID::Obmc(obmcLogID)}; in setServiceProviderNotifyFlag()
937 Repository::LogID id{Repository::LogID::Obmc(obmcLogID)}; in createPELEntry()
[all …]
H A Dhost_notifier.cpp97 Repository::LogID i{Repository::LogID::Pel{id}}; in enqueueRequired()
138 Repository::LogID i{Repository::LogID::Pel{id}}; in notifyRequired()
291 Repository::LogID i{Repository::LogID::Pel{id}}; in doNewLogNotify()
H A Dpel_entry.cpp21 Repository::LogID id{Repository::LogID::Obmc(getMyId())}; in managementSystemAck()
/openbmc/phosphor-logging/test/openpower-pels/
H A Drepository_test.cpp94 using pelID = Repository::LogID::Pel; in TEST_F()
95 using obmcID = Repository::LogID::Obmc; in TEST_F()
105 Repository::LogID id{pelID{pel->id()}, obmcID{pel->obmcLogID()}}; in TEST_F()
121 using pelID = Repository::LogID::Pel; in TEST_F()
122 using obmcID = Repository::LogID::Obmc; in TEST_F()
124 std::vector<Repository::LogID> ids; in TEST_F()
152 Repository::LogID id(pelID(ids[0].pelID)); in TEST_F()
191 using ID = Repository::LogID; in TEST_F()
272 using ID = Repository::LogID; in TEST_F()
307 using ID = Repository::LogID; in TEST_F()
[all …]
H A Dhost_notifier_test.cpp310 Repository::LogID id{Repository::LogID::Pel{pel->id()}}; in TEST_F()
594 Repository::LogID id{Repository::LogID::Pel{id1}}; in TEST_F()
643 Repository::LogID i{Repository::LogID::Pel{id}}; in TEST_F()
723 Repository::LogID i{Repository::LogID::Pel{id}}; in TEST_F()