Home
last modified time | relevance | path

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

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