Searched refs:swd (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_meth.c | 231 struct cpu_walk_data swd; in cpu_retire() local 237 if (walk_cpus(mod, &swd, node, ldom_fmri_retire) == -1) in cpu_retire() 240 rc = swd.fail > 0 ? FMD_AGENT_RETIRE_FAIL : FMD_AGENT_RETIRE_DONE; in cpu_retire() 250 struct cpu_walk_data swd; in cpu_unretire() local 256 if (walk_cpus(mod, &swd, node, ldom_fmri_unretire) == -1) in cpu_unretire() 259 rc = swd.fail > 0 ? FMD_AGENT_RETIRE_FAIL : FMD_AGENT_RETIRE_DONE; in cpu_unretire() 269 struct cpu_walk_data swd; in cpu_service_state() local 275 if (walk_cpus(mod, &swd, node, ldom_fmri_status) == -1) in cpu_service_state() 278 if (swd.fail > 0) in cpu_service_state() 280 else if (swd.offline > 0) in cpu_service_state() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | rctl.c | 381 set_walk_data_t *swd; in rctl_set_walk_init() local 402 swd = mdb_alloc(sizeof (set_walk_data_t), UM_SLEEP); in rctl_set_walk_init() 403 swd->hashsize = hashsz; in rctl_set_walk_init() 404 swd->hashcur = 0; in rctl_set_walk_init() 405 swd->hashloc = (void **)rctls; in rctl_set_walk_init() 408 wsp->walk_data = swd; in rctl_set_walk_init() 417 set_walk_data_t *swd = wsp->walk_data; in rctl_set_walk_step() local 419 void **rhash = swd->hashloc; in rctl_set_walk_step() 422 if (swd->hashcur >= swd->hashsize) in rctl_set_walk_step() 426 while (swd->hashcur < swd->hashsize) { in rctl_set_walk_step() [all …]
|
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_subr.c | 619 struct strand_walk_data swd; in retire_strands() local 625 if (walk_strands(mod, &swd, node, fmd_agent_cpu_retire) == -1) in retire_strands() 628 if (swd.fail > 0) in retire_strands() 630 else if (swd.async > 0) in retire_strands() 643 struct strand_walk_data swd; in unretire_strands() local 649 if (walk_strands(mod, &swd, node, fmd_agent_cpu_unretire) == -1) in unretire_strands() 652 if (swd.fail > 0) in unretire_strands() 654 else if (swd.async > 0) in unretire_strands() 667 struct strand_walk_data swd; in service_state_strands() local 673 if (walk_strands(mod, &swd, node, fmd_agent_cpu_isretired) == -1) in service_state_strands() [all …]
|