/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_pageerr.c | 49 nvlist_t *flt; local 79 flt = cmd_nvl_create_fault(hdl, "fault.memory.page", 100, 81 flt = cmd_fault_add_location(hdl, flt, cmd_fmri_get_unum(modfru)); 84 flt = cmd_nvl_create_fault(hdl, "fault.memory.page", 100, 88 if (nvlist_add_boolean_value(flt, FM_SUSPECT_MESSAGE, B_FALSE) != 0) 92 fmd_case_add_suspect(hdl, page->page_case.cc_cp, flt);
|
H A D | cmd_dimm.c | 83 nvlist_t *flt, *nvlfru; local 92 flt = cmd_nvl_create_fault(hdl, fltnm, cert, 96 flt = cmd_nvl_create_fault(hdl, fltnm, cert, 100 return (cmd_fault_add_location(hdl, flt, dimm->dimm_unum));
|
H A D | cmd_memerr.c | 220 nvlist_t *flt; local 247 flt = cmd_dimm_create_fault(hdl, dimm, 249 fmd_case_add_suspect(hdl, cp, flt); 265 nvlist_t *flt; local 276 flt = cmd_dimm_create_fault(hdl, dimm, 281 fmd_case_add_suspect(hdl, cp, flt); 489 nvlist_t *flt; local 549 flt = cmd_dimm_create_fault(hdl, 562 fmd_case_add_suspect(hdl, dimm->dimm_case.cc_cp, flt); 772 nvlist_t *flt; local [all...] |
H A D | cmd_cpu.c | 1420 * flt = cmd_cpu_create_fault(...); 1421 * fmd_case_add_suspect(hdl, cc->cp, flt); 1430 nvlist_t *flt; local 1454 flt = cmd_boardfru_create_fault(hdl, mb_rsrc, fltnm, 1456 fmd_case_add_suspect(hdl, casep, flt); 1490 flt = cmd_nvl_create_fault(hdl, fltnm, cert, 1493 flt = cmd_fault_add_location(hdl, flt, loc); 1495 fmd_case_add_suspect(hdl, casep, flt); 1498 flt [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4u/USII-io-diagnosis/ |
H A D | iod_main.c | 93 char flt[] = "defect.ultraSPARC-II.memory.nodiag"; local 98 fault = fmd_nvl_create_fault(hdl, flt, 100, NULL, NULL, NULL);
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | depend.c | 49 Flt_desc *flt; local 78 for (APLIST_TRAVERSE(crle->c_flt, idx, flt)) { 83 if ((strcmp(flt->f_fent->e_obj->o_path, 85 (strcmp(flt->f_str, str) != 0)) 91 if (aplist_append(&(flt->f_filtee), flteent, 102 if (((flt = malloc(sizeof (Flt_desc))) == NULL) || 103 ((flt->f_strsz = strlen(str) + 1) == 0) || 104 ((flt->f_str = malloc(flt->f_strsz)) == NULL)) { 110 if ((aplist_append(&(crle->c_flt), flt, AL_CNT_CRL [all...] |
H A D | config.c | 574 Flt_desc *flt; local 577 for (APLIST_TRAVERSE(crle->c_flt, idx1, flt)) { 587 fltrtbl->fr_filter = flt->f_fent->e_cobj->co_name; 589 (void) strcpy(_strtbl, flt->f_str); 590 _strtbl += flt->f_strsz; 594 for (APLIST_TRAVERSE(flt->f_filtee, idx2, flte)) {
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_names.c | 36 rawfltname(int flt) argument 40 switch (flt) { 65 proc_fltname(int flt, char *buf, size_t bufsz) argument 67 const char *name = rawfltname(flt); 77 len = snprintf(buf, bufsz, "FLT#%d", flt); 617 int flt; local 629 if (proc_str2flt(p, &flt) == -1) { 634 praddset(set, flt); 636 prdelset(set, flt);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_self.c | 85 nvlist_t *flt, *mod; local 117 flt = fmd_protocol_fault(class, 100, mod, NULL, NULL, NULL); 119 fmd_case_add_suspect(hdl, cp, flt); 168 flt = fmd_protocol_fault(FMD_FLT_NOSUB, 100, NULL, NULL, NULL, NULL); 169 (void) nvlist_add_string(flt, "nosub_class", class); 170 fmd_case_add_suspect(hdl, cp, flt);
|
H A D | fmd_asru.c | 445 nvlist_t *flt, *flt_copy, *asru; local 469 if (nvlist_lookup_nvlist(nvl, FM_RSRC_ASRU_EVENT, &flt) != 0) { 513 (void) nvlist_xdup(flt, &flt_copy, &fmd.d_nva); 531 (void) nvlist_xdup(flt_copy, &flt, &fmd.d_nva); 538 alp = fmd_asru_al_create(ahp, flt, cp, fmd_strbasename(lp->log_name)); 544 ps = fmd_asru_replacement_state(flt, HC_ONLY_FALSE); 576 nvlist_free(flt);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_dperr.c | 101 nvlist_t *asru, *fru = NULL, *flt, *hcel; local 203 flt = cmd_nvl_create_fault(hdl, class, 100/numfru, 205 fmd_case_add_suspect(hdl, dp->dp_case, flt);
|
H A D | cmd_memerr_arch.c | 851 nvlist_t *fru = NULL, *asru = NULL, *flt = NULL; local 906 flt = cmd_nvl_create_fault(hdl, "fault.memory.datapath", 913 flt = cmd_nvl_create_fault(hdl, "fault.memory.datapath", 917 fmd_case_add_suspect(hdl, cp, flt);
|
H A D | cmd_Lxcache.c | 595 nvlist_t *flt; local 606 flt = fmd_nvl_create_fault(hdl, fltmsg, cert, 608 if (nvlist_add_boolean_value(flt, FM_SUSPECT_MESSAGE, B_FALSE) != 0) 615 fmd_case_add_suspect(hdl, Lxcache->Lxcache_case.cc_cp, flt);
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | listopts.c | 409 int flt; local 420 flt = strtol(name, &next, 0); 421 if (flt <= 0 || flt > PRMAXFAULT || *next != '\0') { 422 for (flt = 1; flt <= PRMAXFAULT; flt++) { 425 if (proc_fltname(flt, fname, 433 if (flt > PRMAXFAULT) 434 flt [all...] |
H A D | actions.c | 279 int flt = Lsp->pr_what; local 281 if ((uint_t)flt > PRMAXFAULT || !prismember(&faults, flt) || !dotrace) 285 Cp->fltcount[flt]++; 296 flt, proc_fltname(flt, pri->flt_name, sizeof (pri->flt_name)), 299 if (flt == FLTPAGE)
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/ |
H A D | gmem_page.c | 322 nvlist_t *flt, *hsp; local 345 flt = fmd_nvl_create_fault(hdl, GMEM_FAULT_PAGE, 100, NULL, fru, rsc); 348 if (nvlist_add_boolean_value(flt, FM_SUSPECT_MESSAGE, B_FALSE) != 0) 352 fmd_case_add_suspect(hdl, page->page_case.cc_cp, flt);
|
H A D | gmem_memerr.c | 369 nvlist_t *flt, *rsrc; local 395 flt = fmd_nvl_create_fault(hdl, GMEM_FAULT_DIMM_PAGES, 397 fmd_case_add_suspect(hdl, cp, flt); 411 nvlist_t *flt, *rsrc; local 427 flt = fmd_nvl_create_fault(hdl, 432 fmd_case_add_suspect(hdl, cp, flt); 631 nvlist_t *flt, *rsc; local 689 flt = fmd_nvl_create_fault(hdl, GMEM_FAULT_DIMM_4A, 701 fmd_case_add_suspect(hdl, dimm->dimm_case.cc_cp, flt);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_branch.c | 278 nvlist_t *memb_nvl, *flt; local 282 flt = cmd_nvl_create_fault(hdl, fltnm, board_cert, 284 flt = cmd_fault_add_location(hdl, flt, label); 285 if (flt != NULL) { 286 fmd_case_add_suspect(hdl, cp, flt); 306 nvlist_t *flt; local 357 flt = cmd_boardfru_create_fault(hdl, asru, fltnm, board_cert, fruloc); 358 if (flt != NULL) 359 fmd_case_add_suspect(hdl, branch->branch_case.cc_cp, flt); [all...] |
H A D | cmd_hc_sun4v.c | 41 cmd_fault_add_location(fmd_hdl_t *hdl, nvlist_t *flt, const char *locstr) { argument 45 if (nvlist_lookup_string(flt, FM_FAULT_LOCATION, &t) == 0) 46 return (flt); /* already has location value */ 64 if (nvlist_add_string(flt, FM_FAULT_LOCATION, t) != 0) 67 return (flt); 254 nvlist_t *flt, *nvlfru; local 269 flt = cmd_nvl_create_fault(hdl, fltnm, cert, nvlfru, nvlfru, NULL); 270 flt = cmd_fault_add_location(hdl, flt, loc); 272 return (flt); [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_cheetah.c | 368 cpu_impl_async_log_err(void *flt, errorq_elem_t *eqep) argument
|
H A D | us3_jalapeno.c | 312 cpu_impl_async_log_err(void *flt, errorq_elem_t *eqep) argument 314 ch_async_flt_t *ch_flt = (ch_async_flt_t *)flt; 315 struct async_flt *aflt = (struct async_flt *)flt; 321 cpu_async_log_ic_parity_err(flt); 325 cpu_async_log_dc_parity_err(flt);
|
H A D | us3_cheetahplus.c | 80 static void cpu_async_log_tlb_parity_err(void *flt); 375 cpu_impl_async_log_err(void *flt, errorq_elem_t *eqep) argument 377 ch_async_flt_t *ch_flt = (ch_async_flt_t *)flt; 378 struct async_flt *aflt = (struct async_flt *)flt; 383 cpu_async_log_ic_parity_err(flt); 387 cpu_async_log_dc_parity_err(flt); 397 cpu_async_log_tlb_parity_err(flt); 1064 cpu_async_log_tlb_parity_err(void *flt) { argument 1065 ch_async_flt_t *ch_flt = (ch_async_flt_t *)flt; 1066 struct async_flt *aflt = (struct async_flt *)flt; [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | eval.c | 712 struct event *flt = arrowp->tail->myevent; local 732 if ((serdvalp = (struct evalue *)lut_lookup(flt->serdprops, 742 flt->enode->u.event.ename->u.name.s); 751 flt->enode->u.event.ename->u.name.s); 757 flt->enode->u.event.ename->u.name.s); 794 flt->serdprops = lut_add(flt->serdprops, (void *)str,
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | error.c | 507 cpu_async_log_err(void *flt) argument 509 errh_async_flt_t *errh_fltp = (errh_async_flt_t *)flt;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_target.c | 1792 mdb_tgt_add_fault(mdb_tgt_t *t, int flt, argument 1795 return (t->t_ops->t_add_fault(t, flt, spec_flags, func, p));
|