| /xnu-11215/bsd/dev/dtrace/ |
| H A D | systrace.c | 174 uthread_t uthread = current_uthread(); in dtrace_systrace_syscall() 208 uthread_t uthread = current_uthread(); in dtrace_systrace_syscall() 292 uthread_t uthread = current_uthread(); in dtrace_systrace_syscall_return() 700 uthread_t uthread = current_uthread(); in dtrace_machtrace_syscall() 985 uthread_t uthread = current_uthread(); in systrace_getargval() 1009 uthread_t uthread = current_uthread(); in systrace_getargdesc() 1039 uthread_t uthread = current_uthread(); in machtrace_getarg()
|
| H A D | fbt_blacklist.c | 134 CLOSURE(current_uthread)
|
| /xnu-11215/bsd/dev/arm64/ |
| H A D | dtrace_subr_arm.c | 58 uthread_t uthread = current_uthread(); in dtrace_user_probe()
|
| H A D | fasttrap_isa.c | 942 uthread_t uthread = current_uthread(); 1132 uthread_t uthread = current_uthread();
|
| /xnu-11215/bsd/dev/i386/ |
| H A D | dtrace_subr_x86.c | 77 uthread_t uthread = current_uthread(); in dtrace_user_probe()
|
| H A D | fasttrap_isa.c | 966 uthread_t uthread = current_uthread(); in fasttrap_pid_probe32() 1529 uthread_t uthread = current_uthread(); in fasttrap_pid_probe64() 2179 uthread_t uthread = current_uthread(); in fasttrap_return_probe()
|
| /xnu-11215/bsd/vfs/ |
| H A D | doc_tombstone.c | 51 ut = current_uthread(); in doc_tombstone_get()
|
| /xnu-11215/bsd/security/audit/ |
| H A D | audit.h | 302 #define AUDIT_RECORD() (current_uthread()->uu_ar) 378 struct uthread *__uthread = current_uthread(); \
|
| H A D | audit_private.h | 327 #define curthread() current_uthread()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_debug.c | 128 uthread_t ut = current_uthread(); in debug_syscall_rejection_handle() 241 uthread_t ut = current_uthread(); in sys_debug_syscall_reject_config()
|
| H A D | kern_sig.c | 794 ut = current_uthread(); in sigprocmask() 839 ut = current_uthread(); in sigpending() 873 ut = current_uthread(); in sigsuspend_nocancel() 898 uth = current_uthread(); in __disable_threadsignal() 1153 ut = current_uthread(); in __pthread_sigmask() 1216 ut = current_uthread(); in __sigwait_nocancel() 1310 uth = current_uthread(); in sigaltstack() 3076 ut = current_uthread(); in postsig_locked()
|
| H A D | sys_generic.c | 1205 ut = current_uthread(); in pselect_nocancel() 1276 struct uthread *uth = current_uthread(); in select_internal() 1357 struct uthread *uth = current_uthread(); in selprocess() 2026 uthread_t uth = current_uthread(); in seldrop_locked() 2107 struct select_set *selset = current_uthread()->uu_selset; in selrecord()
|
| H A D | kern_fork.c | 935 uthread_t parent_uthread = current_uthread(); in forkproc() 1303 uthread_t uth_parent = current_uthread(); in uthread_init()
|
| H A D | kern_event.c | 620 struct uthread *uth = current_uthread(); in knote_lock_slow() 5305 switch (current_uthread()->syscall_code) { 5444 assert(uth == current_uthread()); 7811 workq_threadreq_t kqr = current_uthread()->uu_kqr_bound; 7944 uthread_t ut = current_uthread(); 8093 UU_KEVENT_HISTORY_WRITE_ENTRY(current_uthread(), { 8272 uthread_t uth = current_uthread(); 8363 uthread_t uth = current_uthread(); 8407 uthread_t uth = current_uthread(); 8498 uthread_t uth = current_uthread(); [all …]
|
| H A D | tty.c | 1073 ut = current_uthread(); in ttioctl_locked() 2115 ut = current_uthread(); in ttread() 2434 ut = current_uthread(); in ttycheckoutq() 2476 ut = current_uthread(); in ttwrite() 3494 uthread_t uth = current_uthread(); in filt_ttyattach()
|
| H A D | kern_exec.c | 2846 struct uthread *uthread = current_uthread(); in exec_handle_file_actions() 3673 uthread_set_exec_data(current_uthread(), imgp); in posix_spawn() 3899 uthread = current_uthread(); in posix_spawn() 4771 uthread_set_exec_data(current_uthread(), NULL); in posix_spawn() 5026 uthread_t old_uthread = current_uthread(); in proc_exec_switch_task() 5275 uthread_set_exec_data(current_uthread(), imgp); in __mac_execve() 5285 uthread = current_uthread(); in __mac_execve() 5541 uthread_set_exec_data(current_uthread(), NULL); in __mac_execve() 7535 struct uthread *uth = current_uthread(); in thread_get_current_exec_path()
|
| H A D | kern_exit.c | 2146 uth = current_uthread(); in proc_exit() 2921 uth = current_uthread(); in wait4_nocancel() 2984 uth = current_uthread(); in wait4_nocancel() 3066 uth = current_uthread(); in wait4_nocancel() 3358 uth = current_uthread(); in waitid_nocancel()
|
| H A D | kern_aio.c | 1540 uthreadp = (struct uthread *) current_uthread(); in aio_work_thread() 2182 return current_uthread()->uu_aio_task; in get_aiotask()
|
| H A D | bsd_init.c | 572 ut = current_uthread(); in bsd_init()
|
| H A D | kern_proc.c | 560 uth = current_uthread(); in record_procref() 616 uthread_t uth = current_uthread(); in proc_ref_wait() 707 assert(current_uthread()->uu_proc_refcount >= 1); in proc_ref_needs_wait_for_exec() 708 return current_uthread()->uu_proc_refcount == 1; in proc_ref_needs_wait_for_exec() 1672 current_uthread(void) in current_uthread() function
|
| H A D | sys_ulock.c | 854 uthread_t uthread = current_uthread(); in ulock_wait_continue()
|
| /xnu-11215/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 1774 *ut = current_uthread(); in throttle_get_io_policy() 1784 *ut = current_uthread(); in throttle_get_passive_io_policy() 1919 uthread_t ut = current_uthread(); in throttle_io_will_be_throttled() 1971 ut = current_uthread(); in throttle_lowpri_io() 2131 uthread_t ut = current_uthread(); in throttle_lowpri_io_will_be_throttled() 2196 ut = current_uthread(); in throttle_info_reset_window() 2300 ut = current_uthread(); in throttle_info_update_internal() 2356 ut = current_uthread(); in throttle_info_update_by_mount() 2506 return current_uthread()->uu_lowpri_window; in throttle_lowpri_window() 3014 uthread_t uth = current_uthread(); in filt_spec_common()
|
| /xnu-11215/bsd/pthread/ |
| H A D | pthread_workqueue.c | 622 assert(uth == current_uthread()); in workq_thread_update_bucket() 666 assert(uth == current_uthread()); in workq_thread_reset_cpupercent() 832 struct uthread *uth = current_uthread(); in workq_thread_set_max_qos() 3091 uth = current_uthread(); in workq_kern_threadreq_initiate() 3435 assert(uth == current_uthread()); in workq_kern_bound_thread_park() 3476 assert(uth == current_uthread()); in workq_kern_bound_thread_terminate() 3877 assert(uth == current_uthread()); in workq_park_and_unlock()
|
| H A D | pthread_shims.c | 368 uthread_t uth = current_uthread(); in bsdthread_terminate()
|
| /xnu-11215/bsd/vm/ |
| H A D | vnode_pager.c | 86 if (current_uthread()->uu_lowpri_window) { in vnode_pager_throttle()
|