Lines Matching refs:gdata
354 const struct acpi_hest_generic_data *gdata) in cper_print_pcie() argument
390 const char *pfx, const struct acpi_hest_generic_data *gdata, int sec_no) in cper_estatus_print_section() argument
392 uuid_le *sec_type = (uuid_le *)gdata->section_type; in cper_estatus_print_section()
396 severity = gdata->error_severity; in cper_estatus_print_section()
399 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in cper_estatus_print_section()
400 printk("%s""fru_id: %pUl\n", pfx, (uuid_le *)gdata->fru_id); in cper_estatus_print_section()
401 if (gdata->validation_bits & CPER_SEC_VALID_FRU_TEXT) in cper_estatus_print_section()
402 printk("%s""fru_text: %.20s\n", pfx, gdata->fru_text); in cper_estatus_print_section()
406 struct cper_sec_proc_generic *proc_err = (void *)(gdata + 1); in cper_estatus_print_section()
408 if (gdata->error_data_length >= sizeof(*proc_err)) in cper_estatus_print_section()
413 struct cper_sec_mem_err *mem_err = (void *)(gdata + 1); in cper_estatus_print_section()
415 if (gdata->error_data_length >= in cper_estatus_print_section()
418 gdata->error_data_length); in cper_estatus_print_section()
422 struct cper_sec_pcie *pcie = (void *)(gdata + 1); in cper_estatus_print_section()
424 if (gdata->error_data_length >= sizeof(*pcie)) in cper_estatus_print_section()
425 cper_print_pcie(newpfx, pcie, gdata); in cper_estatus_print_section()
440 struct acpi_hest_generic_data *gdata; in cper_estatus_print() local
453 gdata = (struct acpi_hest_generic_data *)(estatus + 1); in cper_estatus_print()
455 while (data_len >= sizeof(*gdata)) { in cper_estatus_print()
456 gedata_len = gdata->error_data_length; in cper_estatus_print()
457 cper_estatus_print_section(newpfx, gdata, sec_no); in cper_estatus_print()
458 data_len -= gedata_len + sizeof(*gdata); in cper_estatus_print()
459 gdata = (void *)(gdata + 1) + gedata_len; in cper_estatus_print()
480 struct acpi_hest_generic_data *gdata; in cper_estatus_check() local
488 gdata = (struct acpi_hest_generic_data *)(estatus + 1); in cper_estatus_check()
489 while (data_len >= sizeof(*gdata)) { in cper_estatus_check()
490 gedata_len = gdata->error_data_length; in cper_estatus_check()
491 if (gedata_len > data_len - sizeof(*gdata)) in cper_estatus_check()
493 data_len -= gedata_len + sizeof(*gdata); in cper_estatus_check()
494 gdata = (void *)(gdata + 1) + gedata_len; in cper_estatus_check()