Home
last modified time | relevance | path

Searched refs:trw (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpuerr.c397 cmd_xxcu_trw_t *trw; in cmd_xxcu_resolve() local
407 if ((trw = cmd_trw_lookup(xr->xr_ena, in cmd_xxcu_resolve()
413 fmd_hdl_debug(hdl, "found waiter with mask 0x%08llx\n", trw->trw_mask); in cmd_xxcu_resolve()
415 trw->trw_flags |= CMD_TRW_F_DELETING; in cmd_xxcu_resolve()
423 if (trw->trw_flags & CMD_TRW_F_CAUSESEEN) { in cmd_xxcu_resolve()
429 if ((cause = cmd_train_match(trw->trw_mask, xr->xr_clcode)) == 0) { in cmd_xxcu_resolve()
447 trw->trw_flags |= CMD_TRW_F_CAUSESEEN; in cmd_xxcu_resolve()
452 cmd_trw_deref(hdl, trw); in cmd_xxcu_resolve()
477 cmd_xxcu_trw_t *trw; in cmd_xxcu_initial() local
514 if ((trw = cmd_trw_lookup(ena, afar_status, afar)) == NULL) { in cmd_xxcu_initial()
[all …]
H A Dcmd_cpu.c1327 cmd_xxcu_trw_t *trw = &cmd.cmd_xxcu_trw[i]; in cmd_trw_alloc() local
1328 if (trw->trw_ena == NULL) { in cmd_trw_alloc()
1329 trw->trw_ena = ena; in cmd_trw_alloc()
1330 trw->trw_afar = afar; in cmd_trw_alloc()
1331 return (trw); in cmd_trw_alloc()
1347 cmd_trw_ref(fmd_hdl_t *hdl, cmd_xxcu_trw_t *trw, cmd_errcl_t clcode) in cmd_trw_ref() argument
1349 trw->trw_ref++; in cmd_trw_ref()
1350 trw->trw_mask |= clcode; in cmd_trw_ref()
1355 cmd_trw_deref(fmd_hdl_t *hdl, cmd_xxcu_trw_t *trw) in cmd_trw_deref() argument
1357 if (trw->trw_ref == 0) in cmd_trw_deref()
[all …]