Lines Matching refs:gdata
352 const struct acpi_hest_generic_data *gdata) in cper_print_pcie() argument
388 (gdata->error_severity & CPER_SEV_FATAL)) { in cper_print_pcie()
403 const char *pfx, const struct acpi_hest_generic_data *gdata, int sec_no) in cper_estatus_print_section() argument
405 uuid_le *sec_type = (uuid_le *)gdata->section_type; in cper_estatus_print_section()
409 severity = gdata->error_severity; in cper_estatus_print_section()
412 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in cper_estatus_print_section()
413 printk("%s""fru_id: %pUl\n", pfx, (uuid_le *)gdata->fru_id); in cper_estatus_print_section()
414 if (gdata->validation_bits & CPER_SEC_VALID_FRU_TEXT) in cper_estatus_print_section()
415 printk("%s""fru_text: %.20s\n", pfx, gdata->fru_text); in cper_estatus_print_section()
419 struct cper_sec_proc_generic *proc_err = (void *)(gdata + 1); in cper_estatus_print_section()
421 if (gdata->error_data_length >= sizeof(*proc_err)) in cper_estatus_print_section()
426 struct cper_sec_mem_err *mem_err = (void *)(gdata + 1); in cper_estatus_print_section()
428 if (gdata->error_data_length >= in cper_estatus_print_section()
431 gdata->error_data_length); in cper_estatus_print_section()
435 struct cper_sec_pcie *pcie = (void *)(gdata + 1); in cper_estatus_print_section()
437 if (gdata->error_data_length >= sizeof(*pcie)) in cper_estatus_print_section()
438 cper_print_pcie(newpfx, pcie, gdata); in cper_estatus_print_section()
453 struct acpi_hest_generic_data *gdata; in cper_estatus_print() local
466 gdata = (struct acpi_hest_generic_data *)(estatus + 1); in cper_estatus_print()
468 while (data_len >= sizeof(*gdata)) { in cper_estatus_print()
469 gedata_len = gdata->error_data_length; in cper_estatus_print()
470 cper_estatus_print_section(newpfx, gdata, sec_no); in cper_estatus_print()
471 data_len -= gedata_len + sizeof(*gdata); in cper_estatus_print()
472 gdata = (void *)(gdata + 1) + gedata_len; in cper_estatus_print()
493 struct acpi_hest_generic_data *gdata; in cper_estatus_check() local
501 gdata = (struct acpi_hest_generic_data *)(estatus + 1); in cper_estatus_check()
502 while (data_len >= sizeof(*gdata)) { in cper_estatus_check()
503 gedata_len = gdata->error_data_length; in cper_estatus_check()
504 if (gedata_len > data_len - sizeof(*gdata)) in cper_estatus_check()
506 data_len -= gedata_len + sizeof(*gdata); in cper_estatus_check()
507 gdata = (void *)(gdata + 1) + gedata_len; in cper_estatus_check()