/illumos-gate/usr/src/head/ |
H A D | thread.h | 51 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 …]
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | thread.c | 32 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 D | taskq.c | 50 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 D | swtch.S | 82 #define SAVE_REGS(thread_t, retaddr) \ argument 83 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); \ 118 #define GET_THREAD_HATP(hatp, thread_t, scratch_reg) \ argument [all …]
|
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | vntsd.h | 267 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 D | interceptlib.c | 45 static volatile thread_t locktid = NOTID; 61 thread_t tid; in abilock() 80 thread_t tid; in abiunlock()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | thrpool.c | 94 thread_t tid; in svcblock() 175 thread_t tid; in svcrdma() 198 thread_t tid; in svcwait()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem_base.h | 50 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 D | stub_stand.c | 76 thread_t 79 return ((thread_t)1); in thr_self()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | thr.c | 499 find_lwpp(thread_t tid) in find_lwpp() 539 find_lwp(thread_t tid) in find_lwp() 563 long flags, thread_t *new_thread, size_t guardsize, const char *name) in _thrp_create() 569 thread_t tid; in _thrp_create() 729 long flags, thread_t *new_thread) in thr_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 1851 thread_t tid = ulwp->ul_lwpid; in safe_suspend() [all …]
|
/illumos-gate/usr/src/lib/mergeq/ |
H A D | workq.c | 43 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 D | mergeq.c | 202 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/libsldap/common/ |
H A D | ns_connmgmt.h | 101 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 D | multi_thread_def.h | 110 struct thread_t { struct 135 struct thread_t thread[NUM_THREADS]; argument
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_change.c | 57 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 D | vmem_impl_user.h | 61 thread_t vs_thread; 141 thread_t vmpl_thr;
|
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/ |
H A D | lock-signal.c | 37 static volatile thread_t lock_sig_thrid; 102 thread_t thr; in lock_signal_one()
|
H A D | nvme_ioctl_util.h | 46 extern bool nvme_ioctl_test_thr_blocked(thread_t);
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_taskq.c | 58 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 D | events.c | 185 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 D | external.c | 506 thread_t in rt_thr_self() 509 thread_t (*fptr)(void); in rt_thr_self() 511 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 D | libvarpd_panic.c | 36 thread_t varpd_panic_thread;
|
/illumos-gate/usr/src/lib/libc/sparc/threads/ |
H A D | machdep.c | 33 extern int getlwpstatus(thread_t, lwpstatus_t *); 34 extern int putlwpregs(thread_t, prgregset_t);
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | libc.h | 68 extern int thr_kill(thread_t tid, int sig); 69 extern thread_t thr_self(void);
|
/illumos-gate/usr/src/lib/libc/amd64/threads/ |
H A D | machdep.c | 33 extern int getlwpstatus(thread_t, lwpstatus_t *); 34 extern int putlwpregs(thread_t, prgregset_t);
|