Lines Matching refs:lwpid
137 bind_err(psetid_t pset, const char *zname, id_t pid, id_t lwpid, int err) in bind_err() argument
156 else if (lwpid == -1) in bind_err()
159 warn(gettext("cannot %s lwpid %d/%d"), msg, pid, lwpid); in bind_err()
198 query_out(id_t pid, id_t lwpid, psetid_t pset) in query_out() argument
203 if (lwpid == -1) { in query_out()
207 (void) snprintf(pidstr, 20, "%d/%d", pid, lwpid); in query_out()
256 bind_out(id_t pid, id_t lwpid, psetid_t old, psetid_t new) in bind_out() argument
261 if (lwpid == -1) { in bind_out()
265 (void) snprintf(pidstr, 20, "%d/%d", pid, lwpid); in bind_out()
287 bind_lwp(id_t pid, id_t lwpid, psetid_t pset) in bind_lwp() argument
291 if (pset_bind_lwp(pset, lwpid, pid, &old_pset) != 0) { in bind_lwp()
292 bind_err(pset, NULL, pid, lwpid, errno); in bind_lwp()
297 query_out(pid, lwpid, old_pset); in bind_lwp()
299 bind_out(pid, lwpid, old_pset, pset); in bind_lwp()
515 id_t lwpid = lwpsinfo->pr_lwpid; in query_all_lwp() local
520 lwpid = -1; /* report process bindings if only 1 lwp */ in query_all_lwp()
523 query_out(pid, lwpid, binding); in query_all_lwp()