Lines Matching defs:dimm

250  * check if a dimm has n CEs that have the same symbol-in-error
253 upos_thresh_check(gmem_dimm_t *dimm, uint16_t upos, uint32_t threshold)
260 for (ip = gmem_list_next(&dimm->mq_root[i]); ip != NULL;
367 ce_thresh_check(fmd_hdl_t *hdl, gmem_dimm_t *dimm)
374 if (dimm->dimm_flags & GMEM_F_FAULTING)
377 nret = dimm->dimm_nretired;
382 if (dimm->dimm_phys_addr_hi >= dimm->dimm_phys_addr_low)
384 (dimm->dimm_phys_addr_hi - dimm->dimm_phys_addr_low) /
390 dimm->dimm_flags |= GMEM_F_FAULTING;
391 gmem_dimm_dirty(hdl, dimm);
394 rsrc = gmem_find_dimm_rsc(hdl, dimm->dimm_serial);
396 GMEM_FLTMAXCONF, NULL, gmem_dimm_fru(dimm), rsrc);
409 mq_5b_check(fmd_hdl_t *hdl, gmem_dimm_t *dimm)
417 for (ip = gmem_list_next(&dimm->mq_root[cw]);
426 dimm->dimm_serial);
429 NULL, gmem_dimm_fru(dimm), rsrc);
430 dimm->dimm_flags |= GMEM_F_FAULTING;
431 gmem_dimm_dirty(hdl, dimm);
551 mq_add(fmd_hdl_t *hdl, gmem_dimm_t *dimm, fmd_event_t *ep,
558 for (ip = gmem_list_next(&dimm->mq_root[cw]); ip != NULL; ) {
579 gmem_list_append(&dimm->mq_root[cw], jp);
581 gmem_list_insert_before(&dimm->mq_root[cw], ip, jp);
590 mq_prune(fmd_hdl_t *hdl, gmem_dimm_t *dimm, uint64_t now)
596 for (ip = gmem_list_next(&dimm->mq_root[cw]); ip != NULL; ) {
602 ip = mq_destroy(hdl, &dimm->mq_root[cw], ip);
628 mq_check(fmd_hdl_t *hdl, gmem_dimm_t *dimm)
664 for (ip = gmem_list_next(&dimm->mq_root[cw]); ip != NULL;
688 rsc = gmem_find_dimm_rsc(hdl, dimm->dimm_serial);
690 GMEM_FLTMAXCONF, NULL, gmem_dimm_fru(dimm), rsc);
693 dimm->dimm_case.cc_cp,
696 dimm->dimm_case.cc_cp,
699 dimm->dimm_flags |= GMEM_F_FAULTING;
700 gmem_dimm_dirty(hdl, dimm);
701 fmd_case_add_suspect(hdl, dimm->dimm_case.cc_cp, flt);
702 fmd_case_solve(hdl, dimm->dimm_case.cc_cp);
718 gmem_dimm_t *dimm;
755 fmd_hdl_debug(hdl, "Can't get dimm serial\n");
765 * Find dimm fru by serial number.
774 if ((dimm = gmem_dimm_lookup(hdl, fru)) == NULL &&
775 (dimm = gmem_dimm_create(hdl, fru, det)) == NULL) {
780 if (dimm->dimm_case.cc_cp == NULL) {
781 dimm->dimm_case.cc_cp = gmem_case_create(hdl,
782 &dimm->dimm_header, GMEM_PTR_DIMM_CASE, &uuid);
800 skip_error = gmem_check_symbol_error(hdl, dimm,
804 !(dimm->dimm_flags & GMEM_F_FAULTING))
805 mq_add(hdl, dimm, ep, phyaddr, symbol_pos,
808 mq_prune(hdl, dimm, *now);
811 bad_reader_writer_check(hdl, det, dimm);
812 if (!(dimm->dimm_flags & GMEM_F_FAULTING)) {
813 mq_check(hdl, dimm);
814 mq_5b_check(hdl, dimm);
841 if (gmem_check_symbol_error(hdl, dimm, symbol_pos)) {
888 topo_rsc = gmem_find_dimm_rsc(hdl, dimm->dimm_serial);
889 rc = gmem_page_fault(hdl, gmem_dimm_fru(dimm), topo_rsc,
895 if (addr > dimm->dimm_phys_addr_hi)
896 dimm->dimm_phys_addr_hi = addr;
897 if (addr < dimm->dimm_phys_addr_low)
898 dimm->dimm_phys_addr_low = addr;
900 dimm->dimm_nretired++;
901 dimm->dimm_retstat.fmds_value.ui64++;
902 gmem_dimm_dirty(hdl, dimm);
903 ce_thresh_check(hdl, dimm);