Home
last modified time | relevance | path

Searched refs:thread_t (Results 1 – 25 of 100) sorted by relevance

1234

/illumos-gate/usr/src/head/
H A Dthread.h51 typedef unsigned int thread_t; typedef
55 thread_t *);
56 extern int thr_join(thread_t, thread_t *, void **);
60 extern thread_t thr_self(void);
81 extern int thr_kill(thread_t, int);
82 extern int thr_suspend(thread_t);
83 extern int thr_continue(thread_t);
85 extern int thr_setprio(thread_t, int);
86 extern int thr_getprio(thread_t, int *);
92 extern int thr_getname(thread_t, char *, size_t);
[all …]
H A Dapptrace_impl.h55 extern thread_t (*abi_thr_self)(void);
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dthread.c32 thread_t tid; in _curthread()
56 thread_t newtid; in thread_create()
85 static thread_t reap_tid; in thread_exit()
86 thread_t prev; in thread_exit()
99 thread_t thr_id; in thread_join()
101 thr_id = (thread_t)id; in thread_join()
108 thread_t tid = (thread_t)(uintptr_t)kt; in tsignal()
H A Dtaskq.c50 typedef unsigned int thread_t; typedef
54 thread_t *);
55 extern int thr_join(thread_t, thread_t *, void **);
80 thread_t *tq_threadlist;
331 tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP); in taskq_create_proc()
374 kmem_free(tq->tq_threadlist, nthreads * sizeof (thread_t)); in taskq_destroy()
394 if (tq->tq_threadlist[i] == (thread_t)(uintptr_t)t) in taskq_member()
/illumos-gate/usr/src/uts/intel/ml/
H A Dswtch.S83 movq %rbp, T_RBP(thread_t); \
84 movq %rbx, T_RBX(thread_t); \
85 movq %r12, T_R12(thread_t); \
86 movq %r13, T_R13(thread_t); \
87 movq %r14, T_R14(thread_t); \
88 movq %r15, T_R15(thread_t); \
91 movq %rsp, T_SP(thread_t); \
92 movq retaddr, T_PC(thread_t); \
119 movq T_PROCP(thread_t), hatp; \
135 #define STORE_INTR_START(thread_t) \ argument
[all …]
/illumos-gate/usr/src/cmd/vntsd/
H A Dvntsd.h267 thread_t cons_tid; /* console thread */
283 thread_t wr_tid; /* write thread */
301 thread_t listen_tid; /* listen thread */
331 thread_t tid; /* main thread id */
343 thread_t tid; /* thread tid */
467 void vntsd_reset_timer(thread_t tid);
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dinterceptlib.c45 static volatile thread_t locktid = NOTID;
61 thread_t tid; in abilock()
80 thread_t tid; in abiunlock()
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem_base.h50 extern thread_t umem_init_thr; /* the thread doing the init */
69 extern volatile thread_t umem_st_update_thr;
70 extern thread_t umem_update_thr;
H A Dstub_stand.c76 thread_t
79 return ((thread_t)1); in thr_self()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c94 thread_t tid; in svcblock()
175 thread_t tid; in svcrdma()
198 thread_t tid; in svcwait()
/illumos-gate/usr/src/lib/mergeq/
H A Dworkq.c43 thread_t *wq_thrs; /* Actual threads */
73 workq_free(wqp->wq_thrs, sizeof (thread_t) * wqp->wq_ndthreads); in workq_fini()
97 wqp->wq_thrs = workq_alloc(sizeof (thread_t) * in workq_init()
111 sizeof (thread_t) * wqp->wq_ndthreads); in workq_init()
122 sizeof (thread_t) * wqp->wq_ndthreads); in workq_init()
H A Dmergeq.c202 thread_t *mq_thrs; /* Actual threads */
230 mergeq_free(mqp->mq_thrs, sizeof (thread_t) * in mergeq_fini()
258 mqp->mq_thrs = mergeq_alloc(sizeof (thread_t) * in mergeq_init()
272 sizeof (thread_t) * mqp->mq_ndthreads); in mergeq_init()
284 sizeof (thread_t) * mqp->mq_ndthreads); in mergeq_init()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dthr.c499 find_lwpp(thread_t tid) in find_lwpp()
539 find_lwp(thread_t tid) in find_lwp()
569 thread_t tid; in _thrp_create()
994 _thrp_join(thread_t tid, thread_t *departed, void **status, int do_cancel) in _thrp_join()
999 thread_t found; in _thrp_join()
1081 thr_join(thread_t tid, thread_t *departed, void **status) in thr_join()
1767 thread_t
2171 thr_suspend(thread_t tid) in thr_suspend()
2177 thr_continue(thread_t tid) in thr_continue()
2638 gettsp_slow(thread_t tid) in gettsp_slow()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.h101 thread_t tid; /* id of the thread starts the request */
150 thread_t tid; /* thread creates the connection */
216 thread_t procchg_tid; /* id of the change monitor thread */
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dmulti_thread_def.h110 struct thread_t { struct
135 struct thread_t thread[NUM_THREADS]; argument
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c57 thread_t tid; /* main nscd tid */
119 waiting_list_add(chg_info_t *info, pid_t pid, thread_t tid, in waiting_list_add()
153 waiting_list_delete(chg_info_t *info, thread_t tid) in waiting_list_delete()
188 waiting_list_cleanup(chg_info_t *chg, thread_t tid) in waiting_list_cleanup()
263 thread_t this_tid = thr_self(); in chg_get_statusChange()
/illumos-gate/usr/src/lib/libumem/common/sys/
H A Dvmem_impl_user.h61 thread_t vs_thread;
141 thread_t vmpl_thr;
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/
H A Dlock-signal.c37 static volatile thread_t lock_sig_thrid;
102 thread_t thr; in lock_signal_one()
H A Dnvme_ioctl_util.h46 extern bool nvme_ioctl_test_thr_blocked(thread_t);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_taskq.c58 thread_t *ztq_threadlist;
242 umem_alloc(nthreads * sizeof (thread_t), UMEM_NOFAIL); in zfs_taskq_create()
288 umem_free(ztq->ztq_threadlist, nthreads * sizeof (thread_t)); in zfs_taskq_destroy()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c185 thread_t watch_thread; in dm_init_event_queue()
202 thread_t watch_thread; in dm_init_event_queue()
477 thread_t walk_thread; in walk_devtree()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c503 thread_t
506 thread_t (*fptr)(void); in rt_thr_self()
508 if ((fptr = (thread_t (*)())glcs[CI_THR_SELF].lc_un.lc_func) != NULL) in rt_thr_self()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_panic.c36 thread_t varpd_panic_thread;
/illumos-gate/usr/src/lib/libc/sparc/threads/
H A Dmachdep.c33 extern int getlwpstatus(thread_t, lwpstatus_t *);
34 extern int putlwpregs(thread_t, prgregset_t);
/illumos-gate/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c33 extern int getlwpstatus(thread_t, lwpstatus_t *);
34 extern int putlwpregs(thread_t, prgregset_t);

1234