Home
last modified time | relevance | path

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

1234567

/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-elog.c138 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 Delog_update_ts_test.cpp55 Entry elog{bus, in TEST() local
67 EXPECT_EQ(elog.timestamp(), elog.updateTimestamp()); in TEST()
71 elog.resolved(true); in TEST()
72 auto updateTS = elog.updateTimestamp(); in TEST()
73 EXPECT_NE(updateTS, elog.timestamp()); in TEST()
77 elog.resolved(false); in TEST()
78 EXPECT_NE(updateTS, elog.updateTimestamp()); in TEST()
79 updateTS = elog.updateTimestamp(); in TEST()
84 elog.resolved(false); in TEST()
85 EXPECT_EQ(updateTS, elog.updateTimestamp()); in TEST()
H A Delog_quiesce_test.cpp46 Entry elog{mockedBus, in TEST_F() local
58 EXPECT_EQ(manager.isCalloutPresent(elog), false); in TEST_F()
74 Entry elog{mockedBus, in TEST_F() local
86 EXPECT_EQ(manager.isCalloutPresent(elog), true); in TEST_F()
113 Entry elog{mockedBus, in TEST_F() local
170 Entry elog{mockedBus, in TEST_F() local
197 elog.resolved(true); in TEST_F()
229 Entry elog{mockedBus, in TEST_F() local
/openbmc/phosphor-logging/
H A Dlogging_test.cpp95 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 Dmeson.build79 # Generate elog-lookup.cpp
80 elog_lookup_gen = custom_target('elog-lookup.cpp'.underscorify(),
82 'tools/elog-gen.py',
83 'tools/phosphor-logging/templates/elog-lookup-template.mako.cpp',
85 output: 'elog-lookup.cpp',
95 # Generate elog-process-metadata.cpp
96 elog_process_gen = custom_target('elog-process-metadata.cpp'.underscorify(),
98 'tools/elog-gen.py',
99 'tools/phosphor-logging/templates/elog-process-metadata.mako.cpp',
101 output: 'elog-process-metadata.cpp',
/openbmc/phosphor-certificate-manager/
H A Dx509_utils.cpp30 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 Dcerts_manager.cpp48 using ::phosphor::logging::elog;
102 elog<InternalFailure>(); in splitCertificates()
287 elog<NotAllowed>( in installAll()
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()
[all …]
H A Dcertificate.cpp42 using ::phosphor::logging::elog;
110 elog<InternalFailure>(); in dumpCertificate()
158 elog<InternalFailure>(); in generateUniqueFilePath()
188 elog<InternalFailure>(); in generateAuthCertFileX509Path()
323 elog<InternalFailure>(); in install()
341 elog<InternalFailure>(); in install()
359 elog<InternalFailure>(); in install()
371 elog<InternalFailure>(); in install()
411 elog<InternalFailure>(); in install()
571 elog<InternalFailure>(); in checkAndAppendPrivateKey()
[all …]
H A Dcsr.cpp25 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/u-boot/lib/
H A Dtpm-v2.c180 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 Ddownload_manager.cpp47 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 Dreader_impl.cpp60 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode()
70 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getExpandedLocationCode()
95 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusAtLocation()
107 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getFrusAtLocation()
129 elog<InvalidArgument>(Argument::ARGUMENT_NAME("LOCATIONCODE"), in getCollapsedLocationCode()
155 elog<InvalidArgument>( in getCollapsedLocationCode()
165 elog<InvalidArgument>( in getCollapsedLocationCode()
207 elog<InvalidArgument>( in getCollapsedLocationCode()
/openbmc/linux/arch/powerpc/include/asm/
H A Drtas.h296 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 Dldap_config_mgr.cpp65 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 Dldap_config.cpp158 elog<InternalFailure>(); in certificateInstalled()
325 elog<InternalFailure>(); in writeConfig()
352 elog<InternalFailure>(); in ldapBindDNPassword()
385 elog<NoCACertificate>(); in ldapServerURI()
411 elog<InternalFailure>(); in ldapServerURI()
454 elog<InternalFailure>(); in ldapBindDN()
497 elog<InternalFailure>(); in ldapBaseDN()
529 elog<InternalFailure>(); in ldapSearchScope()
573 elog<InternalFailure>(); in enableService()
605 elog<InternalFailure>(); in userNameAttribute()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dio_event_irq.c71 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 Dimage_verify.cpp56 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 Dipaddress.cpp72 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 Dsnmp_notification.cpp89 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 Dsnmp_util.cpp37 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 Dpldm_oem_cmds.cpp75 elog<NotAllowed>(Reason("Required host dump action via pldm is not " in readEID()
89 elog<NotAllowed>( 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 Duser_mgr.cpp225 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 Ddebug_inif_test.cpp48 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 Dtest.yaml61 - 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 Dikvm_video.cpp181 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 …]

1234567