Symbol: thread
crypto/openssh/auth-pam.c
188
pthread_create(sp_pthread_t *thread, const void *attr,
crypto/openssh/auth-pam.c
205
*thread = pid;
crypto/openssh/auth-pam.c
214
pthread_cancel(sp_pthread_t thread)
crypto/openssh/auth-pam.c
217
return (kill(thread, SIGTERM));
crypto/openssh/auth-pam.c
222
pthread_join(sp_pthread_t thread, void **value)
crypto/openssh/auth-pam.c
229
while (waitpid(thread, &status, 0) == -1) {
lib/libcuse/cuse_lib.c
486
enter.thread = curr;
lib/libcuse/cuse_lib.c
519
if (pe->thread == curr)
lib/libcuse/cuse_lib.c
525
pthread_kill(pe->thread, SIGHUP);
lib/libcuse/cuse_lib.c
583
if (pe->thread == curr)
lib/libcuse/cuse_lib.c
589
pthread_kill(pe->thread, SIGHUP);
lib/libcuse/cuse_lib.c
620
if (pe->thread == curr)
lib/libcuse/cuse_lib.c
67
pthread_t thread;
lib/libkvm/kvm_proc.c
208
struct thread thread;
lib/libkvm/kvm_proc.c
364
if (KREAD(kd, (u_long)lwp.lwp_thread, &thread)) {
lib/libkvm/kvm_proc.c
369
lwp.lwp_thread = &thread;
lib/libkvm/kvm_proc.c
371
if (thread.td_gd) {
lib/libkvm/kvm_proc.c
372
if (KREAD(kd, (u_long)thread.td_gd, &gdata)) {
lib/libkvm/kvm_proc.c
375
thread.td_gd);
lib/libkvm/kvm_proc.c
378
thread.td_gd = &gdata;
lib/libkvm/kvm_proc.c
380
if (thread.td_wmesg) {
lib/libkvm/kvm_proc.c
381
wmesg = (void *)KREADSTR(kd, thread.td_wmesg);
lib/libkvm/kvm_proc.c
385
thread.td_wmesg);
lib/libkvm/kvm_proc.c
388
thread.td_wmesg = wmesg;
lib/libthread_xu/thread/thr_affinity.c
100
if (thread->state != PS_DEAD) {
lib/libthread_xu/thread/thr_affinity.c
102
if (lwp_setaffinity(0, thread->tid, &mask1) < 0)
lib/libthread_xu/thread/thr_affinity.c
105
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_affinity.c
106
_thr_ref_delete(curthread, thread);
lib/libthread_xu/thread/thr_affinity.c
41
_pthread_getaffinity_np(pthread_t thread, size_t cpusetsize,
lib/libthread_xu/thread/thr_affinity.c
48
if (curthread == thread) {
lib/libthread_xu/thread/thr_affinity.c
50
if (lwp_getaffinity(0, thread->tid, &mask1) < 0)
lib/libthread_xu/thread/thr_affinity.c
54
if (_thr_ref_add(curthread, thread, 0) == 0) {
lib/libthread_xu/thread/thr_affinity.c
55
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_affinity.c
56
if (thread->state != PS_DEAD) {
lib/libthread_xu/thread/thr_affinity.c
58
if (lwp_getaffinity(0, thread->tid, &mask1) < 0)
lib/libthread_xu/thread/thr_affinity.c
61
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_affinity.c
62
_thr_ref_delete(curthread, thread);
lib/libthread_xu/thread/thr_affinity.c
79
_pthread_setaffinity_np(pthread_t thread, size_t cpusetsize,
lib/libthread_xu/thread/thr_affinity.c
92
if (curthread == thread) {
lib/libthread_xu/thread/thr_affinity.c
94
if (lwp_setaffinity(0, thread->tid, &mask1) < 0)
lib/libthread_xu/thread/thr_affinity.c
98
if (_thr_ref_add(curthread, thread, 0) == 0) {
lib/libthread_xu/thread/thr_affinity.c
99
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_attr.c
556
_pthread_getattr_np(pthread_t thread, pthread_attr_t *attr)
lib/libthread_xu/thread/thr_attr.c
562
if ((ret = pthread_attr_get_np(thread, attr)) != 0) {
lib/libthread_xu/thread/thr_cond.c
129
init_static(pthread_t thread, pthread_cond_t *cond)
lib/libthread_xu/thread/thr_cond.c
133
THR_LOCK_ACQUIRE(thread, &_cond_static_lock);
lib/libthread_xu/thread/thr_cond.c
140
THR_LOCK_RELEASE(thread, &_cond_static_lock);
lib/libthread_xu/thread/thr_create.c
149
(*thread) = new_thread;
lib/libthread_xu/thread/thr_create.c
190
(*thread) = NULL;
lib/libthread_xu/thread/thr_create.c
51
_pthread_create(pthread_t * __restrict thread,
lib/libthread_xu/thread/thr_ctrdtr.c
40
_tcb_ctor(struct __pthread_s *thread, int initial)
lib/libthread_xu/thread/thr_ctrdtr.c
52
tcb->tcb_pthread = thread;
lib/libthread_xu/thread/thr_info.c
111
_pthread_get_name_np(pthread_t thread, char *buf, size_t len)
lib/libthread_xu/thread/thr_info.c
113
(void)_pthread_getname_np(thread, buf, len);
lib/libthread_xu/thread/thr_info.c
45
_pthread_setname_np(pthread_t thread, const char *name)
lib/libthread_xu/thread/thr_info.c
52
if (curthread == thread) {
lib/libthread_xu/thread/thr_info.c
53
if (lwp_setname(thread->tid, name) == -1)
lib/libthread_xu/thread/thr_info.c
56
if ((error = _thr_ref_add(curthread, thread, 0)) == 0) {
lib/libthread_xu/thread/thr_info.c
57
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_info.c
58
if (thread->state != PS_DEAD) {
lib/libthread_xu/thread/thr_info.c
59
if (lwp_setname(thread->tid, name) == -1)
lib/libthread_xu/thread/thr_info.c
62
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_info.c
63
_thr_ref_delete(curthread, thread);
lib/libthread_xu/thread/thr_info.c
72
_pthread_set_name_np(pthread_t thread, const char *name)
lib/libthread_xu/thread/thr_info.c
74
(void)_pthread_setname_np(thread, name);
lib/libthread_xu/thread/thr_info.c
79
_pthread_getname_np(pthread_t thread, char *name, size_t len)
lib/libthread_xu/thread/thr_info.c
86
if (curthread == thread) {
lib/libthread_xu/thread/thr_info.c
87
if (lwp_getname(thread->tid, name, len) == -1)
lib/libthread_xu/thread/thr_info.c
90
if ((error = _thr_ref_add(curthread, thread, 0)) == 0) {
lib/libthread_xu/thread/thr_info.c
91
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_info.c
92
if (thread->state != PS_DEAD) {
lib/libthread_xu/thread/thr_info.c
93
if (lwp_getname(thread->tid, name, len) == -1)
lib/libthread_xu/thread/thr_info.c
98
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_info.c
99
_thr_ref_delete(curthread, thread);
lib/libthread_xu/thread/thr_init.c
198
static void init_main_thread(pthread_t thread);
lib/libthread_xu/thread/thr_init.c
322
init_main_thread(pthread_t thread)
lib/libthread_xu/thread/thr_init.c
325
thread->tid = _thr_get_tid();
lib/libthread_xu/thread/thr_init.c
326
thread->attr = _pthread_attr_default;
lib/libthread_xu/thread/thr_init.c
352
thread->attr.stackaddr_attr = _usrstack - _thr_stack_initial;
lib/libthread_xu/thread/thr_init.c
353
thread->attr.stacksize_attr = _thr_stack_initial;
lib/libthread_xu/thread/thr_init.c
354
thread->attr.guardsize_attr = _thr_guard_default;
lib/libthread_xu/thread/thr_init.c
355
thread->attr.flags |= THR_STACK_USER;
lib/libthread_xu/thread/thr_init.c
361
thread->magic = THR_MAGIC;
lib/libthread_xu/thread/thr_init.c
363
thread->cancelflags = PTHREAD_CANCEL_ENABLE | PTHREAD_CANCEL_DEFERRED;
lib/libthread_xu/thread/thr_init.c
364
thread->name = __malloc(16);
lib/libthread_xu/thread/thr_init.c
365
snprintf(thread->name, 16, "initial thread");
lib/libthread_xu/thread/thr_init.c
368
thread->base_priority = THR_DEFAULT_PRIORITY;
lib/libthread_xu/thread/thr_init.c
369
thread->active_priority = THR_DEFAULT_PRIORITY;
lib/libthread_xu/thread/thr_init.c
370
thread->inherited_priority = 0;
lib/libthread_xu/thread/thr_init.c
373
TAILQ_INIT(&thread->mutexq);
lib/libthread_xu/thread/thr_init.c
375
thread->state = PS_RUNNING;
lib/libthread_xu/thread/thr_init.c
376
thread->uniqueid = 0;
lib/libthread_xu/thread/thr_kern.c
101
_thr_send_sig(pthread_t thread, int sig)
lib/libthread_xu/thread/thr_kern.c
103
return (lwp_kill(-1, thread->tid, sig));
lib/libthread_xu/thread/thr_list.c
152
pthread_t thread = NULL;
lib/libthread_xu/thread/thr_list.c
160
if ((thread = TAILQ_FIRST(&free_threadq)) != NULL) {
lib/libthread_xu/thread/thr_list.c
161
TAILQ_REMOVE(&free_threadq, thread, tle);
lib/libthread_xu/thread/thr_list.c
167
if (thread == NULL) {
lib/libthread_xu/thread/thr_list.c
168
thread = __malloc(sizeof(struct __pthread_s));
lib/libthread_xu/thread/thr_list.c
169
if (thread == NULL)
lib/libthread_xu/thread/thr_list.c
174
tcb = _tcb_ctor(thread, 0 /* not initial tls */);
lib/libthread_xu/thread/thr_list.c
177
tcb = _tcb_ctor(thread, 1 /* initial tls */);
lib/libthread_xu/thread/thr_list.c
180
memset(thread, 0, sizeof(*thread));
lib/libthread_xu/thread/thr_list.c
181
thread->tcb = tcb;
lib/libthread_xu/thread/thr_list.c
183
thr_destroy(curthread, thread);
lib/libthread_xu/thread/thr_list.c
184
thread = NULL;
lib/libthread_xu/thread/thr_list.c
186
return (thread);
lib/libthread_xu/thread/thr_list.c
190
_thr_free(pthread_t curthread, pthread_t thread)
lib/libthread_xu/thread/thr_list.c
192
DBG_MSG("Freeing thread %p\n", thread);
lib/libthread_xu/thread/thr_list.c
193
if (thread->name) {
lib/libthread_xu/thread/thr_list.c
194
__free(thread->name);
lib/libthread_xu/thread/thr_list.c
195
thread->name = NULL;
lib/libthread_xu/thread/thr_list.c
204
_tcb_dtor(thread->tcb);
lib/libthread_xu/thread/thr_list.c
207
_tcb_dtor(thread->tcb);
lib/libthread_xu/thread/thr_list.c
209
thread->tcb = NULL;
lib/libthread_xu/thread/thr_list.c
211
thr_destroy(curthread, thread);
lib/libthread_xu/thread/thr_list.c
218
TAILQ_INSERT_TAIL(&free_threadq, thread, tle);
lib/libthread_xu/thread/thr_list.c
225
thr_destroy(pthread_t curthread __unused, pthread_t thread)
lib/libthread_xu/thread/thr_list.c
227
__free(thread);
lib/libthread_xu/thread/thr_list.c
239
_thr_link(pthread_t curthread, pthread_t thread)
lib/libthread_xu/thread/thr_list.c
247
thread->uniqueid = next_uniqueid++;
lib/libthread_xu/thread/thr_list.c
248
THR_LIST_ADD(thread);
lib/libthread_xu/thread/thr_list.c
257
_thr_unlink(pthread_t curthread, pthread_t thread)
lib/libthread_xu/thread/thr_list.c
260
THR_LIST_REMOVE(thread);
lib/libthread_xu/thread/thr_list.c
266
_thr_hash_add(pthread_t thread)
lib/libthread_xu/thread/thr_list.c
270
head = &thr_hashtable[THREAD_HASH(thread)];
lib/libthread_xu/thread/thr_list.c
271
LIST_INSERT_HEAD(head, thread, hle);
lib/libthread_xu/thread/thr_list.c
275
_thr_hash_remove(pthread_t thread)
lib/libthread_xu/thread/thr_list.c
277
LIST_REMOVE(thread, hle);
lib/libthread_xu/thread/thr_list.c
281
_thr_hash_find(pthread_t thread)
lib/libthread_xu/thread/thr_list.c
286
head = &thr_hashtable[THREAD_HASH(thread)];
lib/libthread_xu/thread/thr_list.c
288
if (td == thread)
lib/libthread_xu/thread/thr_list.c
289
return (thread);
lib/libthread_xu/thread/thr_list.c
300
_thr_ref_add(pthread_t curthread, pthread_t thread,
lib/libthread_xu/thread/thr_list.c
305
if (thread == NULL)
lib/libthread_xu/thread/thr_list.c
310
if ((ret = _thr_find_thread(curthread, thread, include_dead)) == 0) {
lib/libthread_xu/thread/thr_list.c
311
thread->refcount++;
lib/libthread_xu/thread/thr_list.c
320
_thr_ref_delete(pthread_t curthread, pthread_t thread)
lib/libthread_xu/thread/thr_list.c
323
_thr_ref_delete_unlocked(curthread, thread);
lib/libthread_xu/thread/thr_list.c
328
_thr_ref_delete_unlocked(pthread_t curthread __unused, pthread_t thread)
lib/libthread_xu/thread/thr_list.c
330
if (thread != NULL) {
lib/libthread_xu/thread/thr_list.c
331
thread->refcount--;
lib/libthread_xu/thread/thr_list.c
332
if ((thread->refcount == 0) && thread->state == PS_DEAD &&
lib/libthread_xu/thread/thr_list.c
333
(thread->tlflags & TLFLAGS_DETACHED) != 0)
lib/libthread_xu/thread/thr_list.c
334
THR_GCLIST_ADD(thread);
lib/libthread_xu/thread/thr_list.c
339
_thr_find_thread(pthread_t curthread __unused, pthread_t thread,
lib/libthread_xu/thread/thr_list.c
344
if (thread == NULL)
lib/libthread_xu/thread/thr_list.c
347
pthread = _thr_hash_find(thread);
lib/libthread_xu/thread/thr_list.c
83
static void thr_destroy(pthread_t curthread, pthread_t thread);
lib/libthread_xu/thread/thr_mutex.c
214
init_static(pthread_t thread, pthread_mutex_t *mutex)
lib/libthread_xu/thread/thr_mutex.c
218
THR_LOCK_ACQUIRE(thread, &_mutex_static_lock);
lib/libthread_xu/thread/thr_mutex.c
224
THR_LOCK_RELEASE(thread, &_mutex_static_lock);
lib/libthread_xu/thread/thr_mutex.c
230
init_static_private(pthread_t thread, pthread_mutex_t *mutex)
lib/libthread_xu/thread/thr_mutex.c
234
THR_LOCK_ACQUIRE(thread, &_mutex_static_lock);
lib/libthread_xu/thread/thr_mutex.c
241
THR_LOCK_RELEASE(thread, &_mutex_static_lock);
lib/libthread_xu/thread/thr_resume_np.c
40
static void resume_common(pthread_t thread);
lib/libthread_xu/thread/thr_resume_np.c
44
_pthread_resume_np(pthread_t thread)
lib/libthread_xu/thread/thr_resume_np.c
50
if ((ret = _thr_ref_add(curthread, thread, /*include dead*/0)) == 0) {
lib/libthread_xu/thread/thr_resume_np.c
52
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_resume_np.c
53
resume_common(thread);
lib/libthread_xu/thread/thr_resume_np.c
54
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_resume_np.c
55
_thr_ref_delete(curthread, thread);
lib/libthread_xu/thread/thr_resume_np.c
64
pthread_t thread;
lib/libthread_xu/thread/thr_resume_np.c
69
TAILQ_FOREACH(thread, &_thread_list, tle) {
lib/libthread_xu/thread/thr_resume_np.c
70
if (thread != curthread) {
lib/libthread_xu/thread/thr_resume_np.c
71
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_resume_np.c
72
resume_common(thread);
lib/libthread_xu/thread/thr_resume_np.c
73
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_resume_np.c
82
resume_common(pthread_t thread)
lib/libthread_xu/thread/thr_resume_np.c
85
thread->flags &= ~THR_FLAGS_NEED_SUSPEND;
lib/libthread_xu/thread/thr_resume_np.c
86
thread->cycle++;
lib/libthread_xu/thread/thr_resume_np.c
87
_thr_umtx_wake(&thread->cycle, 1);
lib/libthread_xu/thread/thr_rwlock.c
158
init_static(pthread_t thread, pthread_rwlock_t *rwlock)
lib/libthread_xu/thread/thr_rwlock.c
162
THR_LOCK_ACQUIRE(thread, &_rwlock_static_lock);
lib/libthread_xu/thread/thr_rwlock.c
169
THR_LOCK_RELEASE(thread, &_rwlock_static_lock);
lib/libthread_xu/thread/thr_suspend_np.c
100
_thr_ref_delete_unlocked(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
108
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
116
suspend_common(pthread_t curthread, pthread_t thread, int waitok)
lib/libthread_xu/thread/thr_suspend_np.c
120
while (thread->state != PS_DEAD &&
lib/libthread_xu/thread/thr_suspend_np.c
121
!(thread->flags & THR_FLAGS_SUSPENDED)) {
lib/libthread_xu/thread/thr_suspend_np.c
122
thread->flags |= THR_FLAGS_NEED_SUSPEND;
lib/libthread_xu/thread/thr_suspend_np.c
123
tmp = thread->cycle;
lib/libthread_xu/thread/thr_suspend_np.c
124
_thr_send_sig(thread, SIGCANCEL);
lib/libthread_xu/thread/thr_suspend_np.c
125
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
127
_thr_umtx_wait(&thread->cycle, tmp, NULL, 0);
lib/libthread_xu/thread/thr_suspend_np.c
128
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
130
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
43
_pthread_suspend_np(pthread_t thread)
lib/libthread_xu/thread/thr_suspend_np.c
49
if (thread == curthread)
lib/libthread_xu/thread/thr_suspend_np.c
53
else if ((ret = _thr_ref_add(curthread, thread, /*include dead*/0))
lib/libthread_xu/thread/thr_suspend_np.c
56
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
57
suspend_common(curthread, thread, 1);
lib/libthread_xu/thread/thr_suspend_np.c
59
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
62
_thr_ref_delete(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
71
pthread_t thread;
lib/libthread_xu/thread/thr_suspend_np.c
76
TAILQ_FOREACH(thread, &_thread_list, tle) {
lib/libthread_xu/thread/thr_suspend_np.c
77
if (thread != curthread) {
lib/libthread_xu/thread/thr_suspend_np.c
78
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
79
if (thread->state != PS_DEAD &&
lib/libthread_xu/thread/thr_suspend_np.c
80
!(thread->flags & THR_FLAGS_SUSPENDED))
lib/libthread_xu/thread/thr_suspend_np.c
81
thread->flags |= THR_FLAGS_NEED_SUSPEND;
lib/libthread_xu/thread/thr_suspend_np.c
82
THR_THREAD_UNLOCK(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
88
TAILQ_FOREACH(thread, &_thread_list, tle) {
lib/libthread_xu/thread/thr_suspend_np.c
89
if (thread != curthread) {
lib/libthread_xu/thread/thr_suspend_np.c
91
THR_THREAD_LOCK(curthread, thread);
lib/libthread_xu/thread/thr_suspend_np.c
92
ret = suspend_common(curthread, thread, 0);
lib/libthread_xu/thread/thr_suspend_np.c
95
thread->refcount++;
lib/libthread_xu/thread/thr_suspend_np.c
97
suspend_common(curthread, thread, 1);
lib/libthread_xu/thread/thr_suspend_np.c
98
THR_THREAD_UNLOCK(curthread, thread);
sbin/hammer2/cmd_debug.c
321
pthread_t thread;
sbin/hammer2/cmd_debug.c
348
pthread_create(&thread, NULL, dmsg_master_service, info);
sbin/hammer2/cmd_debug.c
363
pthread_t thread;
sbin/hammer2/cmd_debug.c
375
pthread_create(&thread, NULL,
sbin/hammer2/cmd_debug.c
377
pthread_join(thread, &res);
sbin/hammer2/cmd_debug.c
61
pthread_t thread;
sbin/hammer2/cmd_debug.c
75
pthread_create(&thread, NULL, dmsg_master_service, info);
sbin/hammer2/cmd_debug.c
76
pthread_join(thread, NULL);
sbin/hammer2/cmd_service.c
1007
pthread_t thread;
sbin/hammer2/cmd_service.c
1015
pthread_create(&thread, NULL, func, arg);
sbin/hammer2/cmd_service.c
1071
pthread_create(&thread, NULL, func, arg);
sbin/hammer2/cmd_service.c
211
pthread_t thread;
sbin/hammer2/cmd_service.c
231
pthread_create(&thread, NULL, udev_thread, NULL);
sbin/hammer2/cmd_service.c
242
pthread_create(&thread, NULL, autoconn_thread, NULL);
sbin/hammer2/cmd_service.c
275
pthread_create(&thread, NULL, dmsg_master_service, info);
sbin/hammer2/cmd_service.c
319
if (conf[i].thread) {
sbin/hammer2/cmd_service.c
325
if (conf[i].thread) {
sbin/hammer2/cmd_service.c
326
pthread_join(conf[i].thread, NULL);
sbin/hammer2/cmd_service.c
370
pthread_create(&conf->thread, NULL,
sbin/hammer2/cmd_service.c
44
pthread_t thread;
sbin/hammer2/cmd_service.c
528
pthread_t thread;
sbin/hammer2/cmd_service.c
655
pthread_create(&thread, NULL,
sbin/hammer2/cmd_service.c
726
pthread_create(&ac->thread, NULL, dmsg_master_service, info);
sbin/hammer2/cmd_service.c
727
pthread_join(ac->thread, &res);
sbin/hammer2/cmd_service.c
807
pthread_t thread;
sbin/hammer2/cmd_service.c
81
pthread_t thread;
sbin/hammer2/cmd_service.c
839
pthread_create(&thread, NULL, dmsg_master_service, info);
sbin/hammer2/cmd_service.c
852
pthread_t thread;
sbin/hammer2/cmd_service.c
922
pthread_create(&thread, NULL, dmsg_master_service, info);
sbin/hammer2/cmd_service.c
952
pthread_t thread;
sbin/hammer2/cmd_service.c
980
pthread_create(&thread, NULL, dmsg_master_service, info);
sys/bus/firewire/firewirereg.h
37
typedef struct thread fw_proc;
sys/bus/u4b/input/ukbd.c
166
struct thread *sc_poll_thread;
sys/bus/u4b/quirk/usb_quirk.c
836
int fflag, struct thread *td)
sys/bus/u4b/serial/umodem.c
202
struct thread *);
sys/bus/u4b/serial/umodem.c
617
int flag, struct thread *td)
sys/bus/u4b/serial/usb_serial.h
103
int (*ucom_ioctl) (struct ucom_softc *, uint32_t, caddr_t, int, struct thread *);
sys/bus/u4b/serial/usb_serial.h
85
struct thread;
sys/bus/u4b/serial/uslcom.c
151
struct thread *);
sys/bus/u4b/serial/uslcom.c
617
int flag, struct thread *td)
sys/bus/u4b/usb_dev.c
1025
struct thread *td)
sys/bus/u4b/usb_dev.c
1076
struct thread *td = curthread;
sys/bus/u4b/usb_dev.c
1692
struct thread *td = curthread; /* XXX: curthread the correct choice? */
sys/bus/u4b/usb_dynamic.c
80
usb_quirk_ioctl_w(unsigned long cmd, caddr_t data, int fflag, struct thread *td)
sys/bus/u4b/usb_dynamic.h
43
int fflag, struct thread *td);
sys/bus/u4b/usb_process.c
84
struct thread *td;
sys/bus/u4b/usb_process.h
55
struct thread *up_ptr;
sys/bus/u4b/usb_process.h
56
struct thread *up_curtd;
sys/bus/u4b/uvc/uvc_buf.c
730
struct thread *td;
sys/cpu/x86_64/include/cpufunc.h
49
struct thread;
sys/ddb/db_break.c
306
thread_t thread;
sys/ddb/db_break.c
310
(((thread = current_thread()) != NULL) &&
sys/ddb/db_break.c
311
(map == thread->task->map)));
sys/dev/acpica/Osd/OsdSchedule.c
72
static struct thread *acpi_task_td;
sys/dev/acpica/Osd/OsdSchedule.c
82
acpi_task_td = kmalloc(sizeof(struct thread), M_DEVBUF, M_INTWAIT | M_ZERO);
sys/dev/acpica/acpi_hp/acpi_hp.c
1081
struct thread *td = curthread;
sys/dev/acpica/acpi_thermal.c
115
struct thread *tz_cooling_proc;
sys/dev/acpica/acpi_thermal.c
188
static struct thread *acpi_tz_td;
sys/dev/acpica/acpi_wmi/acpi_wmi.c
880
struct thread *td = curthread;
sys/dev/apple/smc/smc.h
111
struct thread *sc_thermal_td;
sys/dev/crypto/tpm/tpm20.h
121
struct thread *owner_tid;
sys/dev/disk/iscsi/initiator/iscsi.c
437
i_send(struct cdev *dev, caddr_t arg, struct thread *td)
sys/dev/disk/iscsi/initiator/iscsi.c
508
i_recv(struct cdev *dev, caddr_t arg, struct thread *td)
sys/dev/disk/iscsi/initiator/iscsi.c
95
static int i_send(struct cdev *dev, caddr_t arg, struct thread *td);
sys/dev/disk/iscsi/initiator/iscsi.c
96
static int i_recv(struct cdev *dev, caddr_t arg, struct thread *td);
sys/dev/disk/iscsi/initiator/iscsi.c
97
static int i_setsoc(isc_session_t *sp, int fd, struct thread *td);
sys/dev/disk/iscsi/initiator/iscsivar.h
122
struct thread *td;
sys/dev/disk/iscsi/initiator/iscsivar.h
127
struct thread *soc_thr;
sys/dev/disk/iscsi/initiator/iscsivar.h
129
struct thread *stp; // the sm thread
sys/dev/disk/isp/isp_freebsd.h
152
struct thread *kthread;
sys/dev/disk/mmcsd/mmcsd.c
84
struct thread *td;
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
695
uint32_t offset, se, sh, cu, wave, simd, thread, bank, *data;
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
707
thread = (*pos & GENMASK_ULL(59, 52)) >> 52;
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
720
adev->gfx.funcs->read_wave_vgprs(adev, simd, wave, thread, offset, size>>2, data);
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
866
if (!ring || !ring->sched.thread)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
868
kthread_park(ring->sched.thread);
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
882
if (!ring || !ring->sched.thread)
sys/dev/drm/amd/amdgpu/amdgpu_debugfs.c
884
kthread_unpark(ring->sched.thread);
sys/dev/drm/amd/amdgpu/amdgpu_device.c
3409
if (!ring || !ring->sched.thread)
sys/dev/drm/amd/amdgpu/amdgpu_device.c
3412
kthread_park(ring->sched.thread);
sys/dev/drm/amd/amdgpu/amdgpu_device.c
3431
if (!ring || !ring->sched.thread)
sys/dev/drm/amd/amdgpu/amdgpu_device.c
3441
kthread_unpark(ring->sched.thread);
sys/dev/drm/amd/amdgpu/amdgpu_gfx.h
209
uint32_t wave, uint32_t thread, uint32_t start,
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4230
uint32_t wave, uint32_t thread,
sys/dev/drm/amd/amdgpu/gfx_v7_0.c
4237
(thread << SQ_IND_INDEX__THREAD_ID__SHIFT) |
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5277
uint32_t wave, uint32_t thread,
sys/dev/drm/amd/amdgpu/gfx_v8_0.c
5284
(thread << SQ_IND_INDEX__THREAD_ID__SHIFT) |
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1319
uint32_t wave, uint32_t thread,
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1326
(thread << SQ_IND_INDEX__THREAD_ID__SHIFT) |
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1363
uint32_t wave, uint32_t thread,
sys/dev/drm/amd/amdgpu/gfx_v9_0.c
1368
adev, simd, wave, thread,
sys/dev/drm/include/asm/current.h
32
struct thread;
sys/dev/drm/include/asm/current.h
35
struct task_struct *linux_task_alloc(struct thread *td);
sys/dev/drm/include/asm/current.h
36
void linux_task_drop(struct thread *td);
sys/dev/drm/include/drm/drmP.h
113
#define DRM_STRUCTPROC struct thread
sys/dev/drm/include/drm/gpu_scheduler.h
281
struct task_struct *thread;
sys/dev/drm/include/linux/sched.h
251
struct thread *t = p->dfly_td;
sys/dev/drm/include/linux/sched.h
263
struct thread *t = p->dfly_td;
sys/dev/drm/include/linux/sched.h
83
struct thread *dfly_td;
sys/dev/drm/include/linux/workqueue.h
56
struct thread *worker_thread;
sys/dev/drm/linux_kthread.c
50
struct thread *td;
sys/dev/drm/linux_sched.c
59
linux_task_alloc(struct thread *td)
sys/dev/drm/linux_sched.c
97
linux_task_drop(struct thread *td)
sys/dev/drm/linux_tasklet.c
51
static struct thread *tasklet_td = NULL;
sys/dev/drm/scheduler/sched_entity.c
277
kthread_park(sched->thread);
sys/dev/drm/scheduler/sched_entity.c
278
kthread_unpark(sched->thread);
sys/dev/drm/scheduler/sched_main.c
635
sched->thread = kthread_run(drm_sched_main, sched, sched->name);
sys/dev/drm/scheduler/sched_main.c
636
if (IS_ERR(sched->thread)) {
sys/dev/drm/scheduler/sched_main.c
638
return PTR_ERR(sched->thread);
sys/dev/drm/scheduler/sched_main.c
654
if (sched->thread)
sys/dev/drm/scheduler/sched_main.c
655
kthread_stop(sched->thread);
sys/dev/misc/cuse/cuse.c
112
struct thread *entered;
sys/dev/misc/cuse/cuse.c
1401
cuse_server_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/misc/cuse/cuse.c
365
cuse_server_find_command(struct cuse_server *pcs, struct thread *td)
sys/dev/misc/cuse/cuse.c
899
struct thread *td;
sys/dev/misc/ipmi/ipmivars.h
110
struct thread *ipmi_kthread;
sys/dev/misc/syscons/scmouse.c
605
sc_mouse_exit1(struct thread *td)
sys/dev/misc/syscons/syscons.h
330
struct thread *asynctd;
sys/dev/misc/tbridge/tbridge.c
243
struct thread *td;
sys/dev/misc/vkbd/vkbd.c
585
vkbd_dev_poll(struct cdev *dev, int events, struct thread *td)
sys/dev/netif/bnx/if_bnxvar.h
177
struct thread *bnx_rx_std_ithread;
sys/dev/netif/iwn/if_iwn.c
5120
iwn_cdev_open(struct cdev *dev, int flags, int type, struct thread *td)
sys/dev/netif/iwn/if_iwn.c
5132
iwn_cdev_close(struct cdev *dev, int flags, int type, struct thread *td)
sys/dev/netif/iwn/if_iwn.c
5146
struct thread *td = curthread;
sys/dev/netif/iwn/if_iwn.c
5150
struct thread *td)
sys/dev/pccard/pccbb/pccbbvar.h
88
struct thread *event_thread;
sys/dev/raid/aac/aacvar.h
392
struct thread *aifthread;
sys/dev/raid/ciss/cissvar.h
224
struct thread *ciss_notify_thread;
sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c
1242
typedef struct thread * ioctl_thread_t;
sys/dev/raid/hptiop/hptiop.h
337
typedef struct thread * ioctl_thread_t;
sys/dev/raid/hptmv/entry.c
85
static struct thread *hptdaemonproc;
sys/dev/raid/mpr/mpr_user.c
2478
struct thread *td)
sys/dev/raid/mps/mps_sas.h
104
struct thread *rescan_thread;
sys/dev/raid/mps/mps_user.c
2258
struct thread *td)
sys/dev/raid/mrsas/mrsas.h
2410
struct thread *ocr_thread;
sys/dev/sound/midi/sequencer.c
138
struct thread *sync_thread; /* AIOSYNCing thread */
sys/dev/sound/pcm/channel.c
920
chn_poll(struct pcm_channel *c, int ev, struct thread *td)
sys/dev/sound/pcm/channel.h
262
int chn_poll(struct pcm_channel *c, int ev, struct thread *td);
sys/dev/sound/pcm/dsp.c
2263
struct thread *td = curthread;
sys/dev/sound/pcm/dsp.c
2277
struct thread *td = curthread;
sys/dev/sound/pcm/sndstat.c
240
sndstat_acquire(struct thread *td)
sys/dev/sound/pcm/sndstat.c
260
sndstat_release(struct thread *td)
sys/dev/sound/pcm/sound.c
1150
struct thread *td;
sys/dev/sound/pcm/sound.h
363
int sndstat_acquire(struct thread *td);
sys/dev/sound/pcm/sound.h
364
int sndstat_release(struct thread *td);
sys/dev/video/bktr/bktr_core.c
1202
video_ioctl( bktr_ptr_t bktr, int unit, ioctl_cmd_t cmd, caddr_t arg, struct thread* td )
sys/dev/video/bktr/bktr_core.c
1801
tuner_ioctl( bktr_ptr_t bktr, int unit, ioctl_cmd_t cmd, caddr_t arg, struct thread* td )
sys/dev/video/bktr/bktr_core.h
86
ioctl_cmd_t cmd, caddr_t arg, struct thread* pr );
sys/dev/video/bktr/bktr_core.h
92
ioctl_cmd_t cmd, caddr_t arg, struct thread* pr );
sys/dev/video/bktr/msp34xx.c
134
struct thread *kthread;
sys/dev/virtual/virtio/balloon/virtio_balloon.c
103
struct thread *vtballoon_td;
sys/kern/imgact_resident.c
126
struct thread *td;
sys/kern/imgact_resident.c
209
struct thread *td = curthread;
sys/kern/imgact_resident.c
259
struct thread *td = curthread;
sys/kern/imgact_resident.c
80
fill_xresident(struct vmresident *vr, struct xresident *in, struct thread *td)
sys/kern/init_main.c
90
struct thread thread0;
sys/kern/kern_acl.c
109
struct thread *td = curthread;
sys/kern/kern_acl.c
126
struct thread *td = curthread;
sys/kern/kern_acl.c
202
struct thread *td = curthread;
sys/kern/kern_acl.c
221
struct thread *td = curthread;
sys/kern/kern_acl.c
265
struct thread *td = curthread;
sys/kern/kern_acl.c
310
struct thread *td = curthread;
sys/kern/kern_acl.c
69
struct thread *td = curthread;
sys/kern/kern_acl.c
91
struct thread *td = curthread;
sys/kern/kern_checkpoint.c
720
struct thread *td = curthread;
sys/kern/kern_checkpoint.c
775
struct thread *td = lp->lwp_thread;
sys/kern/kern_descrip.c
1043
struct thread *td = curthread;
sys/kern/kern_descrip.c
1414
struct thread *td = curthread;
sys/kern/kern_descrip.c
1468
struct thread *td = curthread;
sys/kern/kern_descrip.c
1525
struct thread *td = curthread;
sys/kern/kern_descrip.c
1556
struct thread *td = curthread;
sys/kern/kern_descrip.c
1592
struct thread *td = curthread;
sys/kern/kern_descrip.c
701
struct thread *td = curthread;
sys/kern/kern_descrip.c
945
struct thread *td = curthread;
sys/kern/kern_event.c
1056
struct thread *td = curthread;
sys/kern/kern_event.c
1160
struct thread *td;
sys/kern/kern_event.c
725
struct thread *td = curthread;
sys/kern/kern_exec.c
205
struct thread *td = curthread;
sys/kern/kern_exec.c
710
struct thread *td = curthread;
sys/kern/kern_exit.c
1003
struct thread *td = curthread;
sys/kern/kern_exit.c
292
struct thread *td = curthread;
sys/kern/kern_exit.c
673
struct thread *td = curthread;
sys/kern/kern_exit.c
824
struct thread *td = lp->lwp_thread;
sys/kern/kern_exit.c
892
struct thread *td = lp->lwp_thread;
sys/kern/kern_fork.c
124
struct thread *td;
sys/kern/kern_fork.c
784
struct thread *td2;
sys/kern/kern_fp.c
132
struct thread *td;
sys/kern/kern_fp.c
396
struct thread *td = curthread;
sys/kern/kern_fp.c
98
struct thread *td;
sys/kern/kern_intr.c
139
static struct thread *emergency_intr_thread[MAXCPU];
sys/kern/kern_intr.c
309
emergency_intr_thread[cpuid] = kmalloc(sizeof(struct thread), M_DEVBUF,
sys/kern/kern_intr.c
327
info->i_thread = kmalloc(sizeof(struct thread), M_DEVBUF,
sys/kern/kern_intr.c
63
struct thread *i_thread; /* don't embed struct thread */
sys/kern/kern_jail.c
424
prison_replace_wildcards(struct thread *td, struct sockaddr *ip)
sys/kern/kern_jail.c
459
prison_remote_ip(struct thread *td, struct sockaddr *ip)
sys/kern/kern_jail.c
493
prison_local_ip(struct thread *td, struct sockaddr *ip)
sys/kern/kern_jail.c
663
struct thread *td = curthread;
sys/kern/kern_kinfo.c
284
fill_kinfo_proc_kthread(struct thread *td, struct kinfo_proc *kp)
sys/kern/kern_kthread.c
111
struct thread **tdp, int cpu, const char *fmt, ...)
sys/kern/kern_kthread.c
129
struct thread **tdp, int stksize, const char *fmt, ...)
sys/kern/kern_kthread.c
188
suspend_kproc(struct thread *td, int timo)
sys/kern/kern_kthread.c
211
struct thread *td = curthread;
sys/kern/kern_kthread.c
47
struct thread **tdp, int cpu, bool schedule_now, const char *fmt, __va_list ap)
sys/kern/kern_kthread.c
76
struct thread **tdp, const char *fmt, ...)
sys/kern/kern_kthread.c
93
struct thread **tdp, const char *fmt, ...)
sys/kern/kern_ktrace.c
293
struct thread *td = curthread;
sys/kern/kern_ktrace.c
444
struct thread *td = curthread; /* XXX */
sys/kern/kern_ktrace.c
507
ktrops(struct thread *td, struct proc *p, int ops, int facs,
sys/kern/kern_ktrace.c
535
ktrsetchildren(struct thread *td, struct proc *top, int ops, int facs,
sys/kern/kern_ktrace.c
62
static int ktrcanset (struct thread *,struct proc *);
sys/kern/kern_ktrace.c
63
static int ktrsetchildren (struct thread *, struct proc *,
sys/kern/kern_ktrace.c
65
static int ktrops (struct thread *,struct proc *,int,int, ktrace_node_t);
sys/kern/kern_ktrace.c
668
ktrcanset(struct thread *calltd, struct proc *targetp)
sys/kern/kern_lock.c
1285
struct thread *td __debugvar = curthread;
sys/kern/kern_lock.c
1339
lockstatus(struct lock *lkp, struct thread *td)
sys/kern/kern_lock.c
1407
struct thread *td = lkp->lk_lockholder;
sys/kern/kern_mib.c
221
struct thread *td = req->td;
sys/kern/kern_mpipe.c
112
kthread_create(mpipe_thread, mpipe, &mpipe->thread,
sys/kern/kern_mpipe.c
135
while (mpipe->thread) {
sys/kern/kern_mpipe.c
187
mpipe->thread = NULL;
sys/kern/kern_proc.c
1642
sysctl_out_proc_kthread(struct thread *td, struct sysctl_req *req)
sys/kern/kern_proc.c
1663
struct thread *td;
sys/kern/kern_proc.c
1664
struct thread *marker;
sys/kern/kern_proc.c
1792
marker = kmalloc(sizeof(struct thread), M_TEMP, M_WAITOK|M_ZERO);
sys/kern/kern_prot.c
1274
struct thread *td = curthread;
sys/kern/kern_prot.c
975
priv_check(struct thread *td, int priv)
sys/kern/kern_resource.c
783
struct thread *td;
sys/kern/kern_shutdown.c
216
struct thread *dumpthread;
sys/kern/kern_shutdown.c
924
struct thread *td;
sys/kern/kern_shutdown.c
931
td = (struct thread *)arg;
sys/kern/kern_sig.c
250
struct thread *td = curthread;
sys/kern/kern_sig.c
477
struct thread *td = curthread;
sys/kern/kern_sig.c
577
struct thread *td = curthread;
sys/kern/kern_sig.c
634
struct thread *td = curthread;
sys/kern/kern_slaballoc.c
519
static struct thread *kmalloc_poller_td;
sys/kern/kern_subr.c
544
struct thread *td = curthread;
sys/kern/kern_synch.c
1002
struct thread *td;
sys/kern/kern_synch.c
1003
struct thread *ntd;
sys/kern/kern_synch.c
1526
struct thread *td;
sys/kern/kern_synch.c
514
struct thread *td = curthread;
sys/kern/kern_synch.c
69
TAILQ_HEAD(, thread) queue;
sys/kern/kern_sysctl.c
1412
struct thread *td = req->td;
sys/kern/kern_sysctl.c
1523
struct thread *td = curthread;
sys/kern/kern_time.c
195
get_thread_cputime(struct thread *td, struct timespec *ats)
sys/kern/kern_timeout.c
144
struct thread thread;
sys/kern/kern_timeout.c
184
if ((c->flags & CALLOUT_INPROG) && curthread != &c->qsc->thread) {
sys/kern/kern_timeout.c
208
curthread != &c->qsc->thread) {
sys/kern/kern_timeout.c
423
lwkt_create(softclock_handler, sc, NULL, &sc->thread,
sys/kern/kern_timeout.c
467
lwkt_schedule(&sc->thread);
sys/kern/kern_timeout.c
478
lwkt_schedule(&sc->thread);
sys/kern/kern_timeout.c
685
lwkt_deschedule_self(&sc->thread); /* == curthread */
sys/kern/kern_timeout.c
916
curthread == &c->qsc->thread) {
sys/kern/kern_varsym.c
135
struct thread *td;
sys/kern/kern_varsym.c
230
struct thread *td;
sys/kern/kern_varsym.c
381
struct thread *td;
sys/kern/kern_varsym.c
425
struct thread *td;
sys/kern/link_elf.c
391
struct thread *td = curthread; /* XXX */
sys/kern/link_elf_obj.c
393
struct thread *td = curthread; /* XXX */
sys/kern/lwkt_thread.c
1126
lwkt_passive_release(struct thread *td)
sys/kern/lwkt_thread.c
1649
lwkt_create(void (*func)(void *), void *arg, struct thread **tdp,
sys/kern/lwkt_thread.c
251
struct thread *td = (struct thread *)obj;
sys/kern/lwkt_thread.c
263
struct thread *td = (struct thread *)obj;
sys/kern/lwkt_thread.c
291
M_THREAD, sizeof(struct thread),
sys/kern/lwkt_thread.c
352
lwkt_alloc_thread(struct thread *td, int stksize, int cpu, int flags)
sys/kern/lwkt_thread.c
445
bzero(td, sizeof(struct thread));
sys/kern/lwkt_thread.c
83
KTR_INFO(KTR_CTXSW, ctxsw, sw, 0, "#cpu[%d].td = %p", int cpu, struct thread *td);
sys/kern/lwkt_thread.c
84
KTR_INFO(KTR_CTXSW, ctxsw, pre, 1, "#cpu[%d].td = %p", int cpu, struct thread *td);
sys/kern/lwkt_thread.c
85
KTR_INFO(KTR_CTXSW, ctxsw, newtd, 2, "#threads[%p].name = %s", struct thread *td, char *comm);
sys/kern/lwkt_thread.c
86
KTR_INFO(KTR_CTXSW, ctxsw, deadtd, 3, "#threads[%p].name = <dead>", struct thread *td);
sys/kern/lwkt_token.c
98
#define TOKEN_ARGS lwkt_tokref_t ref, lwkt_token_t tok, struct thread *td
sys/kern/subr_cpuhelper.c
42
static struct thread *cpuhelper[MAXCPU];
sys/kern/subr_disk.c
1542
struct thread* td_core;
sys/kern/subr_firmware.c
256
struct thread *td = curthread;
sys/kern/subr_firmware.c
381
struct thread *td = curthread;
sys/kern/subr_gtaskqueue.c
138
gtaskqueue_terminate(struct thread **pp, struct gtaskqueue *tq)
sys/kern/subr_gtaskqueue.c
429
struct thread *td;
sys/kern/subr_gtaskqueue.c
439
tq->tq_threads = kmalloc(sizeof(struct thread *) * count,
sys/kern/subr_gtaskqueue.c
70
struct thread **tq_threads;
sys/kern/subr_sglist.c
315
sglist_append_user(struct sglist *sg, void *buf, size_t len, struct thread *td)
sys/kern/subr_sleepqueue.c
161
sleepq_setup_thread(struct thread *td)
sys/kern/subr_sleepqueue.c
166
sleepq_teardown_thread(struct thread *td)
sys/kern/subr_sleepqueue.c
256
struct thread *td;
sys/kern/subr_sleepqueue.c
295
struct thread *td;
sys/kern/subr_sleepqueue.c
319
_sleepq_wait_begin(struct thread *td, struct sleepqueue_chain *sc,
sys/kern/subr_sleepqueue.c
347
_sleepq_wait_complete(struct thread *td, struct sleepqueue_chain *sc,
sys/kern/subr_sleepqueue.c
391
struct thread *td;
sys/kern/subr_sleepqueue.c
407
struct thread *td;
sys/kern/subr_sleepqueue.c
426
struct thread *td;
sys/kern/subr_sleepqueue.c
445
struct thread *td;
sys/kern/subr_taskqueue.c
139
taskqueue_terminate(struct thread **pp, struct taskqueue *tq)
sys/kern/subr_taskqueue.c
552
struct thread *td;
sys/kern/subr_taskqueue.c
571
tq->tq_threads = kmalloc(sizeof(struct thread *) * count, M_TASKQUEUE,
sys/kern/subr_taskqueue.c
59
struct thread **tq_threads;
sys/kern/sys_generic.c
125
struct thread *td = curthread;
sys/kern/sys_generic.c
1262
struct thread *td = curthread;
sys/kern/sys_generic.c
155
struct thread *td = curthread;
sys/kern/sys_generic.c
1692
struct thread *td = curthread;
sys/kern/sys_generic.c
190
struct thread *td = curthread;
sys/kern/sys_generic.c
221
struct thread *td = curthread;
sys/kern/sys_generic.c
254
struct thread *td = curthread;
sys/kern/sys_generic.c
283
struct thread *td = curthread;
sys/kern/sys_generic.c
331
struct thread *td = curthread;
sys/kern/sys_generic.c
362
struct thread *td = curthread;
sys/kern/sys_generic.c
394
struct thread *td = curthread;
sys/kern/sys_generic.c
425
struct thread *td = curthread;
sys/kern/sys_generic.c
458
struct thread *td = curthread;
sys/kern/sys_generic.c
484
struct thread *td = curthread;
sys/kern/sys_generic.c
562
struct thread *td = curthread;
sys/kern/sys_generic.c
833
struct thread *td = curthread;
sys/kern/sys_mqueue.c
1082
struct thread *td = curthread;
sys/kern/sys_mqueue.c
423
struct thread *td = curthread;
sys/kern/sys_pipe.c
279
struct thread *td = curthread;
sys/kern/sysv_msg.c
205
struct thread *td = curthread;
sys/kern/sysv_msg.c
347
struct thread *td = curthread;
sys/kern/sysv_msg.c
458
struct thread *td = curthread;
sys/kern/sysv_msg.c
790
struct thread *td = curthread;
sys/kern/sysv_sem.c
349
struct thread *td = curthread;
sys/kern/sysv_sem.c
576
struct thread *td = curthread;
sys/kern/sysv_sem.c
730
struct thread *td = curthread;
sys/kern/sysv_shm.c
225
struct thread *td = curthread;
sys/kern/sysv_shm.c
263
struct thread *td = curthread;
sys/kern/sysv_shm.c
403
struct thread *td = curthread;
sys/kern/sysv_shm.c
613
struct thread *td = curthread;
sys/kern/tty.c
855
struct thread *td = curthread;
sys/kern/uipc_msg.c
173
so_pru_bind(struct socket *so, struct sockaddr *nam, struct thread *td)
sys/kern/uipc_msg.c
188
so_pru_connect(struct socket *so, struct sockaddr *nam, struct thread *td)
sys/kern/uipc_msg.c
205
so_pru_connect_async(struct socket *so, struct sockaddr *nam, struct thread *td)
sys/kern/uipc_msg.c
341
so_pru_listen(struct socket *so, struct thread *td)
sys/kern/uipc_msg.c
429
struct sockaddr *addr, struct mbuf *control, struct thread *td)
sys/kern/uipc_msg.c
457
struct sockaddr *addr0, struct mbuf *control, struct thread *td)
sys/kern/uipc_socket.c
1068
struct thread *td)
sys/kern/uipc_socket.c
203
int proto, struct thread *td)
sys/kern/uipc_socket.c
291
sobind(struct socket *so, struct sockaddr *nam, struct thread *td)
sys/kern/uipc_socket.c
330
solisten(struct socket *so, int backlog, struct thread *td)
sys/kern/uipc_socket.c
685
soconnect(struct socket *so, struct sockaddr *nam, struct thread *td,
sys/kern/uipc_socket.c
764
struct thread *td)
sys/kern/uipc_socket.c
961
struct mbuf *top, struct mbuf *control, int flags, struct thread *td)
sys/kern/uipc_socket2.c
775
struct thread *td)
sys/kern/uipc_syscalls.c
1039
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
1097
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
1215
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
1244
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
1278
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
1305
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
1365
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
1450
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
158
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
1584
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
1688
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
198
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
287
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
573
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
682
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
787
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
851
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
892
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
96
struct thread *td = curthread;
sys/kern/uipc_syscalls.c
970
struct thread *td = curthread;
sys/kern/uipc_usrreq.c
1125
unp_bind(struct unpcb *unp, struct sockaddr *nam, struct thread *td)
sys/kern/uipc_usrreq.c
1178
unp_connect(struct socket *so, struct sockaddr *nam, struct thread *td)
sys/kern/uipc_usrreq.c
1417
prison_unpcb(struct thread *td, struct unpcb *unp)
sys/kern/uipc_usrreq.c
150
static int unp_bind (struct unpcb *,struct sockaddr *, struct thread *);
sys/kern/uipc_usrreq.c
152
struct thread *);
sys/kern/uipc_usrreq.c
1545
struct thread *td = curthread;
sys/kern/uipc_usrreq.c
165
static int unp_internalize (struct mbuf *, struct thread *);
sys/kern/uipc_usrreq.c
166
static int unp_listen (struct unpcb *, struct thread *);
sys/kern/uipc_usrreq.c
169
static int unp_find_lockref(struct sockaddr *nam, struct thread *td,
sys/kern/uipc_usrreq.c
1702
unp_internalize(struct mbuf *control, struct thread *td)
sys/kern/uipc_usrreq.c
2322
unp_listen(struct unpcb *unp, struct thread *td)
sys/kern/uipc_usrreq.c
2409
unp_find_lockref(struct sockaddr *nam, struct thread *td, short type,
sys/kern/usched_bsd4.c
132
struct thread *helper_thread;
sys/kern/usched_dummy.c
97
struct thread *helper_thread;
sys/kern/vfs_bio.c
155
static struct thread *bufdaemon_td;
sys/kern/vfs_bio.c
156
static struct thread *bufdaemonhw_td;
sys/kern/vfs_bio.c
2229
buf_daemon1(struct thread *td, int queue, int (*buf_limit_fn)(long),
sys/kern/vfs_default.c
1336
struct thread *td;
sys/kern/vfs_default.c
314
struct thread *td = curthread;
sys/kern/vfs_default.c
394
struct thread *td = curthread;
sys/kern/vfs_default.c
473
struct thread *td = curthread;
sys/kern/vfs_default.c
551
struct thread *td = curthread;
sys/kern/vfs_default.c
626
struct thread *td = curthread;
sys/kern/vfs_default.c
710
struct thread *td = curthread;
sys/kern/vfs_default.c
797
struct thread *td = curthread;
sys/kern/vfs_default.c
867
struct thread *td = curthread;
sys/kern/vfs_default.c
955
struct thread *td = curthread;
sys/kern/vfs_journal.c
1326
jrecord_write_cred(struct jrecord *jrec, struct thread *td, struct ucred *cred)
sys/kern/vfs_lock.c
1090
struct thread *td = curthread;
sys/kern/vfs_mount.c
1072
struct thread *td = curthread; /* XXX */
sys/kern/vfs_mount.c
516
static struct thread *vnlruthread;
sys/kern/vfs_mount.c
521
struct thread *td = curthread;
sys/kern/vfs_nlookup.c
202
struct thread *td = curthread;
sys/kern/vfs_subr.c
2585
vn_mark_atime(struct vnode *vp, struct thread *td)
sys/kern/vfs_subr.c
661
int (*waitoutput)(struct vnode *, struct thread *));
sys/kern/vfs_subr.c
683
int (*waitoutput)(struct vnode *, struct thread *))
sys/kern/vfs_subr.c
795
int (*waitoutput)(struct vnode *, struct thread *))
sys/kern/vfs_sync.c
111
struct thread *sc_thread;
sys/kern/vfs_sync.c
360
struct thread *updatethread;
sys/kern/vfs_syscalls.c
120
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
1231
struct thread *td;
sys/kern/vfs_syscalls.c
1269
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
1419
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
1478
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
1597
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
1662
struct thread *td;
sys/kern/vfs_syscalls.c
1670
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
1754
struct thread *td;
sys/kern/vfs_syscalls.c
1762
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
1858
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
1926
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
2027
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
2091
struct thread *td __debugvar = curthread;
sys/kern/vfs_syscalls.c
2110
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
2152
checkvp_chdir(struct vnode *vp, struct thread *td)
sys/kern/vfs_syscalls.c
2166
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
2331
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
2446
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
2524
can_hardlink(struct vnode *vp, struct thread *td, struct ucred *cred)
sys/kern/vfs_syscalls.c
2566
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
2717
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
2746
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
2861
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
3188
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
3264
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
3358
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
3410
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
3488
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
3530
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
3627
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
3734
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
3817
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
4076
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
4150
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
4504
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
4617
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
4705
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
4816
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
5003
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
5043
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
5107
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
5476
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
616
struct thread *td = curthread;
sys/kern/vfs_syscalls.c
83
static int checkvp_chdir (struct vnode *vn, struct thread *td);
sys/kern/vfs_vnops.c
1284
struct thread *td = curthread;
sys/net/if.c
3353
struct thread *td = gd->gd_curthread;
sys/net/if_poll.c
1058
struct thread *td = curthread;
sys/net/if_poll.c
544
struct thread *td = curthread;
sys/net/if_poll.c
823
struct thread *td = curthread;
sys/net/if_poll.c
919
struct thread *td = curthread;
sys/net/if_poll.c
985
struct thread *td = curthread;
sys/net/ipfw3_basic/ip_fw3_sync.c
163
struct thread *td;
sys/net/ipfw3_basic/ip_fw3_sync.c
236
struct thread *td;
sys/net/ipfw3_basic/ip_fw3_sync.c
272
struct thread *td;
sys/net/ipfw3_basic/ip_fw3_sync.c
317
struct thread *td;
sys/net/ipfw3_basic/ip_fw3_sync.c
441
struct thread *td;
sys/net/ipfw3_basic/ip_fw3_sync.h
75
struct thread *edge_td; /* edge handler thread */
sys/net/netisr.c
100
struct thread thread;
sys/net/netisr.c
113
struct thread *netisr_threads[MAXCPU];
sys/net/netisr.c
227
&nd->thread, TDF_NOSTART|TDF_FORCE_SPINPORT|TDF_FIXEDCPU,
sys/net/netisr2.h
78
extern struct thread *netisr_threads[MAXCPU];
sys/net/netmap/netmap.c
1563
netmap_poll(struct cdev *dev, int events, struct thread *td)
sys/net/netmap/netmap.c
885
netmap_rxsync_from_host(struct netmap_adapter *na, struct thread *td, void *pwait)
sys/net/netmsg.h
161
struct thread *nm_td;
sys/net/netmsg.h
170
struct thread *nm_td;
sys/net/netmsg.h
194
struct thread *nm_td;
sys/net/netmsg.h
207
struct thread *nm_td;
sys/net/netmsg.h
240
struct thread *nm_td;
sys/net/netmsg.h
273
struct thread *nm_td;
sys/netgraph/ksocket/ng_ksocket.c
559
struct thread *td = curthread->td_proc ? curthread : &thread0; /* XXX broken */
sys/netgraph/ksocket/ng_ksocket.c
640
struct thread *td = curthread->td_proc ? curthread : &thread0; /* XXX broken */
sys/netgraph/ksocket/ng_ksocket.c
880
struct thread *td = curthread->td_proc ? curthread : &thread0; /* XXX broken */
sys/netgraph/ng_device.c
419
ngdopen(cdev_t dev, int flag, int mode, struct thread *td)
sys/netgraph/ng_device.c
433
ngdclose(cdev_t dev, int flag, int mode, struct thread *td)
sys/netgraph/ng_device.c
451
ngdioctl(cdev_t dev, u_long cmd, caddr_t addr, int flag, struct thread *td)
sys/netgraph/ng_device.c
607
ngdpoll(cdev_t dev, int events, struct thread *td)
sys/netgraph/socket/ng_socket.c
586
ng_internalize(struct mbuf *control, struct thread *td)
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
2438
struct thread *td = msg->listen.nm_td;
sys/netgraph7/bluetooth/socket/ng_btsocket_rfcomm.c
110
bdaddr_p src, bdaddr_p dst, struct thread *td);
sys/netgraph7/bluetooth/socket/ng_btsocket_rfcomm.c
1342
struct thread *td)
sys/netgraph7/bluetooth/socket/ng_btsocket_rfcomm.c
522
struct thread *td = msg->connect.nm_td;
sys/netgraph7/bluetooth/socket/ng_btsocket_rfcomm.c
877
struct thread *td = msg->listen.nm_td;
sys/netgraph7/ksocket/ng_ksocket.c
546
struct thread *td = curthread->td_proc ? curthread : &thread0; /* XXX broken */
sys/netgraph7/ksocket/ng_ksocket.c
661
struct thread *td = curthread->td_proc ? curthread : &thread0; /* XXX broken */
sys/netgraph7/ksocket/ng_ksocket.c
886
struct thread *td = curthread->td_proc ? curthread : &thread0; /* XXX broken */
sys/netgraph7/ng_device.c
332
ngdopen(struct cdev *dev, int flag, int mode, struct thread *td)
sys/netgraph7/ng_device.c
349
ngdclose(struct cdev *dev, int flag, int mode, struct thread *td)
sys/netgraph7/ng_device.c
372
ngdioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td)
sys/netgraph7/ng_device.c
479
ngdpoll(struct cdev *dev, int events, struct thread *td)
sys/netgraph7/socket/ng_socket.c
131
static int ng_internalize(struct mbuf *m, struct thread *p);
sys/netgraph7/socket/ng_socket.c
695
ng_internalize(struct mbuf *control, struct thread *td)
sys/netinet/in.c
224
in_control(u_long cmd, caddr_t data, struct ifnet *ifp, struct thread *td)
sys/netinet/in.c
422
struct thread *td)
sys/netinet/in.c
66
static int in_lifaddr_ioctl (u_long, caddr_t, struct ifnet *, struct thread *);
sys/netinet/in.c
73
struct thread *);
sys/netinet/in.c
807
in_lifaddr_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp, struct thread *td)
sys/netinet/in.h
485
struct thread;
sys/netinet/in_pcb.c
1154
struct sockaddr_in **plocal_sin, struct thread *td)
sys/netinet/in_pcb.c
1168
in_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct thread *td)
sys/netinet/in_pcb.c
2392
prison_xinpcb(struct thread *td, struct inpcb *inp)
sys/netinet/in_pcb.c
484
struct thread *td)
sys/netinet/in_pcb.c
515
struct thread *td)
sys/netinet/in_pcb.c
563
struct in_addr *laddr, struct thread *td)
sys/netinet/in_pcb.c
628
in_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct thread *td)
sys/netinet/in_pcb.c
817
struct thread *td)
sys/netinet/in_pcb.c
943
struct sockaddr_in **plocal_sin, struct thread *td, int find)
sys/netinet/in_pcb.h
499
int in_pcbbind (struct inpcb *, struct sockaddr *, struct thread *);
sys/netinet/in_pcb.h
501
struct in_addr *, struct thread *);
sys/netinet/in_pcb.h
503
struct thread *);
sys/netinet/in_pcb.h
504
int in_pcbconnect (struct inpcb *, struct sockaddr *, struct thread *);
sys/netinet/in_pcb.h
514
struct sockaddr_in **, struct thread *);
sys/netinet/in_pcb.h
516
struct sockaddr_in **, struct thread *, int);
sys/netinet/in_pcb.h
535
int prison_xinpcb (struct thread *p, struct inpcb *inp);
sys/netinet/in_var.h
254
int in_control (u_long, caddr_t, struct ifnet *, struct thread *);
sys/netinet/tcp_usrreq.c
1132
struct thread *td = msg->connect.nm_td;
sys/netinet/tcp_usrreq.c
1316
struct thread *td = msg->connect.nm_td;
sys/netinet/tcp_usrreq.c
1473
struct thread *td = NULL;
sys/netinet/tcp_usrreq.c
303
struct thread *td = msg->bind.nm_td;
sys/netinet/tcp_usrreq.c
394
struct thread *td = msg->bind.nm_td;
sys/netinet/tcp_usrreq.c
446
struct thread *td = msg->listen.nm_td;
sys/netinet/tcp_usrreq.c
523
struct thread *td = msg->listen.nm_td;
sys/netinet/tcp_usrreq.c
584
struct thread *td = msg->connect.nm_td;
sys/netinet/tcp_usrreq.c
627
struct thread *td = msg->connect.nm_td;
sys/netinet/tcp_usrreq.c
961
struct thread *td __unused)
sys/netinet/udp_usrreq.c
1443
struct thread *td = msg->bind.nm_td;
sys/netinet/udp_usrreq.c
1527
struct thread *td __unused)
sys/netinet/udp_usrreq.c
1538
struct thread *td = msg->connect.nm_td;
sys/netinet/udp_usrreq.c
1760
struct thread *td = curthread;
sys/netinet/udp_usrreq.c
892
struct thread *td = msg->send.nm_td;
sys/netinet6/in6.c
132
struct thread *);
sys/netinet6/in6.c
1380
struct thread *td)
sys/netinet6/in6.c
140
struct thread *);
sys/netinet6/in6.c
382
in6_control(u_long cmd, caddr_t data, struct ifnet *ifp, struct thread *td)
sys/netinet6/in6.c
476
struct thread *td)
sys/netinet6/in6_pcb.c
105
in6_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct thread *td)
sys/netinet6/in6_pcb.c
276
struct in6_addr **plocal_addr6, struct thread *td)
sys/netinet6/in6_pcb.c
337
in6_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct thread *td)
sys/netinet6/in6_pcb.h
101
int in6_pcballoc (struct socket *, struct inpcbinfo *, struct thread *);
sys/netinet6/in6_pcb.h
102
int in6_pcbbind (struct inpcb *, struct sockaddr *, struct thread *);
sys/netinet6/in6_pcb.h
103
int in6_pcbconnect (struct inpcb *, struct sockaddr *, struct thread *);
sys/netinet6/in6_pcb.h
107
struct in6_addr **, struct thread *);
sys/netinet6/in6_pcb.h
127
struct in6_addr *, int *, struct thread *);
sys/netinet6/in6_pcb.h
129
int in6_pcbsetlport (struct in6_addr *, struct inpcb *, struct thread *);
sys/netinet6/in6_pcb.h
84
struct thread;
sys/netinet6/in6_src.c
122
struct in6_addr *laddr, int *errorp, struct thread *td)
sys/netinet6/in6_src.c
409
in6_pcbsetlport(struct in6_addr *laddr, struct inpcb *inp, struct thread *td)
sys/netinet6/in6_var.h
606
int in6_control(u_long, caddr_t, struct ifnet *, struct thread *);
sys/netinet6/ip6_input.c
1057
struct thread *td = curthread; /* XXX */
sys/netinet6/ip6_output.c
1140
struct thread *td;
sys/netinet6/udp6_output.c
114
struct mbuf *control, struct thread *td)
sys/netinet6/udp6_usrreq.c
559
struct thread *td = msg->bind.nm_td;
sys/netinet6/udp6_usrreq.c
585
struct thread *td = msg->connect.nm_td;
sys/netinet6/udp6_usrreq.c
673
struct thread *td = msg->send.nm_td;
sys/netinet6/udp6_var.h
77
struct thread;
sys/netinet6/udp6_var.h
86
struct thread *p);
sys/netproto/smb/smb_conn.c
367
smb_co_lockstatus(struct smb_connobj *cp, struct thread *td)
sys/netproto/smb/smb_conn.c
66
static int smb_co_lockstatus(struct smb_connobj *cp, struct thread *td);
sys/netproto/smb/smb_conn.c
896
struct thread *td = req->td;
sys/netproto/smb/smb_conn.h
446
struct thread * iod_td;
sys/netproto/smb/smb_iod.c
114
struct thread *td = iod->iod_td;
sys/netproto/smb/smb_iod.c
135
struct thread *td = iod->iod_td;
sys/netproto/smb/smb_iod.c
236
struct thread *td = iod->iod_td;
sys/netproto/smb/smb_iod.c
307
struct thread *td = iod->iod_td;
sys/netproto/smb/smb_rq.c
258
struct thread *td = rqp->sr_cred->scr_td;
sys/netproto/smb/smb_subr.c
67
smb_makescred(struct smb_cred *scred, struct thread *td, struct ucred *cred)
sys/netproto/smb/smb_subr.c
78
smb_proc_intr(struct thread *td)
sys/netproto/smb/smb_subr.h
106
struct thread;
sys/netproto/smb/smb_subr.h
111
void smb_makescred(struct smb_cred *scred, struct thread *td, struct ucred *cred);
sys/netproto/smb/smb_subr.h
112
int smb_proc_intr(struct thread *td);
sys/netproto/smb/smb_subr.h
98
struct thread * scr_td;
sys/netproto/smb/smb_tran.h
58
int (*tr_create)(struct smb_vc *vcp, struct thread *td);
sys/netproto/smb/smb_tran.h
59
int (*tr_done)(struct smb_vc *vcp, struct thread *td);
sys/netproto/smb/smb_tran.h
60
int (*tr_bind)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td);
sys/netproto/smb/smb_tran.h
61
int (*tr_connect)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td);
sys/netproto/smb/smb_tran.h
62
int (*tr_disconnect)(struct smb_vc *vcp, struct thread *td);
sys/netproto/smb/smb_tran.h
63
int (*tr_send)(struct smb_vc *vcp, struct mbuf *m0, struct thread *td);
sys/netproto/smb/smb_tran.h
64
int (*tr_recv)(struct smb_vc *vcp, struct mbuf **mpp, struct thread *td);
sys/netproto/smb/smb_tran.h
71
int (*tr_poll)(struct smb_vc *vcp, struct thread *td);
sys/netproto/smb/smb_trantcp.c
145
nb_connect_in(struct nbpcb *nbp, struct sockaddr_in *to, struct thread *td)
sys/netproto/smb/smb_trantcp.c
201
nbssn_rq_request(struct nbpcb *nbp, struct thread *td)
sys/netproto/smb/smb_trantcp.c
278
u_int8_t *rpcodep, int flags, struct thread *td)
sys/netproto/smb/smb_trantcp.c
315
u_int8_t *rpcodep, struct thread *td)
sys/netproto/smb/smb_trantcp.c
382
smb_nbst_create(struct smb_vc *vcp, struct thread *td)
sys/netproto/smb/smb_trantcp.c
397
smb_nbst_done(struct smb_vc *vcp, struct thread *td)
sys/netproto/smb/smb_trantcp.c
413
smb_nbst_bind(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td)
sys/netproto/smb/smb_trantcp.c
446
smb_nbst_connect(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td)
sys/netproto/smb/smb_trantcp.c
491
smb_nbst_disconnect(struct smb_vc *vcp, struct thread *td)
sys/netproto/smb/smb_trantcp.c
511
smb_nbst_send(struct smb_vc *vcp, struct mbuf *m0, struct thread *td)
sys/netproto/smb/smb_trantcp.c
532
smb_nbst_recv(struct smb_vc *vcp, struct mbuf **mpp, struct thread *td)
sys/netproto/smb/smb_trantcp.c
81
u_int8_t *rpcodep, struct thread *td);
sys/netproto/smb/smb_trantcp.c
82
static int smb_nbst_disconnect(struct smb_vc *vcp, struct thread *td);
sys/netproto/smb/smb_trantcp.c
98
nb_intr(struct nbpcb *nbp, struct thread *td)
sys/platform/pc64/include/globaldata.h
70
struct thread *gd_npxthread;
sys/platform/pc64/include/md_var.h
107
void fpstate_drop(struct thread *td);
sys/platform/pc64/include/md_var.h
110
void npxdna_quick(struct thread *td);
sys/platform/pc64/include/md_var.h
119
thread_t cpu_exit_switch (struct thread *next);
sys/platform/pc64/include/md_var.h
122
void trap_handle_userenter(struct thread *);
sys/platform/pc64/include/md_var.h
82
struct thread;
sys/platform/pc64/x86_64/busdma_machdep.c
965
struct thread *td;
sys/platform/pc64/x86_64/genassym.c
180
ASSYM(TD_PROC, offsetof(struct thread, td_proc));
sys/platform/pc64/x86_64/genassym.c
181
ASSYM(TD_LWP, offsetof(struct thread, td_lwp));
sys/platform/pc64/x86_64/genassym.c
182
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
sys/platform/pc64/x86_64/genassym.c
183
ASSYM(TD_SP, offsetof(struct thread, td_sp));
sys/platform/pc64/x86_64/genassym.c
184
ASSYM(TD_PRI, offsetof(struct thread, td_pri));
sys/platform/pc64/x86_64/genassym.c
185
ASSYM(TD_CRITCOUNT, offsetof(struct thread, td_critcount));
sys/platform/pc64/x86_64/genassym.c
186
ASSYM(TD_MACH, offsetof(struct thread, td_mach));
sys/platform/pc64/x86_64/genassym.c
187
ASSYM(TD_WCHAN, offsetof(struct thread, td_wchan));
sys/platform/pc64/x86_64/genassym.c
188
ASSYM(TD_NEST_COUNT, offsetof(struct thread, td_nest_count));
sys/platform/pc64/x86_64/genassym.c
189
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
sys/platform/pc64/x86_64/genassym.c
190
ASSYM(TD_TYPE, offsetof(struct thread, td_type));
sys/platform/pc64/x86_64/genassym.c
191
ASSYM(TD_PREEMPTED, offsetof(struct thread, td_preempted));
sys/platform/pc64/x86_64/genassym.c
193
ASSYM(TD_SAVEFPU, offsetof(struct thread, td_savefpu));
sys/platform/pc64/x86_64/machdep.c
1168
struct thread *td __debugvar = gd->gd_curthread;
sys/platform/pc64/x86_64/machdep.c
1478
struct thread *td = curthread;
sys/platform/pc64/x86_64/machdep.c
3694
cpu_interrupt_running(struct thread *td)
sys/platform/pc64/x86_64/trap.c
1161
struct thread *td = curthread;
sys/platform/pc64/x86_64/trap.c
1392
struct thread *td;
sys/platform/pc64/x86_64/trap.c
1524
struct thread *td = curthread;
sys/platform/pc64/x86_64/trap.c
192
userenter(struct thread *curtd, struct proc *curp)
sys/platform/pc64/x86_64/trap.c
306
struct thread *td = lp->lwp_thread;
sys/platform/pc64/x86_64/trap.c
400
struct thread *td = gd->gd_curthread;
sys/platform/pc64/x86_64/trap.c
838
trap_handle_userenter(struct thread *td)
sys/platform/pc64/x86_64/vm_machdep.c
305
struct thread *td = curthread;
sys/platform/vkernel64/include/globaldata.h
70
struct thread *gd_npxthread;
sys/platform/vkernel64/include/md_var.h
109
thread_t cpu_exit_switch (struct thread *next);
sys/platform/vkernel64/platform/busdma_machdep.c
847
struct thread *td;
sys/platform/vkernel64/platform/machintr.c
219
cpu_interrupt_running(struct thread *td)
sys/platform/vkernel64/x86_64/cpu_regs.c
479
struct thread *td = curthread;
sys/platform/vkernel64/x86_64/cpu_regs.c
548
struct thread *td = curthread;
sys/platform/vkernel64/x86_64/genassym.c
113
ASSYM(TD_LWP, offsetof(struct thread, td_lwp));
sys/platform/vkernel64/x86_64/genassym.c
114
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
sys/platform/vkernel64/x86_64/genassym.c
115
ASSYM(TD_SP, offsetof(struct thread, td_sp));
sys/platform/vkernel64/x86_64/genassym.c
116
ASSYM(TD_PRI, offsetof(struct thread, td_pri));
sys/platform/vkernel64/x86_64/genassym.c
117
ASSYM(TD_CRITCOUNT, offsetof(struct thread, td_critcount));
sys/platform/vkernel64/x86_64/genassym.c
118
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
sys/platform/vkernel64/x86_64/genassym.c
119
ASSYM(TD_SAVEFPU, offsetof(struct thread, td_savefpu));
sys/platform/vkernel64/x86_64/trap.c
1010
struct thread *td = curthread;
sys/platform/vkernel64/x86_64/trap.c
1221
struct thread *td;
sys/platform/vkernel64/x86_64/trap.c
1454
struct thread *td = curthread;
sys/platform/vkernel64/x86_64/trap.c
160
userenter(struct thread *curtd, struct proc *curp)
sys/platform/vkernel64/x86_64/trap.c
268
struct thread *td = lp->lwp_thread;
sys/platform/vkernel64/x86_64/trap.c
336
struct thread *td = gd->gd_curthread;
sys/platform/vkernel64/x86_64/trap.c
586
struct thread *td = gd->gd_curthread;
sys/platform/vkernel64/x86_64/vm_machdep.c
257
struct thread *td = curthread;
sys/sys/_uio.h
54
struct thread;
sys/sys/_uio.h
72
struct thread *uio_td;
sys/sys/caps.h
374
struct thread;
sys/sys/caps.h
382
int caps_priv_check_td(struct thread *td, int cap);
sys/sys/conf.h
139
struct thread;
sys/sys/event.h
237
struct thread;
sys/sys/eventvar.h
64
struct thread *kq_regtd;
sys/sys/extattr.h
63
struct thread;
sys/sys/file.h
66
struct thread;
sys/sys/filedesc.h
157
struct thread;
sys/sys/filedesc.h
182
struct file *holdfp (struct thread *td, int fd, int flag);
sys/sys/filedesc.h
185
int holdsock (struct thread *td, int fdes, struct file **fpp);
sys/sys/filedesc.h
186
int holdvnode (struct thread *td, int fd, struct file **fpp);
sys/sys/filedesc.h
187
int holdvnode2 (struct thread *td, int fd, struct file **fpp,
sys/sys/filedesc.h
189
void dropfp(struct thread *td, int fd, struct file *fp);
sys/sys/filedesc.h
198
void fexitcache(struct thread *td);
sys/sys/globaldata.h
131
struct thread *gd_curthread;
sys/sys/globaldata.h
132
struct thread *gd_freetd; /* cache one free td */
sys/sys/globaldata.h
162
struct thread gd_idlethread;
sys/sys/interrupt.h
102
struct thread;
sys/sys/iosched.h
34
struct thread;
sys/sys/iosched.h
38
void biosched_done(struct thread *td);
sys/sys/jail.h
146
int prison_remote_ip(struct thread *td, struct sockaddr *ip);
sys/sys/jail.h
147
int prison_local_ip(struct thread *td, struct sockaddr *ip);
sys/sys/jail.h
148
int prison_replace_wildcards(struct thread *td, struct sockaddr *ip);
sys/sys/kerneldump.h
55
struct thread;
sys/sys/kerneldump.h
57
extern struct thread *dumpthread;
sys/sys/kinfo.h
253
struct thread;
sys/sys/kinfo.h
258
void fill_kinfo_proc_kthread(struct thread *, struct kinfo_proc *);
sys/sys/kthread.h
39
struct thread;
sys/sys/kthread.h
49
struct thread **global_threadpp; /* ptr to proc ptr save area */
sys/sys/kthread.h
55
int suspend_kproc (struct thread *, int);
sys/sys/kthread.h
56
int resume_kproc (struct thread *);
sys/sys/kthread.h
59
int kthread_alloc (void (*)(void *), void *, struct thread **,
sys/sys/kthread.h
61
int kthread_create (void (*)(void *), void *, struct thread **,
sys/sys/kthread.h
63
int kthread_create_cpu (void (*)(void *), void *, struct thread **,
sys/sys/lock.h
210
#define LK_KERNTHREAD ((struct thread *)-2)
sys/sys/lock.h
245
int lockstatus (struct lock *, struct thread *);
sys/sys/lock.h
65
struct thread;
sys/sys/lock.h
72
struct thread *lk_lockholder; /* thread of excl lock holder */
sys/sys/mapped_ioctl.h
50
struct thread;
sys/sys/mount.h
64
struct thread;
sys/sys/mountctl.h
175
struct thread wthread;
sys/sys/mountctl.h
176
struct thread rthread;
sys/sys/mountctl.h
253
void jrecord_write_cred(struct jrecord *jrec, struct thread *td,
sys/sys/mpipe.h
100
struct thread *thread; /* support thread for mpipe */
sys/sys/msgport.h
152
struct thread *mpu_td;
sys/sys/msgport.h
185
void lwkt_initport_thread(lwkt_port_t, struct thread *);
sys/sys/msgport.h
186
void lwkt_initport_spin(lwkt_port_t, struct thread *, boolean_t);
sys/sys/msgport.h
21
struct thread;
sys/sys/mutex.h
53
struct thread;
sys/sys/mutex.h
58
struct thread *owner;
sys/sys/mutex.h
69
struct thread *mtx_owner;
sys/sys/mutex.h
92
#define MTX_OWNER_ANON ((struct thread *)-2)
sys/sys/namei.h
59
struct thread *cn_td; /* process requesting lookup */
sys/sys/nlookup.h
49
struct thread;
sys/sys/nlookup.h
81
struct thread *nl_td; /* thread requesting the nlookup */
sys/sys/proc.h
215
struct thread *lwp_thread; /* backpointer to proc's thread */
sys/sys/proc.h
506
extern struct thread thread0; /* Thread slot for swapper. */
sys/sys/proc.h
511
extern struct thread *pagethread;
sys/sys/proc.h
512
extern struct thread *emergpager;
sys/sys/proc.h
513
extern struct thread *updatethread;
sys/sys/proc.h
563
thread_t cpu_heavy_switch (struct thread *);
sys/sys/proc.h
564
thread_t cpu_lwkt_switch (struct thread *);
sys/sys/proc.h
566
int cpu_interrupt_running(struct thread *);
sys/sys/proc.h
576
void cpu_set_thread_handler(struct thread *td, void (*retfunc)(void), void *func, void *arg);
sys/sys/proc.h
580
void cpu_thread_wait (struct thread *);
sys/sys/protosw.h
268
struct thread *td);
sys/sys/protosw.h
285
struct thread *td);
sys/sys/protosw.h
293
struct thread *td);
sys/sys/protosw.h
306
struct thread *td);
sys/sys/protosw.h
42
struct thread;
sys/sys/serialize.h
50
struct thread;
sys/sys/serialize.h
54
struct thread *last_td;
sys/sys/sglist.h
95
struct thread *td);
sys/sys/sleepqueue.h
107
int sleepq_abort(struct thread *td, int intrval);
sys/sys/sleepqueue.h
108
void sleepq_chains_remove_matching(bool (*matches)(struct thread *));
sys/sys/sleepqueue.h
109
void sleepq_remove(struct thread *td, const void *wchan);
sys/sys/sleepqueue.h
111
bool (*matches)(struct thread *), int pri);
sys/sys/sleepqueue.h
112
void sleepq_remove_nested(struct thread *td);
sys/sys/sleepqueue.h
76
struct thread;
sys/sys/sleepqueue.h
97
void sleepq_setup_thread(struct thread *td);
sys/sys/sleepqueue.h
98
void sleepq_teardown_thread(struct thread *td);
sys/sys/socketops.h
104
struct thread *td);
sys/sys/socketops.h
107
struct thread *td);
sys/sys/socketops.h
121
struct sockaddr *addr, struct mbuf *control, struct thread *td)
sys/sys/socketops.h
59
struct thread *td)
sys/sys/socketops.h
83
int so_pru_bind (struct socket *so, struct sockaddr *nam, struct thread *td);
sys/sys/socketops.h
84
int so_pru_connect (struct socket *so, struct sockaddr *nam, struct thread *td);
sys/sys/socketops.h
86
struct thread *td);
sys/sys/socketops.h
94
int so_pru_listen (struct socket *so, struct thread *td);
sys/sys/socketvar.h
361
struct thread *sopt_td; /* calling thread or null if kernel */
sys/sys/socketvar.h
428
int sobind (struct socket *so, struct sockaddr *nam, struct thread *td);
sys/sys/socketvar.h
434
int soconnect (struct socket *so, struct sockaddr *nam, struct thread *td,
sys/sys/socketvar.h
438
struct thread *td);
sys/sys/socketvar.h
451
int solisten (struct socket *so, int backlog, struct thread *td);
sys/sys/socketvar.h
481
struct thread *td);
sys/sys/socketvar.h
484
struct thread *td);
sys/sys/socketvar.h
487
struct thread *td);
sys/sys/sysctl.h
137
struct thread *td; /* used for access checking */
sys/sys/systm.h
147
struct thread;
sys/sys/systm.h
393
typedef void (*exitlist_fn) (struct thread *td);
sys/sys/systm.h
421
void tsleep_remove (struct thread *);
sys/sys/thread.h
200
struct thread *tr_owner; /* me */
sys/sys/thread.h
287
TAILQ_ENTRY(thread) td_threadq;
sys/sys/thread.h
288
TAILQ_ENTRY(thread) td_allq;
sys/sys/thread.h
289
TAILQ_ENTRY(thread) td_sleepq;
sys/sys/thread.h
301
void (*td_preemptable)(struct thread *td, int critcount);
sys/sys/thread.h
302
void (*td_release)(struct thread *td);
sys/sys/thread.h
306
thread_t (*td_switch)(struct thread *ntd);
sys/sys/thread.h
326
struct thread *td_preempted; /* we preempted this thread */
sys/sys/thread.h
478
extern void (*linux_task_drop_callback)(struct thread *);
sys/sys/thread.h
500
struct thread *lwkt_alloc_thread(struct thread *, int, int, int);
sys/sys/thread.h
501
void lwkt_init_thread(struct thread *, void *, int, int, struct globaldata *);
sys/sys/thread.h
504
void lwkt_free_thread(struct thread *);
sys/sys/thread.h
507
void lwkt_switch_return(struct thread *);
sys/sys/thread.h
546
void lwkt_giveaway(struct thread *);
sys/sys/thread.h
547
void lwkt_acquire(struct thread *);
sys/sys/thread.h
567
int lwkt_create(void (*)(void *), void *, struct thread **, struct thread *,
sys/sys/thread.h
570
void lwkt_remove_tdallq(struct thread *);
sys/sys/thread.h
69
struct thread;
sys/sys/thread.h
93
typedef struct thread *thread_t;
sys/sys/thread.h
95
typedef TAILQ_HEAD(lwkt_queue, thread) lwkt_queue;
sys/sys/usched_dfly.h
103
struct thread *helper_thread;
sys/sys/vfsops.h
78
struct thread;
sys/sys/vnode.h
419
struct thread;
sys/sys/vnode.h
483
int (*waitoutput)(struct vnode *, struct thread *));
sys/sys/vnode.h
522
void vn_mark_atime(struct vnode *vp, struct thread *td);
sys/vfs/devfs/devfs_core.c
104
static struct thread *td_core;
sys/vfs/dirfs/dirfs_vnops.c
674
struct thread *td = uio->uio_td;
sys/vfs/ext2fs/ext2_extents.c
209
struct ucred *cred, struct thread *td)
sys/vfs/ext2fs/ext2_extents.h
127
struct ucred *cred, struct thread *td);
sys/vfs/ext2fs/ext2_lookup.c
866
auio.uio_td = (struct thread *)0;
sys/vfs/ext2fs/ext2_vnops.c
105
static int ext2_chmod(struct vnode *, int, struct ucred *, struct thread *);
sys/vfs/ext2fs/ext2_vnops.c
107
struct thread *);
sys/vfs/ext2fs/ext2_vnops.c
1942
struct thread *td;
sys/vfs/ext2fs/ext2_vnops.c
262
struct thread *td = curthread;
sys/vfs/ext2fs/ext2_vnops.c
383
ext2_chmod(struct vnode *vp, int mode, struct ucred *cred, struct thread *td)
sys/vfs/ext2fs/ext2_vnops.c
411
struct thread *td)
sys/vfs/fifofs/fifo_vnops.c
190
struct thread *td = curthread;
sys/vfs/fifofs/fifo_vnops.c
406
struct thread *td = ap->a_uio->uio_td;
sys/vfs/fuse/fuse.h
91
struct thread *helper_td; // helper thread
sys/vfs/fuse/fuse_vnops.c
1433
struct thread *td = uio->uio_td;
sys/vfs/hammer/hammer.h
143
struct thread *lowner; /* owner if exclusively held */
sys/vfs/hammer/hammer.h
144
struct thread *rowner; /* owner if exclusively held */
sys/vfs/mfs/mfs_extern.h
40
struct thread;
sys/vfs/mfs/mfs_extern.h
44
int mfs_mountfs (struct vnode *, struct mount *, struct thread *);
sys/vfs/mfs/mfsnode.h
44
struct thread *mfs_td; /* supporting thread */
sys/vfs/msdosfs/msdosfs_vnops.c
578
struct thread *td = uio->uio_td;
sys/vfs/nfs/bootp_subr.c
1067
struct thread *td)
sys/vfs/nfs/bootp_subr.c
1178
struct bootpc_globalcontext *gctx, struct thread *td)
sys/vfs/nfs/bootp_subr.c
1525
struct thread *td;
sys/vfs/nfs/bootp_subr.c
227
struct thread *td);
sys/vfs/nfs/bootp_subr.c
244
struct thread *td);
sys/vfs/nfs/bootp_subr.c
248
struct thread *td);
sys/vfs/nfs/bootp_subr.c
252
struct thread *td);
sys/vfs/nfs/bootp_subr.c
574
bootpc_call(struct bootpc_globalcontext *gctx, struct thread *td)
sys/vfs/nfs/bootp_subr.c
973
struct thread *td)
sys/vfs/nfs/krpc.h
15
struct mbuf **data, struct sockaddr **from, struct thread *td);
sys/vfs/nfs/krpc.h
18
u_int prog, u_int vers, u_int16_t *portp,struct thread *td);
sys/vfs/nfs/krpc.h
9
struct thread;
sys/vfs/nfs/krpc_subr.c
131
struct thread *td)
sys/vfs/nfs/krpc_subr.c
189
struct thread *td)
sys/vfs/nfs/nfs.h
361
struct thread *r_td; /* Thread that did I/O system call */
sys/vfs/nfs/nfs.h
513
struct thread *nfsd_td; /* thread ptr */
sys/vfs/nfs/nfs.h
644
struct thread *td,
sys/vfs/nfs/nfs.h
672
struct thread *td);
sys/vfs/nfs/nfs.h
675
void nfs_startio(struct vnode *vp, struct bio *, struct thread *);
sys/vfs/nfs/nfs.h
676
int nfs_doio(struct vnode *vp, struct bio *, struct thread *);
sys/vfs/nfs/nfs.h
681
int nfs_sigintr (struct nfsmount *, struct nfsreq *, struct thread *);
sys/vfs/nfs/nfs.h
690
caddr_t *, struct vnode **, struct thread *, int, int);
sys/vfs/nfs/nfs.h
724
struct thread *, struct mbuf **);
sys/vfs/nfs/nfs.h
725
int nfs_fsinfo (struct nfsmount *, struct vnode *, struct thread *p);
sys/vfs/nfs/nfs.h
729
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
731
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
733
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
741
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
743
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
745
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
747
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
749
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
751
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
753
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
755
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
757
struct nfssvc_sock *slp, struct thread *td,
sys/vfs/nfs/nfs.h
760
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
763
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
765
struct nfssvc_sock *slp, struct thread *td,
sys/vfs/nfs/nfs.h
768
struct nfssvc_sock *slp, struct thread *td,
sys/vfs/nfs/nfs.h
771
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
773
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
775
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
778
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
781
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
784
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
786
struct thread *td, struct mbuf **mrq);
sys/vfs/nfs/nfs.h
791
int nfs_meta_setsize (struct vnode *vp, struct thread *td,
sys/vfs/nfs/nfs.h
795
struct thread *td);
sys/vfs/nfs/nfs_bio.c
1049
nfs_doio(struct vnode *vp, struct bio *bio, struct thread *td)
sys/vfs/nfs/nfs_bio.c
1297
nfs_meta_setsize(struct vnode *vp, struct thread *td, off_t nsize, int flags)
sys/vfs/nfs/nfs_bio.c
500
struct thread *td = uio->uio_td;
sys/vfs/nfs/nfs_bio.c
70
int size, struct thread *td);
sys/vfs/nfs/nfs_bio.c
829
nfs_getcacheblk(struct vnode *vp, off_t loffset, int size, struct thread *td)
sys/vfs/nfs/nfs_bio.c
95
struct thread *td;
sys/vfs/nfs/nfs_bio.c
979
nfs_startio(struct vnode *vp, struct bio *bio, struct thread *td)
sys/vfs/nfs/nfs_kerb.c
71
int flag, caddr_t argp, struct thread *td)
sys/vfs/nfs/nfs_mountrpc.c
130
struct thread *td)
sys/vfs/nfs/nfs_mountrpc.c
223
struct thread *td)
sys/vfs/nfs/nfs_serv.c
1217
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
139
struct ucred *, int, struct thread *, int);
sys/vfs/nfs/nfs_serv.c
1592
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
1887
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
2041
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
209
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
2132
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
2407
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
2524
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
2661
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
2789
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
279
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
2926
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
3233
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
333
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
3581
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
3733
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
3817
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
3895
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
3970
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
3991
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
4028
int rdonly, struct thread *td, int override)
sys/vfs/nfs/nfs_serv.c
488
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
679
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
793
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_serv.c
998
struct thread *td, struct mbuf **mrq)
sys/vfs/nfs/nfs_socket.c
139
static int nfs_msg (struct thread *,char *,char *);
sys/vfs/nfs/nfs_socket.c
155
struct thread *td,
sys/vfs/nfs/nfs_socket.c
1798
struct thread *td = &thread0; /* XXX for creds, will break if sleep */
sys/vfs/nfs/nfs_socket.c
197
struct thread *td = &thread0; /* only used for socreate and sobind */
sys/vfs/nfs/nfs_socket.c
2059
nfs_sigintr(struct nfsmount *nmp, struct nfsreq *rep, struct thread *td)
sys/vfs/nfs/nfs_socket.c
2096
struct thread *td;
sys/vfs/nfs/nfs_socket.c
2516
nfs_msg(struct thread *td, char *server, char *msg)
sys/vfs/nfs/nfs_socket.c
552
struct thread *td = curthread; /* XXX */
sys/vfs/nfs/nfs_subs.c
987
caddr_t *dposp, struct vnode **dirpp, struct thread *td,
sys/vfs/nfs/nfs_syscalls.c
139
struct thread *td = curthread;
sys/vfs/nfs/nfs_syscalls.c
315
nfssvc_addsock(struct file *fp, struct sockaddr *mynam, struct thread *td)
sys/vfs/nfs/nfs_syscalls.c
443
nfssvc_nfsd(struct nfsd_srvargs *nsd, caddr_t argp, struct thread *td)
sys/vfs/nfs/nfs_syscalls.c
92
struct thread *);
sys/vfs/nfs/nfs_syscalls.c
93
static int nfssvc_nfsd (struct nfsd_srvargs *,caddr_t,struct thread *);
sys/vfs/nfs/nfs_vfsops.c
174
struct thread *, struct vnode **,
sys/vfs/nfs/nfs_vfsops.c
483
nfs_fsinfo(struct nfsmount *nmp, struct vnode *vp, struct thread *td)
sys/vfs/nfs/nfs_vfsops.c
563
struct thread *td = curthread; /* XXX */
sys/vfs/nfs/nfs_vfsops.c
726
struct sockaddr_in *sin, struct nfs_args *args, struct thread *td,
sys/vfs/nfs/nfs_vnops.c
114
struct ucred *, struct thread *, struct nfsnode **);
sys/vfs/nfs/nfs_vnops.c
1926
struct ucred *cred, struct thread *td)
sys/vfs/nfs/nfs_vnops.c
195
struct ucred *cred, struct thread *td);
sys/vfs/nfs/nfs_vnops.c
199
struct ucred *cred, struct thread *td);
sys/vfs/nfs/nfs_vnops.c
2070
struct ucred *cred, struct thread *td)
sys/vfs/nfs/nfs_vnops.c
265
struct thread *td, struct ucred *cred)
sys/vfs/nfs/nfs_vnops.c
3058
struct thread *td, struct nfsnode **npp)
sys/vfs/nfs/nfs_vnops.c
3139
nfs_commitrpc_uio(struct vnode *vp, u_quad_t offset, int cnt, struct thread *td)
sys/vfs/nfs/nfs_vnops.c
3211
struct thread *td;
sys/vfs/nfs/nfs_vnops.c
3308
struct thread *td;
sys/vfs/nfs/nfs_vnops.c
3324
nfs_flush(struct vnode *vp, int waitfor, struct thread *td, int commit)
sys/vfs/nfs/nfs_vnops.c
904
struct ucred *cred, struct thread *td)
sys/vfs/nfs/nfs_vnops.c
93
static int nfs_setattrrpc (struct vnode *,struct vattr *,struct ucred *,struct thread *);
sys/vfs/nfs/nfs_vnops.c
976
struct thread *td = curthread;
sys/vfs/nfs/nfsm_subs.h
76
struct thread *td;
sys/vfs/nfs/nfsmountrpc.h
43
struct nfs_args *args,struct thread *td);
sys/vfs/nfs/nfsmountrpc.h
47
struct thread *td);
sys/vfs/nfs/nfsnode.h
221
int nfs_flush (struct vnode *, int, struct thread *, int);
sys/vfs/ntfs/ntfs_vfsops.c
693
u_long lkflags, u_long flags, struct thread *td,
sys/vfs/ntfs/ntfs_vfsops.h
40
struct thread;
sys/vfs/ntfs/ntfs_vfsops.h
44
struct thread *, struct vnode **);
sys/vfs/procfs/procfs.h
121
void procfs_exit (struct thread *);
sys/vfs/procfs/procfs_subr.c
350
struct thread *curtd = uio->uio_td;
sys/vfs/procfs/procfs_subr.c
503
procfs_exit(struct thread *td)
sys/vfs/smbfs/smbfs.h
101
int smbfs_doio(struct vnode *vp, struct bio *bio, struct ucred *cr, struct thread *td);
sys/vfs/smbfs/smbfs_io.c
179
struct thread *td;
sys/vfs/smbfs/smbfs_io.c
237
struct thread *td;
sys/vfs/smbfs/smbfs_io.c
294
smbfs_doio(struct vnode *vp, struct bio *bio, struct ucred *cr, struct thread *td)
sys/vfs/smbfs/smbfs_io.c
410
struct thread *td = curthread; /* XXX */
sys/vfs/smbfs/smbfs_io.c
539
struct thread *td = curthread; /* XXX */
sys/vfs/smbfs/smbfs_vfsops.c
261
struct thread *td = curthread; /* XXX */
sys/vfs/smbfs/smbfs_vnops.c
1015
struct thread *td = cnp->cn_td;
sys/vfs/smbfs/smbfs_vnops.c
799
struct thread *td = NULL;
sys/vfs/smbfs/smbfs_vnops.c
889
struct thread *td = curthread; /* XXX */
sys/vfs/tmpfs/tmpfs_vnops.c
671
struct thread *td = uio->uio_td;
sys/vfs/ufs/ffs_alloc.c
1975
struct thread *td = curthread;
sys/vfs/ufs/ffs_extern.h
121
int softdep_sync_metadata(struct vnode *, struct thread *);
sys/vfs/ufs/ffs_extern.h
59
struct thread;
sys/vfs/ufs/ffs_softdep.c
151
static void clear_remove(struct thread *);
sys/vfs/ufs/ffs_softdep.c
152
static void clear_inodedeps(struct thread *);
sys/vfs/ufs/ffs_softdep.c
269
#define NOHOLDER ((struct thread *) -1)
sys/vfs/ufs/ffs_softdep.c
407
static struct thread *filesys_syncer; /* proc of filesystem syncer process */
sys/vfs/ufs/ffs_softdep.c
4171
softdep_sync_metadata(struct vnode *vp, struct thread *td)
sys/vfs/ufs/ffs_softdep.c
4717
struct thread *td = curthread; /* XXX */
sys/vfs/ufs/ffs_softdep.c
4781
clear_remove(struct thread *td)
sys/vfs/ufs/ffs_softdep.c
4838
clear_inodedeps(struct thread *td)
sys/vfs/ufs/ffs_softdep_stub.c
180
softdep_sync_metadata(struct vnode *vp, struct thread *td)
sys/vfs/ufs/quota.h
176
struct thread;
sys/vfs/ufs/ufs_extern.h
91
int ufs_start(struct mount *, int, struct thread *);
sys/vfs/ufs/ufs_readwrite.c
221
struct thread *td;
sys/vm/pmap.h
230
void pmap_init_thread (struct thread *td);
sys/vm/pmap.h
91
struct thread;
sys/vm/vm_extern.h
79
int swaponvp(struct thread *, struct vnode *, u_quad_t);
sys/vm/vm_mmap.c
1049
struct thread *td = curthread;
sys/vm/vm_mmap.c
1114
struct thread *td = curthread;
sys/vm/vm_mmap.c
1174
struct thread *td = curthread;
sys/vm/vm_mmap.c
1225
struct thread *td = curthread;
sys/vm/vm_mmap.c
130
struct thread *td = curthread;
sys/vm/vm_mmap.c
998
struct thread *td = curthread;
sys/vm/vm_pageout.c
149
__read_frequently struct thread *emergpager;
sys/vm/vm_pageout.c
150
__read_frequently struct thread *pagethread;
sys/vm/vm_pageout.c
156
static struct thread *vmthread;
sys/vm/vm_swap.c
196
struct thread *td = curthread;
sys/vm/vm_swap.c
248
swaponvp(struct thread *td, struct vnode *vp, u_quad_t nblks)
sys/vm/vm_swapcache.c
97
struct thread *swapcached_thread;
test/interbench/interbench.c
100
void emulate_x(struct thread *th);
test/interbench/interbench.c
101
void emulate_game(struct thread *th);
test/interbench/interbench.c
102
void emulate_burn(struct thread *th);
test/interbench/interbench.c
103
void emulate_write(struct thread *th);
test/interbench/interbench.c
1037
void show_latencies(struct thread *th)
test/interbench/interbench.c
104
void emulate_read(struct thread *th);
test/interbench/interbench.c
105
void emulate_ring(struct thread *th);
test/interbench/interbench.c
106
void emulate_compile(struct thread *th);
test/interbench/interbench.c
107
void emulate_memload(struct thread *th);
test/interbench/interbench.c
108
void emulate_hackbench(struct thread *th);
test/interbench/interbench.c
109
void emulate_custom(struct thread *th);
test/interbench/interbench.c
111
struct thread threadlist[THREADS] = {
test/interbench/interbench.c
1194
void start_thread(struct thread *th)
test/interbench/interbench.c
1199
void stop_thread(struct thread *th)
test/interbench/interbench.c
1226
struct thread *th = &threadlist[i];
test/interbench/interbench.c
1267
struct thread *thj;
test/interbench/interbench.c
1294
struct thread *thi;
test/interbench/interbench.c
130
void start_thread(struct thread *th);
test/interbench/interbench.c
131
void stop_thread(struct thread *th);
test/interbench/interbench.c
1707
struct thread *thi = &threadlist[i];
test/interbench/interbench.c
1740
struct thread *thj = &threadlist[j];
test/interbench/interbench.c
379
unsigned long periodic_schedule(struct thread *th, unsigned long run_usecs,
test/interbench/interbench.c
472
void create_pthread(pthread_t * thread, pthread_attr_t * attr,
test/interbench/interbench.c
475
if (pthread_create(thread, attr, start_routine, arg))
test/interbench/interbench.c
485
void emulate_none(struct thread *th)
test/interbench/interbench.c
494
void emulate_audio(struct thread *th)
test/interbench/interbench.c
514
void emulate_video(struct thread *th)
test/interbench/interbench.c
535
void emulate_x(struct thread *th)
test/interbench/interbench.c
565
void emulate_game(struct thread *th)
test/interbench/interbench.c
598
struct thread *th;
test/interbench/interbench.c
616
void emulate_burn(struct thread *th)
test/interbench/interbench.c
634
void emulate_write(struct thread *th)
test/interbench/interbench.c
681
void emulate_read(struct thread *th)
test/interbench/interbench.c
716
struct thread ringthreads[RINGTHREADS];
test/interbench/interbench.c
720
struct thread *th;
test/interbench/interbench.c
746
void emulate_ring(struct thread *th)
test/interbench/interbench.c
769
void emulate_compile(struct thread *th)
test/interbench/interbench.c
808
void emulate_memload(struct thread *th)
test/interbench/interbench.c
846
struct thread hackthread;
test/interbench/interbench.c
848
void emulate_hackbench(struct thread *th)
test/interbench/interbench.c
865
void emulate_custom(struct thread *th)
test/interbench/interbench.c
884
struct thread *th;
test/interbench/interbench.c
943
struct thread *th;
test/interbench/interbench.c
97
void emulate_none(struct thread *th);
test/interbench/interbench.c
98
void emulate_audio(struct thread *th);
test/interbench/interbench.c
99
void emulate_video(struct thread *th);
test/interbench/interbench.h
40
void (*name)(struct thread *);
test/interbench/interbench.h
55
extern struct thread hackthread;
test/libpthread/hello_d.c
24
pthread_t thread;
test/libpthread/hello_d.c
27
error = pthread_create(&thread, NULL, entry, NULL);
test/libpthread/hello_d.c
32
error = pthread_join(thread, NULL);
test/libpthread/hello_s.c
26
pthread_t thread;
test/libpthread/hello_s.c
33
error = pthread_create(&thread, NULL, entry, NULL);
test/libpthread/hello_s.c
39
error = pthread_join(thread, NULL);
test/libpthread/join_leak_d.c
54
pthread_t thread;
test/libpthread/join_leak_d.c
66
if ((error = pthread_create(&thread, NULL, thread_entry, NULL))
test/libpthread/join_leak_d.c
72
if ((error = pthread_join(thread, NULL)) != 0) {
usr.bin/vknet/vknet.c
189
pthread_create(&stream1.thread, NULL, vknet_stream, &stream1);
usr.bin/vknet/vknet.c
190
pthread_create(&stream2.thread, NULL, vknet_stream, &stream2);
usr.bin/vknet/vknet.c
192
pthread_join(stream1.thread, NULL);
usr.bin/vknet/vknet.c
193
pthread_join(stream2.thread, NULL);
usr.bin/vknet/vknet.c
268
pthread_cancel(stream->other->thread);
usr.bin/vknet/vknet.h
73
pthread_t thread;
usr.sbin/makefs/hammer2/hammer2_admin.c
72
static struct thread dummy_td;
usr.sbin/makefs/hammer2/hammer2_admin.c
73
struct thread *curthread = &dummy_td;
usr.sbin/makefs/hammer2/hammer2_compat.h
144
typedef struct thread *thread_t;
usr.sbin/makefs/hammer2/hammer2_compat.h
145
extern struct thread *curthread;
usr.sbin/makefs/hammer2/hammer2_compat.h
466
struct thread *uio_td;
usr.sbin/makefs/hammer2/hammer2_compat.h
677
int (*waitoutput)(struct m_vnode *, struct thread *))