Searched refs:curthread (Results 226 - 250 of 639) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_zone.c164 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 Dsubr_hal.c375 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 Dkern_cpu.c331 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 Dkern_rangelock.c150 if (curthread->td_rlqe == NULL)
151 curthread->td_rlqe = entry;
206 td = curthread;
H A Dsubr_sleepqueue.c288 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 Dkern_clock.c431 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 Dsubr_firmware.c252 struct thread *td = curthread;
311 td = curthread;
380 struct thread *td = curthread;
H A Dkern_gzio.c170 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 Dsvc_generic.c249 curthread)) {
255 solisten(so, SOMAXCONN, curthread);
263 solisten(so, (int)bindaddr->qlen, curthread); local
/freebsd-9.3-release/sys/dev/netmap/
H A Dnetmap_freebsd.c544 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 Dnwfs_vfsops.c162 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 Dthr_private.h653 #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 Dthr_attr.c141 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 Dctl_backend_block.c536 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 Dusb_process.c106 td = curthread;
395 if (up->up_curtd == curthread) {
506 return (up->up_curtd == curthread);
/freebsd-9.3-release/sys/fs/nullfs/
H A Dnull_vfsops.c79 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 Dmachdep.c264 * 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 Dcred.h52 #define CRED() curthread->t_cred
/freebsd-9.3-release/sys/cddl/dev/dtrace/i386/
H A Ddtrace_isa.c215 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 Dhpfs_vfsops.c116 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 Dsmbfs_vfsops.c151 td = curthread;
285 td = curthread;
340 td = curthread;
409 struct thread *td = curthread;
/freebsd-9.3-release/sys/kgssapi/
H A Dgss_init_sec_context.c73 args.uid = curthread->td_ucred->cr_uid;
/freebsd-9.3-release/sys/net/
H A Dbpfdesc.h116 #define BPF_PID_REFRESH_CUR(bd) (bd)->bd_pid = curthread->td_proc->p_pid
H A Dvnet.h115 #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 Dieee80211_alq.c82 curthread->td_ucred,

Completed in 318 milliseconds

1234567891011>>