Searched refs:UserHeader (Results 1 – 10 of 10) sorted by relevance
/openbmc/openpower-hw-diags/attn/pel/ |
H A D | user_header.hpp | 33 class UserHeader : public Section class 36 UserHeader() = delete; 37 ~UserHeader() = default; 38 UserHeader(const UserHeader&) = default; 39 UserHeader& operator=(const UserHeader&) = default; 40 UserHeader(UserHeader&&) = default; 41 UserHeader& operator=(UserHeader&&) = default; 50 explicit UserHeader(Stream& pel);
|
H A D | user_header.cpp | 8 UserHeader::UserHeader(Stream& pel) in UserHeader() function in attn::pel::UserHeader 13 void UserHeader::flatten(Stream& stream) const in flatten() 20 void UserHeader::unflatten(Stream& stream) in unflatten() 27 void UserHeader::setSubsystem(uint8_t subsystem) in setSubsystem() 32 void UserHeader::setSeverity(uint8_t severity) in setSeverity() 37 void UserHeader::setType(uint8_t type) in setType() 42 void UserHeader::setAction(uint16_t action) in setAction()
|
H A D | pel_minimal.hpp | 157 std::unique_ptr<UserHeader> _uh;
|
H A D | pel_minimal.cpp | 20 _uh = std::make_unique<UserHeader>(pelData); in initialize()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | user_header.hpp | 30 class UserHeader : public Section class 33 UserHeader() = delete; 34 ~UserHeader() = default; 35 UserHeader(const UserHeader&) = default; 36 UserHeader& operator=(const UserHeader&) = default; 37 UserHeader(UserHeader&&) = default; 38 UserHeader& operator=(UserHeader&&) = default; 51 UserHeader(const message::Entry& entry, 63 explicit UserHeader(Stream& pel);
|
H A D | user_header.cpp | 35 void UserHeader::unflatten(Stream& stream) in unflatten() 42 void UserHeader::flatten(Stream& stream) const in flatten() 49 UserHeader::UserHeader(const message::Entry& entry, in UserHeader() function in openpower::pels::UserHeader 55 _header.size = UserHeader::flattenedSize(); in UserHeader() 218 UserHeader::UserHeader(Stream& pel) in UserHeader() function in openpower::pels::UserHeader 232 void UserHeader::validate() in validate() 252 std::optional<std::string> UserHeader::getJSON(uint8_t creatorID) const in getJSON() 297 std::optional<uint8_t> UserHeader::getSeverity( in getSeverity()
|
H A D | pel.hpp | 187 const UserHeader& userHeader() const in userHeader() 441 std::unique_ptr<UserHeader> _uh;
|
H A D | section_factory.cpp | 58 section = std::make_unique<UserHeader>(pelData); in create()
|
H A D | pel.cpp | 102 _uh = std::make_unique<UserHeader>(regEntry, severity, additionalData, in PEL() 229 _uh = std::make_unique<UserHeader>(pelData); in populateFromRawData()
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | user_header_test.cpp | 30 EXPECT_EQ(UserHeader::flattenedSize(), 24); in TEST() 38 UserHeader uh(stream); in TEST() 42 EXPECT_EQ(uh.header().size, UserHeader::flattenedSize()); in TEST() 70 UserHeader uh(stream); in TEST() 83 UserHeader uh(stream); in TEST() 95 UserHeader uh(stream); in TEST() 117 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 122 EXPECT_EQ(uh.header().size, UserHeader::flattenedSize()); in TEST() 208 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() 272 UserHeader uh(regEntry, phosphor::logging::Entry::Level::Error, ad, in TEST() [all …]
|