/freebsd-current/sys/arm64/include/ |
H A D | csan.h | 84 if (!unwind_frame(curthread, &frame))
|
H A D | stack.h | 45 struct thread *td = curthread; \
|
/freebsd-current/sys/arm/include/ |
H A D | stack.h | 70 struct thread *td = curthread; \
|
/freebsd-current/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_core.h | 45 (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 D | stack.h | 55 struct thread *td = curthread; \
|
H A D | pcpu.h | 76 #define curthread get_curthread() macro
|
/freebsd-current/sys/x86/x86/ |
H A D | stack_machdep.c | 99 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 D | tst.printm.ksh | 25 printm(100, memref(curthread, 10));
|
H A D | tst.tracemem.ksh | 25 tracemem(curthread, 10);
|
/freebsd-current/lib/libthr/thread/ |
H A D | thr_sleepq.c | 80 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 D | thr_init.c | 305 * 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 D | linux_util.h | 136 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 D | rrwlock.c | 175 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 D | QatUtilsServices.c | 103 sched_relinquish(curthread); 111 sched_relinquish(curthread);
|
/freebsd-current/sys/security/mac_veriexec_parser/ |
H A D | mac_veriexec_parser.c | 270 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 D | gdb_machdep.c | 54 if (kdb_thread == curthread) { 97 if (kdb_thread != curthread)
|
/freebsd-current/sys/dev/random/ |
H A D | nehemiah.c | 81 fpu_kern_enter(curthread, NULL, FPU_KERN_NORMAL | FPU_KERN_NOCTX); 88 fpu_kern_leave(curthread, NULL);
|
/freebsd-current/sys/arm64/arm64/ |
H A D | gdb_machdep.c | 52 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 D | bman.c | 277 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 D | sched.h | 95 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 D | copyinout.c | 168 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 D | pcpu.h | 225 #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 D | xen_arch_intr.c | 94 ++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 D | dtrace_isa.c | 78 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 D | fuse_vnops.c | 281 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...] |