Lines Matching refs:mem_err
272 struct cper_sec_mem_err *mem_err = (struct cper_sec_mem_err *)data; in ghes_edac_report_mem_error() local
326 (long long)mem_err->validation_bits); in ghes_edac_report_mem_error()
329 if (mem_err->validation_bits & CPER_MEM_VALID_ERROR_TYPE) { in ghes_edac_report_mem_error()
330 u8 etype = mem_err->error_type; in ghes_edac_report_mem_error()
339 if (mem_err->validation_bits & CPER_MEM_VALID_PA) { in ghes_edac_report_mem_error()
340 e->page_frame_number = PHYS_PFN(mem_err->physical_addr); in ghes_edac_report_mem_error()
341 e->offset_in_page = offset_in_page(mem_err->physical_addr); in ghes_edac_report_mem_error()
345 if (mem_err->validation_bits & CPER_MEM_VALID_PA_MASK) in ghes_edac_report_mem_error()
346 e->grain = ~mem_err->physical_addr_mask + 1; in ghes_edac_report_mem_error()
350 cper_mem_err_pack(mem_err, &cmem); in ghes_edac_report_mem_error()
353 if (mem_err->validation_bits & CPER_MEM_VALID_MODULE_HANDLE) { in ghes_edac_report_mem_error()
357 dimm = find_dimm_by_handle(mci, mem_err->mem_dev_handle); in ghes_edac_report_mem_error()
371 p += print_mem_error_other_detail(mem_err, p, e->location, OTHER_DETAIL_LEN); in ghes_edac_report_mem_error()