Lines Matching refs:unum

113 static void cpu_ce_log_status(spitf_async_flt *spf_flt, char *unum);
116 static void log_ce_err(struct async_flt *aflt, char *unum);
117 static void log_ue_err(struct async_flt *aflt, char *unum);
132 static int ce_count_unum(int status, int len, char *unum);
387 #define CPU_SYND 0x1000 /* print flt_synd and unum */
926 log_ce_err(struct async_flt *aflt, char *unum)
935 cpu_aflt_log(CE_CONT, 0, &spf_flt, CE_LFLAGS, unum,
967 cpu_ce_log_status(spitf_async_flt *spf_flt, char *unum)
986 status1_str, unum, status2_str);
1068 * get the syndrome and unum, and then call the routines
1075 char unum[UNUM_NAMLEN];
1082 /* Get the unum string for logging purposes */
1083 (void) cpu_get_mem_unum_aflt(AFLT_STAT_VALID, ecc, unum,
1087 (void) (*ecc->flt_func)(ecc, unum);
1090 * Count errors per unum.
1091 * Non-memory errors are all counted via a special unum string.
1093 if ((err = ce_count_unum(ecc->flt_status, len, unum)) != PR_OK &&
1113 cpu_ce_log_status(&sflt, unum);
1865 cpu_get_mem_sid(char *unum, char *buf, int buflen, int *lenp)
1879 cpu_get_mem_addr(char *unum, char *sid, uint64_t offset, uint64_t *addrp)
1943 char unum[UNUM_NAMLEN];
1959 CPU->cpu_id, flt_in_memory, 0, unum, UNUM_NAMLEN, lenp))
1966 (void) strncpy(buf, unum, buflen);
2008 log_ue_err(struct async_flt *aflt, char *unum)
2036 (void) cpu_get_mem_unum_aflt(AFLT_STAT_VALID, aflt, unum,
2039 cpu_aflt_log(CE_WARN, 1, spf_flt, UE_LFLAGS, unum,
2064 char unum[UNUM_NAMLEN];
2105 log_ue_err(aflt, unum);
3171 * it is assumed that <endstr> will be the unum string in this case. The size
4282 * which counted intermittent, persistent, and sticky CE errors by unum,
4287 * Errors are saved in three buckets per-unum:
4312 ce_count_unum(int status, int len, char *unum)
4337 (void) strncpy(psimm[i].name, unum, len);
4351 "on Memory Module %s\n", unum);
4371 } else if (strncmp(unum, psimm[i].name, len) == 0) {
4380 "on Memory Module %s\n", unum);
4393 " retire", new_value, unum,
4419 cpu_ce_count_unum(struct async_flt *ecc, int len, char *unum)
4423 err = ce_count_unum(ecc->flt_status, len, unum);