Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/ptools/pstop/
H A Dpstop.c86 int lwpcount = 0; in stop() local
88 (void) Plwp_iter_all(P, (proc_lwp_all_f *)lwpstop, &lwpcount); in stop()
89 if (lwpcount == 0) { in stop()
93 } else if (lwpcount == -1) in stop()
111 lwpstop(int *lwpcount, const lwpstatus_t *status, const lwpsinfo_t *info) in lwpstop() argument
126 if (*lwpcount >= 0) in lwpstop()
127 (*lwpcount)++; in lwpstop()
132 *lwpcount = -1; in lwpstop()
/illumos-gate/usr/src/cmd/ptools/prun/
H A Dprun.c115 int lwpcount = 0; in start() local
118 (void) Plwp_iter_all(P, (proc_lwp_all_f *)lwpstart, &lwpcount); in start()
120 if (lwpcount == 0) { in start()
124 } else if (lwpcount == -1) in start()
140 lwpstart(int *lwpcount, const lwpstatus_t *status, const lwpsinfo_t *info) in lwpstart() argument
155 if (*lwpcount >= 0) in lwpstart()
156 (*lwpcount)++; in lwpstart()
161 *lwpcount = -1; in lwpstart()