Lines Matching refs:gdata

372 			    const struct acpi_hest_generic_data *gdata)  in cper_print_pcie()  argument
408 struct acpi_hest_generic_data_v300 *gdata) in cper_print_tstamp() argument
412 if (gdata->validation_bits & ACPI_HEST_GEN_VALID_TIMESTAMP) { in cper_print_tstamp()
413 timestamp = (__u8 *)&(gdata->time_stamp); in cper_print_tstamp()
429 cper_estatus_print_section(const char *pfx, struct acpi_hest_generic_data *gdata, in cper_estatus_print_section() argument
432 guid_t *sec_type = (guid_t *)gdata->section_type; in cper_estatus_print_section()
436 if (acpi_hest_get_version(gdata) >= 3) in cper_estatus_print_section()
437 cper_print_tstamp(pfx, (struct acpi_hest_generic_data_v300 *)gdata); in cper_estatus_print_section()
439 severity = gdata->error_severity; in cper_estatus_print_section()
442 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in cper_estatus_print_section()
443 printk("%s""fru_id: %pUl\n", pfx, gdata->fru_id); in cper_estatus_print_section()
444 if (gdata->validation_bits & CPER_SEC_VALID_FRU_TEXT) in cper_estatus_print_section()
445 printk("%s""fru_text: %.20s\n", pfx, gdata->fru_text); in cper_estatus_print_section()
449 struct cper_sec_proc_generic *proc_err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
452 if (gdata->error_data_length >= sizeof(*proc_err)) in cper_estatus_print_section()
457 struct cper_sec_mem_err *mem_err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
460 if (gdata->error_data_length >= in cper_estatus_print_section()
463 gdata->error_data_length); in cper_estatus_print_section()
467 struct cper_sec_pcie *pcie = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
470 if (gdata->error_data_length >= sizeof(*pcie)) in cper_estatus_print_section()
471 cper_print_pcie(newpfx, pcie, gdata); in cper_estatus_print_section()
476 struct cper_sec_proc_arm *arm_err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
479 if (gdata->error_data_length >= sizeof(*arm_err)) in cper_estatus_print_section()
486 struct cper_sec_proc_ia *ia_err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
489 if (gdata->error_data_length >= sizeof(*ia_err)) in cper_estatus_print_section()
495 const void *err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
499 gdata->error_data_length); in cper_estatus_print_section()
501 gdata->error_data_length, true); in cper_estatus_print_section()
513 struct acpi_hest_generic_data *gdata; in cper_estatus_print() local
526 apei_estatus_for_each_section(estatus, gdata) { in cper_estatus_print()
527 cper_estatus_print_section(newpfx, gdata, sec_no); in cper_estatus_print()
548 struct acpi_hest_generic_data *gdata; in cper_estatus_check() local
557 apei_estatus_for_each_section(estatus, gdata) { in cper_estatus_check()
558 gedata_len = acpi_hest_get_error_length(gdata); in cper_estatus_check()
559 if (gedata_len > data_len - acpi_hest_get_size(gdata)) in cper_estatus_check()
561 data_len -= acpi_hest_get_record_size(gdata); in cper_estatus_check()