Home
last modified time | relevance | path

Searched refs:cper_event (Results 1 – 4 of 4) sorted by relevance

/openbmc/libpldm/src/dsp/
H A Dplatform.c3227 struct pldm_platform_cper_event *cper_event, in decode_pldm_platform_cper_event() argument
3234 if (!cper_event || !event_data) { in decode_pldm_platform_cper_event()
3238 if (cper_event_length < sizeof(*cper_event)) { in decode_pldm_platform_cper_event()
3248 pldm_msgbuf_extract(buf, cper_event->format_version); in decode_pldm_platform_cper_event()
3249 rc = pldm_msgbuf_extract(buf, cper_event->format_type); in decode_pldm_platform_cper_event()
3254 cper_event->format_type != in decode_pldm_platform_cper_event()
3259 rc = pldm_msgbuf_extract(buf, cper_event->event_data_length); in decode_pldm_platform_cper_event()
3264 if (cper_event->event_data_length > in decode_pldm_platform_cper_event()
3265 (cper_event_length - sizeof(*cper_event))) { in decode_pldm_platform_cper_event()
3270 buf, cper_event->event_data_length, cper_event->event_data, in decode_pldm_platform_cper_event()
[all …]
/openbmc/libpldm/tests/dsp/
H A Dplatform.cpp5773 auto cper_event = reinterpret_cast<struct pldm_platform_cper_event*>( in TEST() local
5779 cper_event, cperEventSize); in TEST()
5782 EXPECT_EQ(cper_event->format_version, expectedFormatVersion); in TEST()
5783 EXPECT_EQ(cper_event->format_type, expectedFormatType); in TEST()
5784 EXPECT_EQ(cper_event->event_data_length, expectedEventDataLength); in TEST()
5786 auto cperEventData = pldm_platform_cper_event_event_data(cper_event); in TEST()
5794 free(cper_event); in TEST()
/openbmc/libpldm/include/libpldm/
H A Dplatform.h2509 struct pldm_platform_cper_event *cper_event,
/openbmc/libpldm/abi/x86_64/
H A Dgcc.dump5208 'name' => 'cper_event',