/illumos-gate/usr/src/cmd/fm/schemes/mem/i386/ |
H A D | mem_disc.c | 49 mem_get_serids_by_unum(const char *unum, char ***seridsp, size_t *nseridsp) argument 57 mem_expand_opt(nvlist_t *nvl, char *unum, char **serids) argument
|
/illumos-gate/usr/src/uts/sparc/io/ |
H A D | devfm_machdep.c | 44 char *unum; local 59 * members, if they are present, together with the "unum" member to 71 } else if (nvlist_lookup_string(nvl, FM_FMRI_MEM_UNUM, &unum) != 0 || 76 err = cpu_get_mem_addr(unum, serids[0], offset, &pa);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_opl.c | 197 char *unum; local 202 if (nvlist_lookup_string(nvl, FM_FMRI_MEM_UNUM, &unum) != 0) 205 fmd_hdl_debug(hdl, "opl_mem_fru_create for mem %s\n", unum); 207 if ((fmri = cmd_mem_fmri_create(unum, NULL, 0)) == NULL)
|
H A D | cmd_oplerr.c | 281 char *unum; local 306 if (nvlist_lookup_string(rsrc, FM_FMRI_MEM_UNUM, &unum) != 0) { 307 fmd_hdl_debug(hdl, "opl_scf_log failed to get unum.\n"); 321 flt_page.fmri_addr = (uint64_t)(uint32_t)unum; 322 flt_page.fmri_sz = strlen(unum) + 1; 325 unum, strlen(unum) + 1);
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_msgs.c | 68 unsigned int num = 0, fnum = 0, unum = 0; local 80 unum += p->unum; 199 diag(gettext(DIAG_RESULTS), num, fnum, unum); local
|
H A D | gnu_msgs_rev.c | 78 unsigned int num = 0, fnum = 0, unum = 0; local 90 unum += p->unum; 203 diag(gettext(DIAG_RESULTS), num, fnum, unum); local
|
H A D | gnu_msgfmt.h | 102 unsigned int unum; /* # of untranslated msgs */ member in struct:catalog
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_bank.c | 142 bank_lookup_by_unum(const char *unum) argument 148 if (strcmp(bank->bank_unum, unum) == 0) 159 const char *unum; local 166 if ((unum = cmd_fmri_get_unum(asru)) == NULL) { 171 fmd_hdl_debug(hdl, "bank_create: creating new bank %s\n", unum); 179 unum); 180 cmd_fmri_init(hdl, &bank->bank_asru, asru, "bank_asru_%s", unum); 200 const char *unum; local 202 if ((unum = cmd_fmri_get_unum(asru)) == NULL) { 207 bank = bank_lookup_by_unum(unum); [all...] |
H A D | cmd_mem.c | 54 const char *scheme, *unum; local 60 FM_FMRI_MEM_UNUM, DATA_TYPE_STRING, &unum, 65 return (unum); 69 cmd_mem_serdnm_create(fmd_hdl_t *hdl, const char *serdbase, const char *unum) argument 72 size_t sz = snprintf(NULL, 0, fmt, serdbase, unum) + 1; 74 (void) snprintf(nm, sz, fmt, serdbase, unum); 105 const char *serdbase, const char *unum) 108 unum)); 112 cmd_mem_retirestat_create(fmd_hdl_t *hdl, fmd_stat_t *st, const char *unum, argument 129 prefix, unum); 104 cmd_mem_case_restore(fmd_hdl_t *hdl, cmd_case_t *cc, fmd_case_t *cp, const char *serdbase, const char *unum) argument 172 cmd_mem_fmri_create(const char *unum, char **serids, size_t nserids) argument [all...] |
H A D | cmd_dimm.c | 178 dimm_lookup_by_unum(const char *unum) argument 184 if (strcmp(dimm->dimm_unum, unum) == 0) 210 const char *unum; local 220 if ((unum = cmd_fmri_get_unum(asru)) == NULL) { 234 fmri = cmd_mem_fmri_create(unum, serids, nserids); 241 fmd_hdl_debug(hdl, "dimm_create: creating new DIMM %s\n", unum); 252 unum); 253 cmd_fmri_init(hdl, &dimm->dimm_asru, fmri, "dimm_asru_%s", unum); 275 const char *unum; local 277 if ((unum [all...] |
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | ecc.c | 117 char unum[UNUM_NAMLEN]; local 132 unum, UNUM_NAMLEN, &len); 133 aflt->flt_func(aflt, unum); 138 * specific functions to check other cpus and get the unum. 141 ecc_cpu_call(struct async_flt *ecc, char *unum, int err_type) argument 157 ecc->flt_status, unum, 161 cpu_ce_count_unum(ecc, len, unum);
|
H A D | plat_ecc_dimm.c | 60 plat_get_mem_sid(char *unum, char *buf, int buflen, int *lenp) argument 69 if (parse_unum_memory(unum, &board, &pos, &bank, &dimm, 92 plat_get_mem_addr(char *unum, char *sid, uint64_t offset, uint64_t *addrp) argument 101 if (parse_unum_memory(unum, &board, &pos, &bank, &dimm,
|
H A D | plat_ecc_unum.c | 48 * ecc unum data and logging it appropriately as the platform 72 * plat_send_ecc_mailbox_msg(); We first parse the unum string and 78 plat_log_fruid_error(int synd_code, struct async_flt *ecc, char *unum, argument 146 * The unum string is expected to be in this form: 153 char *unum_ptr = unum; 158 * On Serengeti we expect to find 'N' in the unum string 159 * however, on Starcat 'N' does not appear in the unum string. 161 * unum_ptr is reset to the start of unum string if we fail 167 unum_ptr = unum; 224 * If we get here, we can assume the unum i 399 parse_unum_memory(char *unum, int *board, int *pos, int *bank, int *dimm, int *jnumber) argument 445 parse_unum_ecache(char *unum, int *board, int *pos, int *jnumber, int *maxcat) argument 511 plat_log_fruid_error2(int msg_type, char *unum, struct async_flt *aflt, plat_ecc_ch_async_flt_t *ecc_ch_flt) argument 591 plat_log_fruid_indictment(int msg_type, struct async_flt *aflt, char *unum) argument 720 plat_log_fruid_indictment2(int msg_type, struct async_flt *aflt, char *unum) argument 958 char *unum; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | mem.c | 191 char *buf, *unum; local 201 if (nvlist_lookup_string(in, FM_FMRI_MEM_UNUM, &unum) != 0) { 208 * PA then use that. Otherwise just format the unum element. 220 * If we have a well-formed unum we step over the hc:// and 223 if (strncmp(unum, "hc://", 5) == 0) { 224 unum += 5; 225 unum = strchr(unum, '/'); 226 ++unum; 228 escunum = unum; 273 mem_fmri(topo_mod_t *mod, uint64_t pa, uint64_t offset, char *unum, int flags) argument 316 char *unum; local [all...] |
H A D | topo_mod.c | 459 const char *unum, int flags) 471 err = nvlist_add_string(args, FM_FMRI_MEM_UNUM, unum); 458 topo_mod_memfmri(topo_mod_t *mod, int version, uint64_t pa, uint64_t offset, const char *unum, int flags) argument
|
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem_unum.c | 37 #define ISHCUNUM(unum) (strncmp(unum, "hc:/", 4) == 0) 40 * Given a DIMM or bank unum, mem_unum_burst will break it apart into individual 51 * match specific styles of unum. In bd_pat, the first %n indicates the end of 117 * A DIMM unum string is expected to be in this form: 119 * A bank unum string is expected to be in this form: 134 * No expansion is required for a DIMM unum 175 * Returns 0 (with dimmsp and ndimmsp set) if the unum could be bursted, -1 249 * with unknown unum strings and/or serial numbers. The only consumer 275 * The unum containershi 325 unum_strip_one_jnum(const char *unum, uint_t *endp) argument 420 nvlist_t *unum; local [all...] |
H A D | mem.c | 42 char *unum; local 46 nvlist_lookup_string(nvl, FM_FMRI_MEM_UNUM, &unum) != 0) 49 *unump = unum; 84 * If we have a well-formed unum (hc-FMRI), use the string verbatim 85 * to form the initial mem:/// components. Otherwise use unum=%s. 94 * then use that. Otherwise just format the unum element. 110 * If we have a well-formed unum (hc-FMRI), we skip over the 149 char *unum, **serids; local 155 if ((mem_fmri_get_unum(nvl, &unum) < 0) || (*unum 214 char *unum = NULL; local 314 char *unum = NULL; local [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sysioerr.c | 92 sysio_log_ce_err(struct async_flt *ecc, char *unum); 95 sysio_log_ue_err(struct async_flt *ecc, char *unum); 109 sbus_log_csr_error(struct async_flt *aflt, char *unum); 428 sysio_log_ue_err(struct async_flt *ecc, char *unum) argument 446 (uint32_t)(t_afar>>32), (uint32_t)t_afar, unum, id); 452 (uint32_t)(t_afar>>32), (uint32_t)t_afar, unum, id); 467 (uint32_t)(t_afar>>32), (uint32_t)t_afar, unum, id); 473 (uint32_t)(t_afar>>32), (uint32_t)t_afar, unum, id); 539 sysio_log_ce_err(struct async_flt *ecc, char *unum) argument 573 unum, i 829 sbus_log_csr_error(struct async_flt *aflt, char *unum) argument [all...] |
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | dimm_addr.c | 121 mc_unum_t unum; local 126 if (!fmri2unum(nvl, &unum)) 128 unump = &unum;
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_branch.c | 161 * Massage the unum of the candidate DIMM as follows: 200 * Jxxx in its unum; the cmd_dimm_t structure created for a DIMM containing 202 * unum. Therefore the set of cmd_dimm_t's created for a branch is always 413 cmd_branch_lookup_by_unum(fmd_hdl_t *hdl, const char *unum) argument 417 fmd_hdl_debug(hdl, "branch_lookup: dimm_unum %s", unum); 419 * fbr/fbu unum dimm does not have a J number 421 if (strstr(unum, "J") != NULL) 426 if (strcmp(branch->branch_unum, unum) == 0) 438 const char *unum; local 440 if ((unum [all...] |
/illumos-gate/usr/src/cmd/fm/schemes/mem/sparc/ |
H A D | mem_disc.c | 30 * DIMM unum/device map construction 33 * between a form of the unum and the device to be used for serial number 34 * retrieval. We massage the PICL unum into a form that matches the one used 43 * to obtain the mapping between dimm unum+jnum strings (which denote slot 85 * PICL configuration files use a different format for the DIMM name (unum) 87 * to convert between the PICL and unum formats. 233 * DIMM's unum and the generic (minor-less) device used for SPD/SEEPROM data 238 * name:/frutree/chassis/picl-unum 241 * Where `picl-unum' is the PICL form of the unum, whic 425 mem_get_serids_from_kernel(const char *unum, char ***seridsp, size_t *nseridsp) argument 525 mem_get_serids_from_cache(const char *unum, char ***seridsp, size_t *nseridsp) argument 575 mem_get_serids_by_unum(const char *unum, char ***seridsp, size_t *nseridsp) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.h | 142 int unum; member in struct:__anon9359
|
/illumos-gate/usr/src/uts/sun4u/boston/os/ |
H A D | boston.c | 265 * specific label information to the unum for ECC error logging purposes. 269 plat_add_mem_unum_label(char *unum, int mcid, int bank, int dimm) argument 275 (void) strcpy(old_unum, unum); 276 printed = snprintf(unum, buflen, "MB/C%d/P0/B%d", mcid, bank); 278 unum += printed; 281 printed = snprintf(unum, buflen, "/D%d", dimm); 283 unum += printed; 286 (void) snprintf(unum, buflen, ": %s", old_unum);
|
/illumos-gate/usr/src/uts/sun4u/seattle/os/ |
H A D | seattle.c | 268 * specific label information to the unum for ECC error logging purposes. 272 plat_add_mem_unum_label(char *unum, int mcid, int bank, int dimm) argument 277 (void) strcpy(old_unum, unum); 278 printed = snprintf(unum, buflen, "MB/P%d/B%d", mcid, bank); 280 unum += printed; 283 printed = snprintf(unum, buflen, "/D%d", dimm); 285 unum += printed; 288 (void) snprintf(unum, buflen, ": %s", old_unum);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_subr.c | 360 * the serial num from the unum fmri that got passed into this function as the 365 fmri_replaced(topo_mod_t *mod, tnode_t *node, nvlist_t *unum, int *errp) argument 376 if (is_page_fmri(unum) && 378 rc = fmd_agent_page_isretired(hdl, unum); 389 * fault, it will have been added as a string to the unum nvlist 391 if (nvlist_lookup_string(unum, FM_FMRI_HC_SERIAL_ID, &old_serial))
|