/freebsd-9.3-release/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_zone.c | 164 if (INGLOBALZONE(curthread)) { 169 pr = curthread->td_ucred->cr_prison; 238 return ((uint32_t)curthread->td_ucred->cr_prison->pr_hostid);
|
/freebsd-9.3-release/sys/compat/ndis/ |
H A D | subr_hal.c | 375 if (mtx_owned(&disp_lock[curthread->td_oncpu])) 403 mtx_lock(&disp_lock[curthread->td_oncpu]); 419 mtx_unlock(&disp_lock[curthread->td_oncpu]);
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_cpu.c | 331 thread_lock(curthread); 332 sched_bind(curthread, pc->pc_cpuid); 333 thread_unlock(curthread); 337 thread_lock(curthread); 338 sched_unbind(curthread); 339 thread_unlock(curthread); 355 thread_lock(curthread); 356 sched_bind(curthread, pc->pc_cpuid); 357 thread_unlock(curthread); 361 thread_lock(curthread); [all...] |
H A D | kern_rangelock.c | 150 if (curthread->td_rlqe == NULL) 151 curthread->td_rlqe = entry; 206 td = curthread;
|
H A D | subr_sleepqueue.c | 288 td = curthread; 365 td = curthread; 406 td = curthread; 496 td = curthread; 553 td = curthread; 592 td = curthread; 615 td = curthread; 634 thread_unlock(curthread); 650 td = curthread; 672 thread_unlock(curthread); [all...] |
H A D | kern_clock.c | 431 struct thread *td = curthread; 460 PMC_CALL_HOOK_UNLOCKED(curthread, PMC_FN_DO_SAMPLES, NULL); 500 struct thread *td = curthread; 550 PMC_CALL_HOOK_UNLOCKED(curthread, PMC_FN_DO_SAMPLES, NULL); 718 td = curthread; 797 td = curthread;
|
H A D | subr_firmware.c | 252 struct thread *td = curthread; 311 td = curthread; 380 struct thread *td = curthread;
|
H A D | kern_gzio.c | 170 NOCRED, &resid, curthread))) { 238 curproc->p_ucred, NOCRED, &resid, curthread); 295 NOCRED, &resid, curthread); 354 NOCRED, &resid, curthread);
|
/freebsd-9.3-release/sys/rpc/ |
H A D | svc_generic.c | 249 curthread)) { 255 solisten(so, SOMAXCONN, curthread); 263 solisten(so, (int)bindaddr->qlen, curthread); local
|
/freebsd-9.3-release/sys/dev/netmap/ |
H A D | netmap_freebsd.c | 544 if (curthread != priv->np_td) { /* should not happen */ 545 RD(5, "curthread changed %p %p", curthread, priv->np_td); 548 revents = netmap_poll((void *)priv, events, curthread); 615 na, na->ifp->if_xname, curthread, priv, kn, 617 kn->kn_fp == curthread->td_fpop ? "match" : "MISMATCH");
|
/freebsd-9.3-release/sys/fs/nwfs/ |
H A D | nwfs_vfsops.c | 162 td = curthread; 248 td = curthread; 285 td = curthread; 292 while (vget(*vpp, LK_EXCLUSIVE, curthread) != 0) 413 struct thread *td = curthread;
|
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_private.h | 653 #define THR_REF_ADD(curthread, pthread) { \ 654 THR_CRITICAL_ENTER(curthread); \ 658 #define THR_REF_DEL(curthread, pthread) { \ 660 THR_CRITICAL_LEAVE(curthread); \ 736 void _mutex_fork(struct pthread *curthread) __hidden; 772 void _thr_report_creation(struct pthread *curthread, 774 void _thr_report_death(struct pthread *curthread) __hidden;
|
H A D | thr_attr.c | 141 struct pthread *curthread; local 153 curthread = _get_curthread(); 154 if ((ret = _thr_find_thread(curthread, pthread, /*include dead*/0)) != 0) 163 THR_THREAD_UNLOCK(curthread, pthread);
|
/freebsd-9.3-release/sys/cam/ctl/ |
H A D | ctl_backend_block.c | 536 error = VOP_FSYNC(be_lun->vn, MNT_WAIT, curthread); 594 xuio.uio_td = curthread; 1200 error = VOP_GETATTR(be_lun->vn, &vattr, curthread->td_ucred); 1224 file_data->cred = crhold(curthread->td_ucred); 1307 curthread); 1351 curthread); 1374 (caddr_t)&ps, FREAD, curthread); 1379 (caddr_t)&po, FREAD, curthread); 1421 (void)vn_close(be_lun->vn, flags, NOCRED, curthread); 1467 if (!curthread [all...] |
/freebsd-9.3-release/sys/dev/usb/ |
H A D | usb_process.c | 106 td = curthread; 395 if (up->up_curtd == curthread) { 506 return (up->up_curtd == curthread);
|
/freebsd-9.3-release/sys/fs/nullfs/ |
H A D | null_vfsops.c | 79 struct thread *td = curthread; 122 NDINIT(ndp, LOOKUP, FOLLOW|LOCKLEAF, UIO_SYSSPACE, target, curthread); 238 error = vflush(mp, 1, flags, curthread);
|
/freebsd-9.3-release/sys/mips/mips/ |
H A D | machdep.c | 264 * Initialize per cpu data structures, include curthread. 271 PCPU_SET(curthread, &thread0); 461 td = curthread; 477 td = curthread;
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | cred.h | 52 #define CRED() curthread->t_cred
|
/freebsd-9.3-release/sys/cddl/dev/dtrace/i386/ |
H A D | dtrace_isa.c | 215 if (p == NULL || (tf = curthread->td_frame) == NULL) 266 if (p == NULL || (tf = curthread->td_frame) == NULL) 317 if (p == NULL || (tf = curthread->td_frame) == NULL) 520 if ((pcb = curthread->td_pcb) == NULL) {
|
/freebsd-9.3-release/sys/fs/hpfs/ |
H A D | hpfs_vfsops.c | 116 td = curthread; 348 error = vflush(mp, 0, flags, curthread); 453 error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL); 509 error = vfs_hash_insert(vp, ino, flags, curthread, vpp, NULL, NULL);
|
/freebsd-9.3-release/sys/fs/smbfs/ |
H A D | smbfs_vfsops.c | 151 td = curthread; 285 td = curthread; 340 td = curthread; 409 struct thread *td = curthread;
|
/freebsd-9.3-release/sys/kgssapi/ |
H A D | gss_init_sec_context.c | 73 args.uid = curthread->td_ucred->cr_uid;
|
/freebsd-9.3-release/sys/net/ |
H A D | bpfdesc.h | 116 #define BPF_PID_REFRESH_CUR(bd) (bd)->bd_pid = curthread->td_proc->p_pid
|
H A D | vnet.h | 115 #define curvnet curthread->td_vnet 139 const char *saved_vnet_lpush = curthread->td_vnet_lpush; \ 141 curthread->td_vnet_lpush = __func__; 156 curthread->td_vnet_lpush = saved_vnet_lpush;
|
/freebsd-9.3-release/sys/net80211/ |
H A D | ieee80211_alq.c | 82 curthread->td_ucred,
|