usr/src/cmd/cdrw/trackio.c
264
thread_t tio_thread, pc_thread;
usr/src/cmd/cpc/common/cpustat.c
440
thread_t tid;
usr/src/cmd/cpc/common/cpustat.c
82
thread_t tid;
usr/src/cmd/fs.d/nfs/lib/thrpool.c
175
thread_t tid;
usr/src/cmd/fs.d/nfs/lib/thrpool.c
198
thread_t tid;
usr/src/cmd/fs.d/nfs/lib/thrpool.c
94
thread_t tid;
usr/src/cmd/fs.d/nfs/mountd/mountd.c
134
thread_t nfsauth_thread;
usr/src/cmd/fs.d/nfs/mountd/mountd.c
135
thread_t cmd_thread;
usr/src/cmd/fs.d/nfs/mountd/mountd.c
136
thread_t logging_thread;
usr/src/cmd/fs.d/nfs/nfsmapid/nfsmapid.c
68
thread_t sig_thread;
usr/src/cmd/fs.d/nfs/nfsmapid/nfsmapid_server.c
74
extern thread_t sig_thread;
usr/src/cmd/fs.d/smbclnt/fksmbcl/fkiod_cl.c
101
thread_t tid;
usr/src/cmd/fs.d/smbclnt/smbiod/smbiod.c
270
thread_t tid;
usr/src/cmd/ldapcachemgr/cachemgr.h
67
thread_t tid; /* thread id of the server */
usr/src/cmd/ldapcachemgr/cachemgr_change.c
119
waiting_list_add(chg_info_t *info, pid_t pid, thread_t tid,
usr/src/cmd/ldapcachemgr/cachemgr_change.c
153
waiting_list_delete(chg_info_t *info, thread_t tid)
usr/src/cmd/ldapcachemgr/cachemgr_change.c
188
waiting_list_cleanup(chg_info_t *chg, thread_t tid)
usr/src/cmd/ldapcachemgr/cachemgr_change.c
263
thread_t this_tid = thr_self();
usr/src/cmd/ldapcachemgr/cachemgr_change.c
57
thread_t tid; /* main nscd tid */
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
781
thread_t *tid;
usr/src/cmd/ldapcachemgr/cachemgr_getldap.c
821
tid = (thread_t *) calloc(1, sizeof (thread_t) * num_threads);
usr/src/cmd/mdb/common/mdb/mdb_tdb.h
46
thread_t, td_thrhandle_t *);
usr/src/cmd/nscd/nscd_getentctx.c
527
gnctx->thr_id = (thread_t)-1;
usr/src/cmd/nscd/nscd_getentctx.c
537
gnctx->thr_id = (thread_t)-1;
usr/src/cmd/nscd/nscd_nswstate.c
385
thread_t *tid)
usr/src/cmd/nscd/nscd_nswstate.c
684
thread_t tid = thr_self();
usr/src/cmd/nscd/nscd_nswstate.c
692
thread_t *tid)
usr/src/cmd/nscd/nscd_nswstate.c
815
thread_t tid = thr_self();
usr/src/cmd/nscd/nscd_switch.h
139
thread_t thr_id;
usr/src/cmd/nscd/nscd_switch.h
97
thread_t tid;
usr/src/cmd/picl/plugins/common/piclevent/picl_slm.c
62
static thread_t piclslm_deliver_thr_id;
usr/src/cmd/picl/plugins/sun4v/pri/priplugin.c
37
static thread_t pri_worker_thread_id, pri_reader_thread_id;
usr/src/cmd/picl/plugins/sun4v/snmp/snmpplugin.c
101
static thread_t tree_builder_thr_id;
usr/src/cmd/picl/plugins/sun4v/snmp/snmpplugin.c
125
static thread_t cache_refresh_thr_id;
usr/src/cmd/rcm_daemon/common/rcm_lock.c
1333
thread_t poll_tid; /* poll thread id */
usr/src/cmd/rcm_daemon/common/rcm_lock.c
1529
polllist.poll_tid = (thread_t)-1;
usr/src/cmd/rcm_daemon/common/rcm_lock.c
1539
polllist.poll_tid = (thread_t)-1;
usr/src/cmd/rcm_daemon/common/rcm_lock.c
1593
if (polllist.poll_tid != (thread_t)-1 || polllist.n_pids == 0)
usr/src/cmd/rcm_daemon/common/rcm_lock.c
1613
while (polllist.poll_tid != (thread_t)-1) {
usr/src/cmd/rcm_daemon/common/rcm_script_impl.h
111
thread_t tid; /* thread id of the stderr reader thread */
usr/src/cmd/rpcbind/rpcbind.c
1116
thread_t tid;
usr/src/cmd/rpcsvc/rwall.c
186
thread_t tid;
usr/src/cmd/sgs/include/rtld.h
727
thread_t rt_init_thread; /* thread id in this lm's _init */
usr/src/cmd/sgs/rtld/common/_rtld.h
767
extern thread_t rt_thr_self(void);
usr/src/cmd/sgs/rtld/common/external.c
506
thread_t
usr/src/cmd/sgs/rtld/common/external.c
509
thread_t (*fptr)(void);
usr/src/cmd/sgs/rtld/common/external.c
511
if ((fptr = (thread_t (*)())glcs[CI_THR_SELF].lc_un.lc_func) != NULL)
usr/src/cmd/sgs/rtld/common/util.c
767
lmp->rt_init_thread = (thread_t)0;
usr/src/cmd/smserverd/smserver.h
125
thread_t dd_thread; /* thread bound to the client door */
usr/src/cmd/svr4pkg/pkgserv/pkgserv.c
1253
thread_t tid;
usr/src/cmd/syseventd/daemons/syseventd/syseventd.h
105
thread_t tid; /* Client deliver thread id */
usr/src/cmd/syseventd/modules/datalink_mod/datalink_mod.c
52
static thread_t dl_notify_tid;
usr/src/cmd/syseventd/modules/devfsadmd_mod/devfsadmd_mod.c
212
thread_t deliver_thr_id;
usr/src/cmd/syseventd/modules/sysevent_conf_mod/sysevent_conf_mod.c
114
static thread_t cmdq_thr_id;
usr/src/cmd/syseventd/modules/sysevent_reg_mod/sysevent_reg_mod.c
68
static thread_t deliver_thr_id;
usr/src/cmd/syseventd/modules/zfs_mod/zfs_mod.c
100
thread_t g_zfs_tid;
usr/src/cmd/varpd/varpd.c
317
thread_t thr;
usr/src/cmd/vntsd/console.c
459
assert(consp->wr_tid != (thread_t)-1);
usr/src/cmd/vntsd/listen.c
221
clientp->cons_tid = (thread_t)-1;
usr/src/cmd/vntsd/vntsd.c
160
thread_t tid = (uintptr_t)arg2;
usr/src/cmd/vntsd/vntsd.c
170
vntsd_reset_timer(thread_t tid)
usr/src/cmd/vntsd/vntsd.c
189
static thread_t main_thread = 0;
usr/src/cmd/vntsd/vntsd.h
267
thread_t cons_tid; /* console thread */
usr/src/cmd/vntsd/vntsd.h
283
thread_t wr_tid; /* write thread */
usr/src/cmd/vntsd/vntsd.h
301
thread_t listen_tid; /* listen thread */
usr/src/cmd/vntsd/vntsd.h
331
thread_t tid; /* main thread id */
usr/src/cmd/vntsd/vntsd.h
343
thread_t tid; /* thread tid */
usr/src/cmd/vntsd/vntsd.h
467
void vntsd_reset_timer(thread_t tid);
usr/src/cmd/vntsd/vntsdvcc.c
293
consp->wr_tid = (thread_t)-1;
usr/src/cmd/vntsd/vntsdvcc.c
350
groupp->listen_tid = (thread_t)-1;
usr/src/cmd/vntsd/vntsdvcc.c
499
groupp->listen_tid = (thread_t)-1;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
4752
thread_t tid;
usr/src/cmd/zonestat/zonestatd/zonestatd.c
480
thread_t g_main;
usr/src/cmd/ztest/ztest.c
6635
thread_t *tid;
usr/src/cmd/ztest/ztest.c
6638
thread_t resume_tid;
usr/src/cmd/ztest/ztest.c
6730
tid = umem_zalloc(ztest_opts.zo_threads * sizeof (thread_t),
usr/src/cmd/ztest/ztest.c
6763
umem_free(tid, ztest_opts.zo_threads * sizeof (thread_t));
usr/src/head/apptrace_impl.h
55
extern thread_t (*abi_thr_self)(void);
usr/src/head/thread.h
55
thread_t *);
usr/src/head/thread.h
56
extern int thr_join(thread_t, thread_t *, void **);
usr/src/head/thread.h
60
extern thread_t thr_self(void);
usr/src/head/thread.h
81
extern int thr_kill(thread_t, int);
usr/src/head/thread.h
82
extern int thr_suspend(thread_t);
usr/src/head/thread.h
83
extern int thr_continue(thread_t);
usr/src/head/thread.h
85
extern int thr_setprio(thread_t, int);
usr/src/head/thread.h
86
extern int thr_getprio(thread_t, int *);
usr/src/head/thread.h
92
extern int thr_getname(thread_t, char *, size_t);
usr/src/head/thread.h
93
extern int thr_setname(thread_t, const char *);
usr/src/head/thread_db.h
211
thread_t ti_tid; /* tid returned by thr_create() */
usr/src/head/thread_db.h
448
td_ta_map_id2thr(const td_thragent_t *, thread_t, td_thrhandle_t *);
usr/src/lib/abi/apptrace/common/apptrace.c
110
thread_t (*abi_thr_self)(void);
usr/src/lib/abi/apptrace/common/apptrace.c
421
(thread_t (*)(void)) dlsym(h, thr_self_sym)) == NULL)
usr/src/lib/abi/apptrace/common/interceptlib.c
45
static volatile thread_t locktid = NOTID;
usr/src/lib/abi/apptrace/common/interceptlib.c
61
thread_t tid;
usr/src/lib/abi/apptrace/common/interceptlib.c
80
thread_t tid;
usr/src/lib/libc/amd64/threads/machdep.c
33
extern int getlwpstatus(thread_t, lwpstatus_t *);
usr/src/lib/libc/amd64/threads/machdep.c
34
extern int putlwpregs(thread_t, prgregset_t);
usr/src/lib/libc/i386/threads/machdep.c
45
extern int getlwpstatus(thread_t, lwpstatus_t *);
usr/src/lib/libc/i386/threads/machdep.c
46
extern int putlwpregs(thread_t, prgregset_t);
usr/src/lib/libc/inc/asyncio.h
240
thread_t work_tid; /* worker's thread-id */
usr/src/lib/libc/inc/libc.h
68
extern int thr_kill(thread_t tid, int sig);
usr/src/lib/libc/inc/libc.h
69
extern thread_t thr_self(void);
usr/src/lib/libc/inc/thr_uberdata.h
1278
extern ulwp_t *find_lwp(thread_t);
usr/src/lib/libc/inc/thr_uberdata.h
1505
thread_t *, size_t, const char *);
usr/src/lib/libc/inc/thr_uberdata.h
1506
extern int _thrp_suspend(thread_t, uchar_t);
usr/src/lib/libc/inc/thr_uberdata.h
1507
extern int _thrp_continue(thread_t, uchar_t);
usr/src/lib/libc/port/gen/lckpwdf.c
59
static thread_t lck_tid = 0; /* thread that holds the lock */
usr/src/lib/libc/port/rt/sigev_thread.h
57
thread_t tcd_server_id; /* thread id of server thread */
usr/src/lib/libc/port/threads/cancel.c
36
pthread_cancel(thread_t tid)
usr/src/lib/libc/port/threads/pthread.c
265
thr_getprio(thread_t tid, int *priority)
usr/src/lib/libc/port/threads/pthread.c
288
thr_setprio(thread_t tid, int prio)
usr/src/lib/libc/port/threads/scalls.c
498
lwp_wait(thread_t tid, thread_t *found)
usr/src/lib/libc/port/threads/thr.c
1076
thr_join(thread_t tid, thread_t *departed, void **status)
usr/src/lib/libc/port/threads/thr.c
1762
thread_t
usr/src/lib/libc/port/threads/thr.c
1846
thread_t tid = ulwp->ul_lwpid;
usr/src/lib/libc/port/threads/thr.c
1941
_thrp_suspend(thread_t tid, uchar_t whystopped)
usr/src/lib/libc/port/threads/thr.c
2125
_thrp_continue(thread_t tid, uchar_t whystopped)
usr/src/lib/libc/port/threads/thr.c
2166
thr_suspend(thread_t tid)
usr/src/lib/libc/port/threads/thr.c
2172
thr_continue(thread_t tid)
usr/src/lib/libc/port/threads/thr.c
2186
thr_kill(thread_t tid, int sig)
usr/src/lib/libc/port/threads/thr.c
2496
thr_getstate(thread_t tid, int *flag, lwpid_t *lwp, stack_t *ss, gregset_t rs)
usr/src/lib/libc/port/threads/thr.c
2543
thr_setstate(thread_t tid, int flag, gregset_t rs)
usr/src/lib/libc/port/threads/thr.c
2575
getlwpstatus(thread_t tid, struct lwpstatus *sp)
usr/src/lib/libc/port/threads/thr.c
2599
putlwpregs(thread_t tid, prgregset_t prp)
usr/src/lib/libc/port/threads/thr.c
2633
gettsp_slow(thread_t tid)
usr/src/lib/libc/port/threads/thr.c
2649
__gettsp(thread_t tid)
usr/src/lib/libc/port/threads/thr.c
2686
thr_setmutator(thread_t tid, int enabled)
usr/src/lib/libc/port/threads/thr.c
2828
thr_suspend_mutator(thread_t tid)
usr/src/lib/libc/port/threads/thr.c
2881
thr_continue_mutator(thread_t tid)
usr/src/lib/libc/port/threads/thr.c
2888
thr_wait_mutator(thread_t tid, int dontwait)
usr/src/lib/libc/port/threads/thr.c
498
find_lwpp(thread_t tid)
usr/src/lib/libc/port/threads/thr.c
538
find_lwp(thread_t tid)
usr/src/lib/libc/port/threads/thr.c
562
long flags, thread_t *new_thread, size_t guardsize, const char *name)
usr/src/lib/libc/port/threads/thr.c
568
thread_t tid;
usr/src/lib/libc/port/threads/thr.c
728
long flags, thread_t *new_thread)
usr/src/lib/libc/port/threads/thr.c
989
_thrp_join(thread_t tid, thread_t *departed, void **status, int do_cancel)
usr/src/lib/libc/port/threads/thr.c
994
thread_t found;
usr/src/lib/libc/sparc/threads/machdep.c
33
extern int getlwpstatus(thread_t, lwpstatus_t *);
usr/src/lib/libc/sparc/threads/machdep.c
34
extern int putlwpregs(thread_t, prgregset_t);
usr/src/lib/libc_db/common/thread_db.c
648
thread_t tid;
usr/src/lib/libc_db/common/thread_db.c
677
__td_ta_map_id2thr(td_thragent_t *ta_p, thread_t tid,
usr/src/lib/libcpc/common/libcpc_impl.h
87
thread_t cs_thr; /* thread ID which bound set */
usr/src/lib/libdiskmgt/common/events.c
185
thread_t watch_thread;
usr/src/lib/libdiskmgt/common/events.c
202
thread_t watch_thread;
usr/src/lib/libdiskmgt/common/events.c
477
thread_t walk_thread;
usr/src/lib/libdiskmgt/common/inuse_mnt.c
85
thread_t mnttab_thread;
usr/src/lib/libfakekernel/common/taskq.c
331
tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP);
usr/src/lib/libfakekernel/common/taskq.c
374
kmem_free(tq->tq_threadlist, nthreads * sizeof (thread_t));
usr/src/lib/libfakekernel/common/taskq.c
394
if (tq->tq_threadlist[i] == (thread_t)(uintptr_t)t)
usr/src/lib/libfakekernel/common/taskq.c
54
thread_t *);
usr/src/lib/libfakekernel/common/taskq.c
55
extern int thr_join(thread_t, thread_t *, void **);
usr/src/lib/libfakekernel/common/taskq.c
80
thread_t *tq_threadlist;
usr/src/lib/libfakekernel/common/thread.c
101
thr_id = (thread_t)id;
usr/src/lib/libfakekernel/common/thread.c
108
thread_t tid = (thread_t)(uintptr_t)kt;
usr/src/lib/libfakekernel/common/thread.c
32
thread_t tid;
usr/src/lib/libfakekernel/common/thread.c
56
thread_t newtid;
usr/src/lib/libfakekernel/common/thread.c
85
static thread_t reap_tid;
usr/src/lib/libfakekernel/common/thread.c
86
thread_t prev;
usr/src/lib/libfakekernel/common/thread.c
99
thread_t thr_id;
usr/src/lib/libmapid/common/mapid.h
117
static thread_t s_dns_qthread;
usr/src/lib/libmtmalloc/tests/exhaust.c
48
thread_t tid[512];
usr/src/lib/libmtmalloc/tests/general.c
46
thread_t tid[512]; /* We'll never have more than that! hah */
usr/src/lib/libnisdb/yptol/update.c
207
thread_t tid;
usr/src/lib/libsldap/common/ns_connect.c
472
thread_t t = thr_self();
usr/src/lib/libsldap/common/ns_connect.c
500
thread_t t = thr_self();
usr/src/lib/libsldap/common/ns_connect.c
591
thread_t t;
usr/src/lib/libsldap/common/ns_connmgmt.c
387
thread_t t = thr_self();
usr/src/lib/libsldap/common/ns_connmgmt.h
101
thread_t tid; /* id of the thread starts the request */
usr/src/lib/libsldap/common/ns_connmgmt.h
150
thread_t tid; /* thread creates the connection */
usr/src/lib/libsldap/common/ns_connmgmt.h
216
thread_t procchg_tid; /* id of the change monitor thread */
usr/src/lib/libsldap/common/ns_internal.h
584
thread_t threadID; /* thread ID using it */
usr/src/lib/libsldap/common/ns_standalone.c
1729
thread_t *thrPool, thrID;
usr/src/lib/libsldap/common/ns_standalone.c
1752
thrPool = calloc(srvListLength, sizeof (thread_t));
usr/src/lib/libsldap/common/ns_standalone.c
1861
thread_t tid;
usr/src/lib/libsldap/common/ns_standalone.c
2393
thread_t *thrPool, thrID;
usr/src/lib/libsldap/common/ns_standalone.c
2411
thrPool = calloc(srvListLength, sizeof (thread_t));
usr/src/lib/libslp/clib/slp-internal.h
135
thread_t producer_tid; /* thr ID of message producer */
usr/src/lib/libslp/clib/slp-internal.h
136
thread_t consumer_tid; /* thr ID of message consumer */
usr/src/lib/libslp/clib/slp_ua_common.c
56
thread_t tid;
usr/src/lib/libsysevent/libsysevent_impl.h
72
thread_t sp_handler_tid; /* delivery handler thread id */
usr/src/lib/libumem/common/stub_stand.c
76
thread_t
usr/src/lib/libumem/common/stub_stand.c
79
return ((thread_t)1);
usr/src/lib/libumem/common/sys/vmem_impl_user.h
141
thread_t vmpl_thr;
usr/src/lib/libumem/common/sys/vmem_impl_user.h
61
thread_t vs_thread;
usr/src/lib/libumem/common/umem.c
716
thread_t umem_init_thr; /* thread initializing */
usr/src/lib/libumem/common/umem.c
724
static thread_t umem_nofail_exit_thr;
usr/src/lib/libumem/common/umem.c
767
thread_t umem_update_thr;
usr/src/lib/libumem/common/umem.c
769
volatile thread_t umem_st_update_thr; /* only used when single-thd */
usr/src/lib/libumem/common/umem_base.h
50
extern thread_t umem_init_thr; /* the thread doing the init */
usr/src/lib/libumem/common/umem_base.h
68
extern volatile thread_t umem_st_update_thr;
usr/src/lib/libumem/common/umem_base.h
69
extern thread_t umem_update_thr;
usr/src/lib/libumem/common/umem_impl.h
149
thread_t bc_thread; /* thread doing transaction */
usr/src/lib/libumem/common/umem_update_thread.c
123
thread_t newthread;
usr/src/lib/libzfs/common/libzfs_taskq.c
242
umem_alloc(nthreads * sizeof (thread_t), UMEM_NOFAIL);
usr/src/lib/libzfs/common/libzfs_taskq.c
288
umem_free(ztq->ztq_threadlist, nthreads * sizeof (thread_t));
usr/src/lib/libzfs/common/libzfs_taskq.c
58
thread_t *ztq_threadlist;
usr/src/lib/mergeq/mergeq.c
202
thread_t *mq_thrs; /* Actual threads */
usr/src/lib/mergeq/mergeq.c
230
mergeq_free(mqp->mq_thrs, sizeof (thread_t) *
usr/src/lib/mergeq/mergeq.c
258
mqp->mq_thrs = mergeq_alloc(sizeof (thread_t) *
usr/src/lib/mergeq/mergeq.c
272
sizeof (thread_t) * mqp->mq_ndthreads);
usr/src/lib/mergeq/mergeq.c
284
sizeof (thread_t) * mqp->mq_ndthreads);
usr/src/lib/mergeq/workq.c
111
sizeof (thread_t) * wqp->wq_ndthreads);
usr/src/lib/mergeq/workq.c
122
sizeof (thread_t) * wqp->wq_ndthreads);
usr/src/lib/mergeq/workq.c
43
thread_t *wq_thrs; /* Actual threads */
usr/src/lib/mergeq/workq.c
73
workq_free(wqp->wq_thrs, sizeof (thread_t) * wqp->wq_ndthreads);
usr/src/lib/mergeq/workq.c
97
wqp->wq_thrs = workq_alloc(sizeof (thread_t) *
usr/src/lib/smbsrv/libsmb/common/smb_pwdutil.c
66
static thread_t lck_tid = 0; /* thread that holds the lock */
usr/src/lib/varpd/libvarpd/common/libvarpd_panic.c
36
thread_t varpd_panic_thread;
usr/src/test/libc-tests/tests/mutex-16200.c
191
mutex_test_thr_state(thread_t thr)
usr/src/test/libc-tests/tests/mutex-16200.c
226
thread_t thr;
usr/src/test/nvme-tests/tests/ioctl/lock-order.c
325
thread_t thrids[MAX_LOCKS];
usr/src/test/nvme-tests/tests/ioctl/lock-order.c
50
thread_t loi_thread;
usr/src/test/nvme-tests/tests/ioctl/lock-signal.c
102
thread_t thr;
usr/src/test/nvme-tests/tests/ioctl/lock-signal.c
37
static volatile thread_t lock_sig_thrid;
usr/src/test/nvme-tests/tests/ioctl/nvme_ioctl_util.c
210
nvme_ioctl_test_thr_blocked(thread_t thr)
usr/src/test/nvme-tests/tests/ioctl/nvme_ioctl_util.h
47
extern bool nvme_ioctl_test_thr_blocked(thread_t);
usr/src/test/os-tests/tests/clock_gettime.c
195
thread_t thr;
usr/src/test/os-tests/tests/clock_gettime.c
315
thread_t thr;
usr/src/test/os-tests/tests/uccid/excl-nonblock.c
60
thread_t thr;
usr/src/test/os-tests/tests/xsave/bad_xregs.c
651
thread_t targ;
usr/src/test/os-tests/tests/xsave/signal_restore.c
75
thread_t self = thr_self();
usr/src/test/os-tests/tests/xsave/xregs_roundtrip.c
40
thread_t targ;
usr/src/uts/common/io/bnxe/577xx/hsi/mcp/multi_thread_def.h
135
struct thread_t thread[NUM_THREADS];