Home
last modified time | relevance | path

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

1234

/titanic_50/usr/src/head/
H A Dthread.h49 typedef unsigned int thread_t; typedef
53 thread_t *);
54 extern int thr_join(thread_t, thread_t *, void **);
58 extern thread_t thr_self(void);
79 extern int thr_kill(thread_t, int);
80 extern int thr_suspend(thread_t);
81 extern int thr_continue(thread_t);
83 extern int thr_setprio(thread_t, int);
84 extern int thr_getprio(thread_t, int *);
H A Dapptrace_impl.h55 extern thread_t (*abi_thr_self)(void);
/titanic_50/usr/src/uts/intel/ia32/ml/
H A Dswtch.s92 #define SAVE_REGS(thread_t, retaddr) \ argument
93 movq %rbp, T_RBP(thread_t); \
94 movq %rbx, T_RBX(thread_t); \
95 movq %r12, T_R12(thread_t); \
96 movq %r13, T_R13(thread_t); \
97 movq %r14, T_R14(thread_t); \
98 movq %r15, T_R15(thread_t); \
101 movq %rsp, T_SP(thread_t); \
102 movq retaddr, T_PC(thread_t); \
128 #define GET_THREAD_HATP(hatp, thread_t, scratch_reg) \ argument
[all …]
/titanic_50/usr/src/lib/libfakekernel/common/
H A Dthread.c29 thread_t tid; in _curthread()
53 thread_t newtid; in thread_create()
88 thread_t thr_id; in thread_join()
90 thr_id = (thread_t)id; in thread_join()
97 thread_t tid = (thread_t)(uintptr_t)kt; in tsignal()
H A Dtaskq.c45 typedef unsigned int thread_t; typedef
49 thread_t *);
50 extern int thr_join(thread_t, thread_t *, void **);
75 thread_t *tq_threadlist;
299 tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP); in taskq_create_proc()
342 kmem_free(tq->tq_threadlist, nthreads * sizeof (thread_t)); in taskq_destroy()
362 if (tq->tq_threadlist[i] == (thread_t)(uintptr_t)t) in taskq_member()
/titanic_50/usr/src/lib/abi/apptrace/common/
H A Dinterceptlib.c47 static volatile thread_t locktid = NOTID;
63 thread_t tid; in abilock()
82 thread_t tid; in abiunlock()
/titanic_50/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);
/titanic_50/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()
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/lib/libsldap/common/
H A Dns_connmgmt.h102 thread_t tid; /* id of the thread starts the request */
151 thread_t tid; /* thread creates the connection */
217 thread_t procchg_tid; /* id of the change monitor thread */
/titanic_50/usr/src/lib/libc/port/threads/
H A Dthr.c498 find_lwpp(thread_t tid) in find_lwpp()
538 find_lwp(thread_t tid) in find_lwp()
562 long flags, thread_t *new_thread, size_t guardsize) in _thrp_create()
568 thread_t tid; in _thrp_create()
725 long flags, thread_t *new_thread) in thr_create()
989 _thrp_join(thread_t tid, thread_t *departed, void **status, int do_cancel) in _thrp_join()
994 thread_t found; in _thrp_join()
1076 thr_join(thread_t tid, thread_t *departed, void **status) in thr_join()
1766 thread_t
1850 thread_t tid = ulwp->ul_lwpid; in safe_suspend()
[all …]
/titanic_50/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
/titanic_50/usr/src/lib/libumem/common/sys/
H A Dvmem_impl_user.h63 thread_t vs_thread;
143 thread_t vmpl_thr;
/titanic_50/usr/src/lib/libzpool/common/
H A Dtaskq.c45 thread_t *tq_threadlist;
261 tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP); in taskq_create()
304 kmem_free(tq->tq_threadlist, nthreads * sizeof (thread_t)); in taskq_destroy()
324 if (tq->tq_threadlist[i] == (thread_t)(uintptr_t)t) in taskq_member()
/titanic_50/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c54 thread_t tid; /* main nscd tid */
116 waiting_list_add(chg_info_t *info, pid_t pid, thread_t tid, in waiting_list_add()
150 waiting_list_delete(chg_info_t *info, thread_t tid) in waiting_list_delete()
185 waiting_list_cleanup(chg_info_t *chg, thread_t tid) in waiting_list_cleanup()
260 thread_t this_tid = thr_self(); in chg_get_statusChange()
/titanic_50/usr/src/lib/libtnfctl/
H A Dinternal.c278 static thread_t lock_holder = 0; /* XXX - no tid with 0 */
307 thread_t tid; in NOTE()
355 thread_t tid; in _tnfctl_dlopen()
/titanic_50/usr/src/lib/libdiskmgt/common/
H A Devents.c152 thread_t watch_thread; in dm_init_event_queue()
170 thread_t watch_thread; in dm_init_event_queue()
442 thread_t walk_thread; in walk_devtree()
/titanic_50/usr/src/lib/libc/inc/
H A Dlibc.h65 extern int thr_kill(thread_t tid, int sig);
66 extern thread_t thr_self(void);
/titanic_50/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c504 thread_t
507 thread_t (*fptr)(void); in rt_thr_self()
509 if ((fptr = (thread_t (*)())glcs[CI_THR_SELF].lc_un.lc_func) != NULL) in rt_thr_self()
/titanic_50/usr/src/lib/libmtmalloc/tests/
H A Dgeneral.c48 thread_t tid[512]; /* We'll never have more than that! hah */ in main()
/titanic_50/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);
/titanic_50/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c32 extern int getlwpstatus(thread_t, lwpstatus_t *);
33 extern int putlwpregs(thread_t, prgregset_t);

1234