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

/opensolaris-onvv-gate/usr/src/cmd/ptools/prun/
H A Dprun.c117 int lwpcount = 0; local
120 (void) Plwp_iter_all(P, (proc_lwp_all_f *)lwpstart, &lwpcount);
122 if (lwpcount == 0) {
126 } else if (lwpcount == -1)
142 lwpstart(int *lwpcount, const lwpstatus_t *status, const lwpsinfo_t *info) argument
157 if (*lwpcount >= 0)
158 (*lwpcount)++;
163 *lwpcount = -1;
/opensolaris-onvv-gate/usr/src/cmd/ptools/pstop/
H A Dpstop.c88 int lwpcount = 0; local
90 (void) Plwp_iter_all(P, (proc_lwp_all_f *)lwpstop, &lwpcount);
91 if (lwpcount == 0) {
95 } else if (lwpcount == -1)
113 lwpstop(int *lwpcount, const lwpstatus_t *status, const lwpsinfo_t *info) argument
128 if (*lwpcount >= 0)
129 (*lwpcount)++;
134 *lwpcount = -1;

Completed in 74 milliseconds