/illumos-gate/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 332 * 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/cmd/truss/ |
H A D | main.c | 150 insert_lwpid(lwpid_t lwpid) argument 167 truss_lwpid[i] = lwpid; 182 lwpid_t lwpid; local 188 if ((lwpid = truss_lwpid[i]) != 0 && lwpid != my_id) 189 (void) thr_kill(lwpid, interrupt); 195 if ((lwpid = truss_lwpid[i]) != 0 && lwpid != my_id) 196 (void) thr_kill(lwpid, SIGUSR1); 202 if ((lwpid 235 lwpid_t lwpid; local 1230 lwpid_t lwpid; local 1851 id_t lwpid = pri->lwpstat->pr_lwpid; local [all...] |
H A D | ipc.c | 217 lwptrace(pid_t spid, lwpid_t lwpid) argument 237 return (proc_lwp_in_set(lwps, lwpid));
|
H A D | fcall.c | 634 id_t lwpid = Lsp->pr_lwpid; local 679 td_ta_map_lwp2thr(Thr_agent, lwpid, &th) == TD_OK && 816 id_t lwpid = Lsp->pr_lwpid; local 872 if ((error = td_ta_map_lwp2thr(Thr_agent, lwpid, &th)) != TD_OK) { 877 (int)lwpid, error, (long)tref); 886 (int)lwpid, error, (long)tref); 928 id_t lwpid = Lsp->pr_lwpid; local 958 if ((error = td_ta_map_lwp2thr(Thr_agent, lwpid, &th)) != TD_OK) { 963 (int)lwpid, error, (long)tref); 972 (int)lwpid, erro [all...] |
H A D | ramdata.h | 92 id_t lwpid; member in struct:__anon1902::__anon1903 116 id_t exec_lwpid; /* lwpid that performed the exec */ 183 extern lwpid_t *truss_lwpid; /* array of truss lwpid's */
|
/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | trace_init.c | 246 sched->lwpid = _lwp_self();
|
H A D | probe_cntl.c | 392 * schedule record in case the lwpid changes the next time this 413 * to get re-initialized with the new lwpid the next 416 if (ops->schedule.lwpid != _lwp_self())
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | rwlock.c | 386 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/uts/common/os/ |
H A D | lwp.c | 67 /* hash function for the lwpid hash table, p->p_tidhash[] */ 97 int state, int pri, const k_sigset_t *smask, int cid, id_t lwpid) 289 * Grow the lwp (thread) directory and lwpid hash table if necessary. 296 * The size of the lwpid hash table must be a power of two 299 * the lwpid hash table size is computed as: 597 * If we were given an lwpid then use it, else allocate one. 599 if (lwpid != 0) 600 t->t_tid = lwpid; 610 do { /* avoid lwpid duplication */ 714 * and into the lwpid has 96 lwp_create(void (*proc)(), caddr_t arg, size_t len, proc_t *p, int state, int pri, const k_sigset_t *smask, int cid, id_t lwpid) argument 1798 forklwp(klwp_t *lwp, proc_t *cp, id_t lwpid) argument 1975 lwp_hash_out(proc_t *p, id_t lwpid) argument 2003 lwp_hash_lookup(proc_t *p, id_t lwpid) argument 2030 lwp_hash_lookup_and_lock(proc_t *p, id_t lwpid, kmutex_t **mpp) argument [all...] |
H A D | sched.c | 573 tnf_lwpid, lwpid, tp->t_tid, 711 tnf_lwpid, lwpid, tp->t_tid, 883 tnf_lwpid, lwpid, tp->t_tid,
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_signal.c | 786 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/lib/libcpc/common/ |
H A D | libcpc_impl.h | 145 extern int __pctx_cpc(pctx_t *pctx, struct __cpc *cpc, int cmd, id_t lwpid,
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/i386/ |
H A D | plt32_resolution.c | 146 plt32_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, argument
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_arg.c | 340 * 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;
|
H A D | Pcontrol.c | 3136 * Find an entry in the process hash table for the specified lwpid. 3141 Lfind(struct ps_prochandle *P, lwpid_t lwpid) argument 3146 for (Lp = &P->hashtab[lwpid % (HASHSIZE - 1)]; 3148 if (L->lwp_id == lwpid) 3159 Lgrab(struct ps_prochandle *P, lwpid_t lwpid, int *perr) argument 3176 else if (*(Lp = Lfind(P, lwpid)) != NULL) 3190 L->lwp_id = lwpid; 3194 if (getlwpstatus(P, lwpid, &L->lwp_status) == -1) { 3205 * Open the /proc/<pid>/lwp/<lwpid> files 3208 procfs_path, (int)P->pid, (int)lwpid); [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpc.c | 88 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/sgs/librtld_db/sparcv9/ |
H A D | plt64_resolution.c | 53 plt64_resolution(rd_agent_t *rap, psaddr_t pc, lwpid_t lwpid, argument
|
/illumos-gate/usr/src/uts/common/tnf/ |
H A D | tnf_trace.c | 165 ASSIGN(buffer, lwpid, t->t_tid);
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prioctl.c | 179 uint_t lwpid; member in union:__anon144 316 if (copyin(cmaddr, &un.lwpid, sizeof (un.lwpid))) 601 if ((xvp = prlwpnode(pnp, un.lwpid)) == NULL) 1717 uint_t lwpid; member in union:__anon145 1743 uint_t lwpid; member in union:__anon146 1879 if (copyin(cmaddr, &un32.lwpid, sizeof (un32.lwpid))) 2186 if ((xvp = prlwpnode(pnp, un32.lwpid)) == NULL)
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_proc.c | 398 lwpid_t lwpid = psp->pr_lwpid; local 430 if (Pstate(P) != PS_STOP || psp->pr_lwpid != lwpid ||
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lgrpsys.c | 339 lgrp_affinity_get_thread(proc_t *p, id_t lwpid, lgrp_id_t lgrp) argument 358 if (t->t_tid == lwpid || lwpid == P_ANY) {
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | proc.h | 75 id_t le_lwpid; /* its lwpid (t->t_tid) */ 110 * Element of the p_tidhash thread-id (lwpid) hash table. 217 id_t p_lwpid; /* most recently allocated lwpid */ 227 tidhash_t *p_tidhash; /* tid (lwpid) lookup hash table */ 744 id_t lwpid);
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | fx.c | 1153 tnf_lwpid, lwpid, t->t_tid); 1346 tnf_lwpid, lwpid, t->t_tid);
|
H A D | ts.c | 1452 tnf_lwpid, lwpid, t->t_tid); 1745 tnf_lwpid, lwpid, t->t_tid);
|