Lines Matching refs:cper_event
3227 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()
3253 if (cper_event->format_type != PLDM_PLATFORM_CPER_EVENT_WITH_HEADER && 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()
3271 cper_event_length - sizeof(*cper_event)); in decode_pldm_platform_cper_event()