Searched refs:curthread (Results 101 - 125 of 745) sorted by relevance

1234567891011>>

/freebsd-current/sys/arm64/include/
H A Dcsan.h84 if (!unwind_frame(curthread, &frame))
H A Dstack.h45 struct thread *td = curthread; \
/freebsd-current/sys/arm/include/
H A Dstack.h70 struct thread *td = curthread; \
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dmlx5_core.h45 (dev)->priv.name, __func__, __LINE__, curthread->td_proc->p_pid, \
56 __func__, __LINE__, curthread->td_proc->p_pid, \
61 __func__, __LINE__, curthread->td_proc->p_pid, \
66 __func__, __LINE__, curthread->td_proc->p_pid, \
/freebsd-current/sys/riscv/include/
H A Dstack.h55 struct thread *td = curthread; \
H A Dpcpu.h76 #define curthread get_curthread() macro
/freebsd-current/sys/x86/x86/
H A Dstack_machdep.c99 td = curthread;
114 if (TD_IS_RUNNING(td) && td != curthread)
117 if (td == curthread) {
173 stack_capture(curthread, st, fp);
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/oformat/
H A Dtst.printm.ksh25 printm(100, memref(curthread, 10));
H A Dtst.tracemem.ksh25 tracemem(curthread, 10);
/freebsd-current/lib/libthr/thread/
H A Dthr_sleepq.c80 struct pthread *curthread = _get_curthread(); local
84 THR_LOCK_ACQUIRE_SPIN(curthread, &sc->sc_lock);
91 struct pthread *curthread = _get_curthread(); local
94 THR_LOCK_RELEASE(curthread, &sc->sc_lock);
H A Dthr_init.c305 * been initialized (_thr_initial == NULL && curthread == NULL), or
308 * by curthread != NULL)
311 _libpthread_init(struct pthread *curthread) argument
316 if (_thr_initial != NULL && curthread == NULL)
333 if (curthread == NULL) {
336 curthread = _thr_alloc(NULL);
337 if (curthread == NULL)
339 init_main_thread(curthread);
347 THR_LIST_ADD(curthread);
351 _tcb_set(curthread
[all...]
/freebsd-current/sys/compat/linux/
H A Dlinux_util.h136 linux_msg(curthread, "%s is not tested, please report on emulation@FreeBSD.org how it works", _what); \
148 linux_msg(curthread, _message); \
160 linux_msg(curthread, _message, _opt1); \
172 linux_msg(curthread, _message, _opt1, _opt2); \
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Drrwlock.c175 ASSERT(rrl->rr_writer != curthread);
217 ASSERT(rrl->rr_writer != curthread);
226 rrl->rr_writer = curthread;
269 ASSERT(rrl->rr_writer == curthread);
290 held = (rrl->rr_writer == curthread);
306 (void *)curthread, (void *)rn->rn_rrl);
358 #define RRM_TD_LOCK() (((uint32_t)(uintptr_t)(curthread)) % RRM_NUM_LOCKS)
380 if (rrl->locks[0].rr_writer == curthread) {
/freebsd-current/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsServices.c103 sched_relinquish(curthread);
111 sched_relinquish(curthread);
/freebsd-current/sys/security/mac_veriexec_parser/
H A Dmac_veriexec_parser.c270 rc = VOP_GETATTR(nid.ni_vp, &va, curthread->td_ucred);
281 curthread->td_ucred, NOCRED, &resid, curthread);
291 (void)vn_close(nid.ni_vp, FREAD, curthread->td_ucred, curthread);
353 rc = VOP_GETATTR(nid.ni_vp, &va, curthread->td_ucred);
370 vn_close(nid.ni_vp, FREAD, curthread->td_ucred, curthread);
/freebsd-current/sys/arm/arm/
H A Dgdb_machdep.c54 if (kdb_thread == curthread) {
97 if (kdb_thread != curthread)
/freebsd-current/sys/dev/random/
H A Dnehemiah.c81 fpu_kern_enter(curthread, NULL, FPU_KERN_NORMAL | FPU_KERN_NOCTX);
88 fpu_kern_leave(curthread, NULL);
/freebsd-current/sys/arm64/arm64/
H A Dgdb_machdep.c52 if (kdb_thread == curthread) {
82 /* For curthread, keep the pcb and trapframe in sync. */
83 if (kdb_thread == curthread) {
/freebsd-current/sys/dev/dpaa/
H A Dbman.c277 thread_lock(curthread);
278 sched_bind(curthread, sc->sc_bpool_cpu[BM_POOL_GetId(pool)]);
279 thread_unlock(curthread);
283 thread_lock(curthread);
284 sched_unbind(curthread);
285 thread_unlock(curthread);
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dsched.h95 struct thread *__td = curthread; \
106 #define current_euid() (curthread->td_ucred->cr_uid)
128 #define cond_resched() do { if (!cold) sched_relinquish(curthread); } while (0)
131 #define sched_yield() sched_relinquish(curthread)
133 #define need_resched() (curthread->td_owepreempt || \
134 td_ast_pending(curthread, TDA_SCHED))
/freebsd-current/sys/powerpc/powerpc/
H A Dcopyinout.c168 td = curthread;
207 td = curthread;
247 td = curthread;
297 td = curthread;
325 td = curthread;
354 td = curthread;
389 td = curthread;
426 td = curthread;
454 td = curthread;
482 td = curthread;
[all...]
/freebsd-current/sys/sys/
H A Dpcpu.h225 #ifndef curthread
226 #define curthread PCPU_GET(curthread) macro
228 #define curproc (curthread->td_proc)
231 #define ZPCPU_ASSERT_PROTECTED() MPASS(curthread->td_critnest > 0)
/freebsd-current/sys/x86/xen/
H A Dxen_arch_intr.c94 ++curthread->td_intr_nesting_level;
95 old = curthread->td_intr_frame;
96 curthread->td_intr_frame = trap_frame;
100 curthread->td_intr_frame = old;
101 --curthread->td_intr_nesting_level;
/freebsd-current/sys/cddl/dev/dtrace/aarch64/
H A Ddtrace_isa.c78 if (!unwind_frame(curthread, &state))
183 if (p == NULL || (tf = curthread->td_frame) == NULL)
249 if ((tf = curthread->t_dtrace_trapframe) == NULL) {
264 if (!kstack_contains(curthread, p, sizeof(uint64_t))) {
289 done = !unwind_frame(curthread, &state);
/freebsd-current/sys/fs/fuse/
H A Dfuse_vnops.c281 struct thread *td = curthread;
472 struct thread *td = curthread;
596 pid_t pid = curthread->td_proc->p_pid;
624 err = vn_rlimit_fsize(vp, &io, curthread);
634 err = fuse_vnode_size(vp, &filesize, cred, curthread);
640 fdisp_make_vp(&fdi, FUSE_FALLOCATE, vp, curthread, cred);
661 fuse_internal_clear_suid_on_write(vp, cred, curthread);
685 struct thread *td = curthread;
881 td = curthread;
908 err = fuse_vnode_size(outvp, &outfilesize, outcred, curthread);
[all...]

Completed in 156 milliseconds

1234567891011>>