/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-elog.c | 138 kfree(elog); in elog_release() 168 elog->buffer = kzalloc(elog->size, GFP_KERNEL); in raw_attr_read() 173 elog->size, elog->id); in raw_attr_read() 176 elog->id); in raw_attr_read() 193 elog = kzalloc(sizeof(*elog), GFP_KERNEL); in create_elog_obj() 194 if (!elog) in create_elog_obj() 208 elog->id = id; in create_elog_obj() 209 elog->size = size; in create_elog_obj() 212 elog->buffer = kzalloc(elog->size, GFP_KERNEL); in create_elog_obj() 216 elog->size, elog->id); in create_elog_obj() [all …]
|
/openbmc/phosphor-logging/test/ |
H A D | elog_update_ts_test.cpp | 67 Entry elog{bus, in TEST() local 79 EXPECT_EQ(elog.timestamp(), elog.updateTimestamp()); in TEST() 83 elog.resolved(true); in TEST() 85 EXPECT_NE(updateTS, elog.timestamp()); in TEST() 89 elog.resolved(false); in TEST() 91 updateTS = elog.updateTimestamp(); in TEST() 96 elog.resolved(false); in TEST() 138 Entry elog{bus, in TEST() local 152 EXPECT_THROW(elog.resolved(true), in TEST() 159 EXPECT_NO_THROW(elog.resolved(true)); in TEST() [all …]
|
H A D | elog_quiesce_test.cpp | 47 Entry elog{mockedBus, in TEST_F() local 59 EXPECT_EQ(manager.isCalloutPresent(elog), false); in TEST_F() 75 Entry elog{mockedBus, in TEST_F() local 87 EXPECT_EQ(manager.isCalloutPresent(elog), true); in TEST_F() 114 Entry elog{mockedBus, in TEST_F() local 171 Entry elog{mockedBus, in TEST_F() local 198 elog.resolved(true); in TEST_F() 230 Entry elog{mockedBus, in TEST_F() local
|
/openbmc/phosphor-certificate-manager/ |
H A D | x509_utils.cpp | 30 using ::phosphor::logging::elog; 64 elog<InternalFailure>(); in getX509Store() 76 elog<InternalFailure>(); in getX509Store() 100 elog<InternalFailure>(); in loadCert() 108 elog<InternalFailure>(); in loadCert() 116 elog<InternalFailure>(); in loadCert() 138 elog<InvalidCertificate>( in validateCertificateStartDate() 150 elog<InternalFailure>(); in validateCertificateAgainstStore() 157 elog<InternalFailure>(); in validateCertificateAgainstStore() 183 elog<InternalFailure>(); in validateCertificateAgainstStore() [all …]
|
H A D | certs_manager.cpp | 48 using ::phosphor::logging::elog; 102 elog<InternalFailure>(); in splitCertificates() 303 elog<InternalFailure>(); in installAll() 419 elog<InternalFailure>(); in deleteCertificate() 604 elog<InvalidArgument>( in generateCSRHelper() 614 elog<InternalFailure>(); in generateCSRHelper() 626 elog<InternalFailure>(); in generateCSRHelper() 665 elog<InternalFailure>(); in generateRSAKeyPair() 676 elog<InternalFailure>(); in generateRSAKeyPair() 686 elog<InternalFailure>(); in generateRSAKeyPair() [all …]
|
H A D | certificate.cpp | 42 using ::phosphor::logging::elog; 110 elog<InternalFailure>(); in dumpCertificate() 150 elog<InternalFailure>(); in generateUniqueFilePath() 180 elog<InternalFailure>(); in generateAuthCertFileX509Path() 315 elog<InternalFailure>(); in install() 333 elog<InternalFailure>(); in install() 351 elog<InternalFailure>(); in install() 363 elog<InternalFailure>(); in install() 403 elog<InternalFailure>(); in install() 563 elog<InternalFailure>(); in checkAndAppendPrivateKey() [all …]
|
H A D | csr.cpp | 25 using ::phosphor::logging::elog; 47 elog<InternalFailure>(); in csr() 55 elog<InternalFailure>(); in csr() 69 elog<InternalFailure>(); in csr() 78 elog<InternalFailure>(); in csr()
|
/openbmc/phosphor-logging/ |
H A D | logging_test.cpp | 95 elog<example::xyz::openbmc_project::example::elog::TestErrorOne>( in elog_test() 96 example::xyz::openbmc_project::example::elog::TestErrorOne::ERRNUM( in elog_test() 98 example::xyz::openbmc_project::example::elog::TestErrorOne:: in elog_test() 100 example::xyz::openbmc_project::example::elog::TestErrorOne:: in elog_test() 102 example::xyz::openbmc_project::example::elog::TestErrorTwo:: in elog_test() 106 example::xyz::openbmc_project::example::elog::TestErrorTwo:: in elog_test() 115 using namespace example::xyz::openbmc_project::example::elog; in elog_test() 150 elog<TestErrorOne>( in elog_test() 211 elog<example::xyz::openbmc_project::example::elog::AutoTestSimple>( in commitError() 225 report<example::xyz::openbmc_project::example::elog::AutoTestSimple>( in commitError() [all …]
|
H A D | meson.build | 88 # Generate elog-lookup.cpp 89 elog_lookup_gen = custom_target('elog-lookup.cpp'.underscorify(), 91 'tools/elog-gen.py', 92 'tools/phosphor-logging/templates/elog-lookup-template.mako.cpp', 94 output: 'elog-lookup.cpp', 104 # Generate elog-process-metadata.cpp 105 elog_process_gen = custom_target('elog-process-metadata.cpp'.underscorify(), 107 'tools/elog-gen.py', 108 'tools/phosphor-logging/templates/elog-process-metadata.mako.cpp', 110 output: 'elog-process-metadata.cpp',
|
/openbmc/u-boot/lib/ |
H A D | tpm-v2.c | 180 if (elog->log_position + event_size > elog->log_size) { in tcg2_log_append_check() 182 elog->log_position, event_size, elog->log_size); in tcg2_log_append_check() 186 log = elog->log + elog->log_position; in tcg2_log_append_check() 236 elog->log_size); in tcg2_log_init() 362 elog->found = true; in tcg2_replay_eventlog() 556 elog->log_position = 0; in tcg2_log_prepare_buffer() 557 elog->found = false; in tcg2_log_prepare_buffer() 570 if (elog->log_size) { in tcg2_log_prepare_buffer() 584 elog->log = log.log; in tcg2_log_prepare_buffer() 597 if (!elog->found && elog->log_size) in tcg2_log_prepare_buffer() [all …]
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | download_manager.cpp | 47 elog<InvalidArgument>(Argument::ARGUMENT_NAME("FileName"), in downloadViaTFTP() 55 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ServerAddress"), in downloadViaTFTP() 70 elog<InternalFailure>(); in downloadViaTFTP() 89 elog<InternalFailure>(); in downloadViaTFTP() 94 elog<InternalFailure>(); in downloadViaTFTP() 104 elog<InternalFailure>(); in downloadViaTFTP()
|
/openbmc/openpower-vpd-parser/vpd-manager/ |
H A D | reader_impl.cpp | 60 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode() 70 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode() 94 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusAtLocation() 106 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusAtLocation() 128 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getCollapsedLocationCode() 154 elog<InvalidArgument>( in getCollapsedLocationCode() 164 elog<InvalidArgument>( in getCollapsedLocationCode() 206 elog<InvalidArgument>( in getCollapsedLocationCode()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | rtas.h | 296 static inline uint8_t rtas_error_severity(const struct rtas_error_log *elog) in rtas_error_severity() argument 298 return (elog->byte1 & 0xE0) >> 5; in rtas_error_severity() 303 return (elog->byte1 & 0x18) >> 3; in rtas_error_disposition() 307 void rtas_set_disposition_recovered(struct rtas_error_log *elog) in rtas_set_disposition_recovered() argument 309 elog->byte1 &= ~0x18; in rtas_set_disposition_recovered() 310 elog->byte1 |= (RTAS_DISP_FULLY_RECOVERED << 3); in rtas_set_disposition_recovered() 313 static inline uint8_t rtas_error_extended(const struct rtas_error_log *elog) in rtas_error_extended() argument 315 return (elog->byte1 & 0x04) >> 2; in rtas_error_extended() 320 return (elog->byte2 & 0xf0) >> 4; in rtas_error_initiator() 326 uint32_t rtas_error_extended_log_length(const struct rtas_error_log *elog) in rtas_error_extended_log_length() argument [all …]
|
/openbmc/phosphor-user-manager/phosphor-ldap-config/ |
H A D | ldap_config_mgr.cpp | 65 elog<InternalFailure>(); in restartService() 81 elog<InternalFailure>(); in stopService() 104 elog<InvalidArgument>(Argument::ARGUMENT_NAME("ldapServerURI"), in createConfig() 112 elog<NoCACertificate>(); in createConfig() 119 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LDAPBindDN"), in createConfig() 127 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LDAPBaseDN"), in createConfig() 192 elog<NotAllowed>(NotAllowedArgument::REASON( in enableService() 197 elog<NotAllowed>(NotAllowedArgument::REASON( in enableService()
|
H A D | ldap_config.cpp | 157 elog<InternalFailure>(); in certificateInstalled() 324 elog<InternalFailure>(); in writeConfig() 351 elog<InternalFailure>(); in ldapBindDNPassword() 384 elog<NoCACertificate>(); in ldapServerURI() 410 elog<InternalFailure>(); in ldapServerURI() 453 elog<InternalFailure>(); in ldapBindDN() 496 elog<InternalFailure>(); in ldapBaseDN() 528 elog<InternalFailure>(); in ldapSearchScope() 572 elog<InternalFailure>(); in enableService() 604 elog<InternalFailure>(); in userNameAttribute() [all …]
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | io_event_irq.c | 71 static struct pseries_io_event * ioei_find_event(struct rtas_error_log *elog) in ioei_find_event() argument 81 if (unlikely(rtas_error_type(elog) != RTAS_TYPE_IO)) { in ioei_find_event() 83 rtas_error_type(elog)); in ioei_find_event() 87 sect = get_pseries_errorlog(elog, PSERIES_ELOG_SECT_ID_IO_EVENT); in ioei_find_event()
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | image_verify.cpp | 56 elog<InternalFailure>(); in getAvailableKeyTypesFromSystem() 147 elog<InternalFailure>(); in systemLevelVerify() 208 elog<InternalFailure>(); in verifyFile() 217 elog<InternalFailure>(); in verifyFile() 232 elog<InternalFailure>(); in verifyFile() 242 elog<InternalFailure>(); in verifyFile() 254 elog<InternalFailure>(); in verifyFile() 270 elog<InternalFailure>(); in verifyFile() 294 elog<InternalFailure>(); in createPublicRSA()
|
/openbmc/phosphor-networkd/src/ |
H A D | ipaddress.cpp | 72 elog<NotAllowed>(Reason("Property update is not allowed")); in address() 76 elog<NotAllowed>(Reason("Property update is not allowed")); in prefixLength() 80 elog<NotAllowed>(Reason("Property update is not allowed")); in gateway() 84 elog<NotAllowed>(Reason("Property update is not allowed")); in type() 88 elog<NotAllowed>(Reason("Property update is not allowed")); in origin() 99 elog<NotAllowed>(Reason("Not allowed to delete a non-static address")); in delete_()
|
/openbmc/phosphor-snmp/ |
H A D | snmp_notification.cpp | 89 elog<InternalFailure>(); in sendTrap() 101 elog<InternalFailure>(); in sendTrap() 115 elog<InternalFailure>(); in sendTrap() 130 elog<InternalFailure>(); in sendTrap() 142 elog<InternalFailure>(); in sendTrap() 149 elog<InternalFailure>(); in sendTrap()
|
H A D | snmp_util.cpp | 37 elog<InternalFailure>(); in getManagedObjects() 60 elog<InternalFailure>(); in resolveAddress() 73 elog<InternalFailure>(); in resolveAddress() 82 elog<InternalFailure>(); in resolveAddress() 91 elog<InternalFailure>(); in resolveAddress()
|
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/oem/ibm/ |
H A D | pldm_oem_cmds.cpp | 75 elog<NotAllowed>(Reason("Required host dump action via pldm is not " in readEID() 89 elog<NotAllowed>(Reason( in readEID() 123 elog<NotAllowed>(Reason("Host dump offload via pldm is not " in requestOffload() 138 elog<NotAllowed>(Reason("Host dump offload via pldm is not " in requestOffload() 181 elog<NotAllowed>(Reason("Host dump deletion via pldm is not " in requestDelete() 201 elog<NotAllowed>(Reason("Host dump deletion via pldm is not " in requestDelete()
|
/openbmc/phosphor-user-manager/ |
H A D | user_mgr.cpp | 225 elog<UserNameExists>(); in throwForUserExists() 273 elog<NoResource>( in throwForMaxGrpUserCount() 284 elog<NoResource>( in throwForMaxGrpUserCount() 374 elog<InternalFailure>(); in createUser() 405 elog<InternalFailure>(); in deleteUser() 435 elog<InternalFailure>(); in deleteGroup() 449 elog<GroupNameExists>(); in checkCreateGroupConstraints() 470 elog<InternalFailure>(); in createGroup() 492 elog<InternalFailure>(); in renameUser() 557 elog<InternalFailure>(); in updateGroupsAndPriv() [all …]
|
/openbmc/phosphor-debug-collector/test/ |
H A D | debug_inif_test.cpp | 48 phosphor::dump::elog::serialize(e, dumpFile.c_str()); in TEST_F() 49 bool value = phosphor::dump::elog::deserialize(dumpFile.c_str(), e); in TEST_F() 58 bool value = phosphor::dump::elog::deserialize(dumpFile.c_str(), e); in TEST_F() 68 bool value = phosphor::dump::elog::deserialize("/tmp/Fake/serial", e); in TEST()
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/callbackgroupgentest/ |
H A D | test.yaml | 61 - name: test elog callback 1 63 callback: elog 75 - name: test elog callback 2 77 callback: elog 89 - test elog callback 1 97 - test elog callback 2
|
/openbmc/obmc-ikvm/ |
H A D | ikvm_video.cpp | 181 elog<Open>( in needsResize() 228 elog<ReadFailure>( in resize() 259 elog<ReadFailure>( in resize() 281 elog<ReadFailure>( in resize() 300 elog<ReadFailure>( in resize() 323 elog<ReadFailure>( in resize() 365 elog<ReadFailure>( in resize() 396 elog<Open>( in start() 407 elog<ReadFailure>( in start() 418 elog<Open>( in start() [all …]
|