Searched defs:lwpid (Results 1 - 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dlwp.c68 _lwp_suspend(lwpid_t lwpid) argument
71 return (___lwp_suspend(lwpid));
/illumos-gate/usr/src/cmd/sgs/librtld_db/amd64/
H A Dplt64_resolution.c51 plt64_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, argument
/illumos-gate/usr/src/cmd/sgs/librtld_db/sparc/
H A Dplt32_resolution.c50 plt32_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, argument
/illumos-gate/usr/src/cmd/sgs/librtld_db/sparcv9/
H A Dplt64_resolution.c53 plt64_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, argument
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtnf_trace.h72 unsigned long lwpid; member in struct:__anon4134
80 tnf_uint32_t lwpid; member in struct:__anon4135
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsema.c138 lwpid_t lwpid = 0; local
170 lwpid = ulwp->ul_lwpid;
175 if (lwpid) {
176 (void) __lwp_unpark(lwpid);
256 lwpid_t lwpid = 0; local
265 lwpid = ulwp->ul_lwpid;
270 if (lwpid) {
271 (void) __lwp_unpark(lwpid);
323 lwpid_t lwpid = 0; local
332 lwpid
[all...]
H A Dassfail.c68 lwpid_t lwpid; local
74 lwpid = self->ul_lwpid;
76 lwpid = _lwp_self();
89 (void) _lwp_kill(lwpid, SIGABRT); /* never returns */
179 lwpid_t lwpid; local
195 lwpid = self->ul_lwpid;
201 lwpid = _lwp_self();
230 ultos((uint64_t)lwpid, 10, buf + strlen(buf));
270 lwpid_t lwpid; local
287 lwpid
357 lwpid_t lwpid; local
406 lwpid_t lwpid; local
[all...]
H A Drwlock.c386 lwpid_t *lwpid = buffer; local
424 * We keep track of lwpids that are to be unparked in lwpid[].
450 lwpid = alloc_lwpids(lwpid, &nlwpid, &maxlwps);
463 lwpid[nlwpid++] = ulwp->ul_lwpid;
483 (void) __lwp_unpark(lwpid[0]);
485 (void) __lwp_unpark_all(lwpid, nlwpid);
488 if (lwpid != buffer)
489 (void) munmap((caddr_t)lwpid, maxlwps * sizeof (lwpid_t));
/illumos-gate/usr/src/cmd/sgs/librtld_db/i386/
H A Dplt32_resolution.c146 plt32_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, argument
/illumos-gate/usr/src/cmd/tnf/tnfdump/
H A Dcooked.c203 int lwpid = 0, pid = 0; local
217 lwpid = tnf_get_int32(temp);
230 pid, lwpid, tid, cpuid);
236 pid, lwpid, tid, "-");
/illumos-gate/usr/src/cmd/truss/
H A Dipc.c217 lwptrace(pid_t spid, lwpid_t lwpid) argument
237 return (proc_lwp_in_set(lwps, lwpid));
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf_trace.h101 tnf_lwpid_t lwpid; member in struct:__anon9258
/illumos-gate/usr/src/lib/libcpc/common/
H A Dobsoleted.c295 cpc_pctx_bind_event(pctx_t *pctx, id_t lwpid, cpc_event_t *event, int flags) argument
301 return (cpc_pctx_rele(pctx, lwpid));
326 ret = cpc_bind_pctx(__cpc, pctx, lwpid, set, 0);
334 cpc_pctx_take_sample(pctx_t *pctx, id_t lwpid, cpc_event_t *event) argument
338 return (__pctx_cpc(pctx, __cpc, CPC_SAMPLE, lwpid, event->ce_pic,
343 * Given a process context and an lwpid, mark the CPU performance
347 cpc_pctx_invalidate(pctx_t *pctx, id_t lwpid) argument
349 return (__pctx_cpc(pctx, __cpc, CPC_INVALIDATE, lwpid, 0, 0, 0, 0));
353 * Given a process context and an lwpid, remove all our
357 cpc_pctx_rele(pctx_t *pctx, id_t lwpid) argument
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPlwpregs.c49 * about an lwp in the core file, given its lwpid.
52 getlwpcore(struct ps_prochandle *P, lwpid_t lwpid) argument
59 if (lwp->lwp_id == lwpid)
72 getlwpfile(struct ps_prochandle *P, lwpid_t lwpid, argument
79 procfs_path, (int)P->status.pr_pid, (int)lwpid, fbase);
97 getlwpstatus(struct ps_prochandle *P, lwpid_t lwpid, lwpstatus_t *lps) argument
102 * For both live processes and cores, our job is easy if the lwpid
105 if (P->status.pr_lwp.pr_lwpid == lwpid) {
115 return (getlwpfile(P, lwpid, "lwpstatus",
123 if (P->data != NULL && (lwp = getlwpcore(P, lwpid)) !
136 setlwpregs(struct ps_prochandle *P, lwpid_t lwpid, long cmd, const void *rp, size_t n) argument
191 Plwp_getregs(struct ps_prochandle *P, lwpid_t lwpid, prgregset_t gregs) argument
203 Plwp_setregs(struct ps_prochandle *P, lwpid_t lwpid, const prgregset_t gregs) argument
209 Plwp_getfpregs(struct ps_prochandle *P, lwpid_t lwpid, prfpregset_t *fpregs) argument
220 Plwp_setfpregs(struct ps_prochandle *P, lwpid_t lwpid, const prfpregset_t *fpregs) argument
228 Plwp_getxregs(struct ps_prochandle *P, lwpid_t lwpid, prxregset_t *xregs) argument
258 Plwp_setxregs(struct ps_prochandle *P, lwpid_t lwpid, const prxregset_t *xregs) argument
264 Plwp_getgwindows(struct ps_prochandle *P, lwpid_t lwpid, gwindows_t *gwins) argument
295 Plwp_getasrs(struct ps_prochandle *P, lwpid_t lwpid, asrset_t asrs) argument
325 Plwp_setasrs(struct ps_prochandle *P, lwpid_t lwpid, const asrset_t asrs) argument
333 Plwp_getpsinfo(struct ps_prochandle *P, lwpid_t lwpid, lwpsinfo_t *lps) argument
356 Plwp_getspymaster(struct ps_prochandle *P, lwpid_t lwpid, psinfo_t *ps) argument
389 Plwp_stack(struct ps_prochandle *P, lwpid_t lwpid, stack_t *stkp) argument
429 Plwp_main_stack(struct ps_prochandle *P, lwpid_t lwpid, stack_t *stkp) argument
503 Plwp_alt_stack(struct ps_prochandle *P, lwpid_t lwpid, stack_t *stkp) argument
[all...]
H A DPservice.c106 ps_lstop(struct ps_prochandle *P, lwpid_t lwpid) argument
115 ps_lcontinue(struct ps_prochandle *P, lwpid_t lwpid) argument
123 ps_lgetregs(struct ps_prochandle *P, lwpid_t lwpid, prgregset_t regs) argument
128 if (Plwp_getregs(P, lwpid, regs) == 0)
135 ps_lsetregs(struct ps_prochandle *P, lwpid_t lwpid, const prgregset_t regs) argument
140 if (Plwp_setregs(P, lwpid, regs) == 0)
147 ps_lgetfpregs(struct ps_prochandle *P, lwpid_t lwpid, prfpregset_t *regs) argument
152 if (Plwp_getfpregs(P, lwpid, regs) == 0)
159 ps_lsetfpregs(struct ps_prochandle *P, lwpid_t lwpid, const prfpregset_t *regs) argument
164 if (Plwp_setfpregs(P, lwpid, reg
173 ps_lgetxregsize(struct ps_prochandle *P, lwpid_t lwpid, int *xrsize) argument
207 ps_lgetxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t xregs) argument
220 ps_lsetxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t xregs) argument
237 ps_lgetLDT(struct ps_prochandle *P, lwpid_t lwpid, struct ssd *ldt) argument
[all...]
H A Dproc_arg.c340 * Determine if the specified lwpid is in the given set of lwpids.
341 * The set can include multiple lwpid ranges separated by commas
348 * -n lwpid <= n
349 * n-m n <= lwpid <= m
350 * n- lwpid >= n
351 * n lwpid == n
354 proc_lwp_in_set(const char *set, lwpid_t lwpid) argument
357 id_t id = (id_t)lwpid;
/illumos-gate/usr/src/cmd/prstat/
H A Dprtable.c244 lwpid_add(lwp_info_t *lwp, pid_t pid, id_t lwpid) argument
250 elm->l_lwpid = lwpid;
257 lwpid_del(pid_t pid, id_t lwpid) argument
266 if ((elm->l_pid == pid) && (elm->l_lwpid == lwpid)) {
281 lwpid_getptr(pid_t pid, id_t lwpid) argument
285 if ((elm->l_pid == pid) && (elm->l_lwpid == lwpid))
294 lwpid_get(pid_t pid, id_t lwpid) argument
296 plwp_t *elm = lwpid_getptr(pid, lwpid);
318 lwpid_is_active(pid_t pid, id_t lwpid) argument
320 plwp_t *elm = lwpid_getptr(pid, lwpid);
328 lwpid_set_active(pid_t pid, id_t lwpid) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/
H A Drtld_db.c216 rd_plt_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, argument
223 err = plt64_resolution(rap, pc, lwpid, pltbase,
227 err = plt32_resolution(rap, pc, lwpid, pltbase,
/illumos-gate/usr/src/uts/common/syscall/
H A Dlwpsys.c46 idtot(proc_t *p, id_t lwpid) argument
50 if ((ldp = lwp_hash_lookup(p, lwpid)) != NULL)
63 idtot_and_lock(proc_t *p, id_t lwpid, kmutex_t **mpp) argument
68 if ((ldp = lwp_hash_lookup_and_lock(p, lwpid, mpp)) != NULL) {
80 syslwp_suspend(id_t lwpid) argument
87 if ((t = idtot(p, lwpid)) == NULL)
98 syslwp_continue(id_t lwpid) argument
104 if ((t = idtot(p, lwpid)) == NULL) {
114 lwp_kill(id_t lwpid, int sig) argument
125 if ((t = idtot(p, lwpid))
172 lwp_wait(id_t lwpid, id_t *departed) argument
358 lwp_detach(id_t lwpid) argument
392 lwp_unpark(id_t lwpid) argument
424 lwp_unpark_cancel(id_t lwpid) argument
449 lwp_park(timespec_t *timeoutp, id_t lwpid) argument
553 id_t *lwpid; local
[all...]
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c332 * and resets the lwpid to one in the new address space.
532 id_t lwpid; local
661 lwpid = pstatus->pr_lwp.pr_lwpid;
684 pid, lwpid, pctx->uarg);
686 pid, lwpid, pctx->uarg);
693 pctx->exit(pctx, pid, lwpid,
734 if (pctx->exec(pctx, pid, lwpid,
747 if (pctx->init_lwp(pctx, pid, lwpid,
751 pid, lwpid, pctx->uarg) != 0)
784 lwpid, pct
870 __pctx_cpc(pctx_t *pctx, cpc_t *cpc, int cmd, id_t lwpid, void *data1, void *data2, void *data3, int bufsize) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dcpc.c88 cpc(int cmd, id_t lwpid, void *udata1, void *udata2, void *udata3) argument
110 if ((t = idtot(curproc, lwpid)) == NULL || t == curthread)
112 ASSERT(t->t_tid == lwpid && ttolwp(t) != NULL);
/illumos-gate/usr/src/cmd/pbind/
H A Dpbind.c100 query_out(id_t pid, id_t lwpid, processorid_t cpu) argument
105 if (lwpid == -1) {
109 (void) snprintf(pidstr, 20, "%d/%d", (int)pid, (int)lwpid);
125 bind_err(processorid_t cpu, id_t pid, id_t lwpid, int err) argument
140 if (lwpid == -1)
144 warn(gettext("cannot %s lwpid %d/%d: %s\n"), msg,
145 (int)pid, (int)lwpid, strerror(err));
152 bind_out(id_t pid, id_t lwpid, processorid_t old, processorid_t new) argument
157 if (lwpid == -1) {
161 (void) snprintf(pidstr, 20, "%d/%d", (int)pid, (int)lwpid);
218 bind_lwp(struct ps_prochandle *Pr, id_t pid, id_t lwpid, processorid_t cpu) argument
336 id_t lwpid = lwpsinfo->pr_lwpid; local
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_proc.c398 lwpid_t lwpid = psp->pr_lwpid; local
430 if (Pstate(P) != PS_STOP || psp->pr_lwpid != lwpid ||
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_signal.c786 s10_lwp_kill(sysret_t *rval, id_t lwpid, int sig) argument
792 lwpid, sig);
796 return (__systemcall(rval, SYS_lwp_kill + 1024, lwpid, nativesig));
/illumos-gate/usr/src/cmd/psrset/
H A Dpsrset.c137 bind_err(psetid_t pset, const char *zname, id_t pid, id_t lwpid, int err) argument
156 else if (lwpid == -1)
159 warn(gettext("cannot %s lwpid %d/%d"), msg, pid, lwpid);
198 query_out(id_t pid, id_t lwpid, psetid_t pset) argument
203 if (lwpid == -1) {
207 (void) snprintf(pidstr, 20, "%d/%d", pid, lwpid);
256 bind_out(id_t pid, id_t lwpid, psetid_t old, psetid_t new) argument
261 if (lwpid == -1) {
265 (void) snprintf(pidstr, 20, "%d/%d", pid, lwpid);
287 bind_lwp(id_t pid, id_t lwpid, psetid_t pset) argument
515 id_t lwpid = lwpsinfo->pr_lwpid; local
[all...]

Completed in 149 milliseconds

12