Home
last modified time | relevance | path

Searched refs:cs_state (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/stat/common/
H A Dwalkers.c209 if (c1->cs_state == c2->cs_state) in cpu_report()
212 if (CPU_ONLINE(c1->cs_state) && !CPU_ONLINE(c2->cs_state)) in cpu_report()
215 if (!CPU_ONLINE(c1->cs_state) && CPU_ONLINE(c2->cs_state)) in cpu_report()
H A Dstatcommon.h56 #define CPU_ACTIVE(c) (CPU_ONLINE((c)->cs_state) && (c)->cs_id != ID_NO_CPU)
98 int cs_state; member
H A Dacquire.c83 ss->s_cpus[i].cs_state = p_online(i, P_STATUS); in acquire_cpus()
85 if (ss->s_cpus[i].cs_state == -1) in acquire_cpus()
/titanic_41/usr/src/lib/libcpc/common/
H A Dlibcpc.c159 if (cpc->cpc_sets->cs_state != CS_UNBOUND) in cpc_close()
201 set->cs_state = CS_UNBOUND; in cpc_set_create()
241 if (csp->cs_state != CS_UNBOUND) in cpc_set_destroy()
277 if (cpc_set_valid(cpc, set) != 0 || set->cs_state != CS_UNBOUND) { in cpc_set_add_request()
456 set->cs_state = CS_BOUND_CURLWP; in cpc_bind_curlwp()
490 set->cs_state = CS_BOUND_PCTX; in cpc_bind_pctx()
563 set->cs_state = CS_BOUND_CPU; in cpc_bind_cpu()
595 switch (set->cs_state) { in cpc_unbind()
621 set->cs_state = CS_UNBOUND; in cpc_unbind()
638 if (set->cs_state == CS_UNBOUND || in cpc_set_sample()
[all …]
H A Dlibcpc_impl.h83 __cpc_state_t cs_state; /* State of this set */ member
/titanic_41/usr/src/cmd/smbsrv/smbstat/
H A Dsmbstat.c156 int cs_state; member
643 curr->cs_state = p_online(i, P_STATUS); in smbstat_cpu_snapshot()
645 if (curr->cs_state == -1) in smbstat_cpu_snapshot()