| /xnu-10063.101.15/osfmk/kern/ |
| H A D | thread_act.c | 119 if (task_is_hardened_binary(get_threadtask(thread)) in thread_set_state_allowed() 123 && !task_is_translated(get_threadtask(thread)) /* Ignore translated tasks */ in thread_set_state_allowed() 136 if (task_is_pac_exception_fatal(get_threadtask(thread)) in thread_set_state_allowed() 139 && !task_is_translated(get_threadtask(thread)) /* Ignore translated tasks */ in thread_set_state_allowed() 273 task = get_threadtask(thread); in thread_terminate() 334 task = get_threadtask(thread); in thread_terminate_pinned() 400 if (thread == THREAD_NULL || get_threadtask(thread) == kernel_task) { in thread_suspend() 428 if (thread == THREAD_NULL || get_threadtask(thread) == kernel_task) { in thread_resume() 1214 task = get_threadtask(thread); in thread_raise_exception()
|
| H A D | affinity.c | 130 task_t task = get_threadtask(thread); in thread_affinity_set() 335 assert(aspc == get_threadtask(parent)->affinity_space); in thread_affinity_dup() 336 assert(aspc == get_threadtask(child)->affinity_space); in thread_affinity_dup()
|
| H A D | extmod_statistics.c | 98 ttask = get_threadtask(target); in extmod_statistics_incr_thread_set_state()
|
| H A D | thread_policy.c | 523 if (get_threadtask(thread) != current_task()) { in thread_policy_set_internal() 977 task_t task = get_threadtask(thread); in thread_update_qos_cpu_time_locked() 1266 sched_mode_t newmode = SCHED(initial_thread_sched_mode)(get_threadtask(thread)); in thread_policy_reset() 1631 const struct task_effective_policy task_effective = get_threadtask(thread)->effective_policy; in thread_policy_update_internal_spinlocked() 1977 proc_apply_task_networkbg(task_pid(get_threadtask(thread)), thread); in thread_policy_update_complete_unlocked() 2398 get_threadtask(thread)->effective_policy.tep_all_sockets_bg) ? 1 : 0; in proc_get_effective_thread_policy() 2513 return *(uintptr_t*)&get_threadtask(thread)->requested_policy; in threquested_1() 2533 return *(uintptr_t*)&get_threadtask(thread)->effective_policy; in theffective_1() 2826 assert(get_threadtask(thread) == task); in proc_thread_qos_add_override() 2921 assert(task == get_threadtask(thread)); in proc_thread_qos_remove_override() [all …]
|
| H A D | telemetry.c | 368 task_t task = get_threadtask(thread); in telemetry_is_active() 605 task = get_threadtask(thread); in telemetry_take_sample() 683 task = get_threadtask(thread); in telemetry_macf_take_sample() 822 task = get_threadtask(thread); in telemetry_process_sample() 1368 task_t task = get_threadtask(thread); in telemetry_macf_mark_curthread()
|
| H A D | sfi.c | 742 task_t task = get_threadtask(thread); in sfi_thread_classify() 953 ledger_credit(get_threadtask(self)->ledger, in _sfi_wait_cleanup() 1171 task_t task = get_threadtask(thread); in sfi_thread_classify()
|
| H A D | ast.c | 161 task_t task = get_threadtask(thread); in ast_taken_user()
|
| H A D | bsd_kern.c | 214 task_t task = get_threadtask(th); in thread_task_has_ldt() 433 if (task != get_threadtask(thread)) { in swap_task_map() 804 get_threadtask(thread_t th) in get_threadtask() function 817 return get_threadtask(th); in get_threadtask_early()
|
| H A D | priority.c | 143 recount_switch_thread(&snap, thread, get_threadtask(thread)); in thread_quantum_expire() 230 if (get_threadtask(thread) == kernel_task) { in thread_quantum_expire() 588 if (get_threadtask(thread)->max_priority > MAXPRI_THROTTLE) { in sched_compute_timeshare_priority()
|
| H A D | exception.c | 269 task = get_threadtask(thread); in exception_deliver() 908 ip_in_space_noauth(xport, get_threadtask(thread)->itk_space)) { in sys_perf_notify()
|
| H A D | processor.c | 1382 task = get_threadtask(thread); in processor_set_things() 1441 task = get_threadtask(thread_list[i]); in processor_set_things() 1665 task_t task = get_threadtask(thread); in recommended_pset_type() 1697 if (get_threadtask(thread) == kernel_task) { in recommended_pset_type()
|
| H A D | thread.c | 797 task = get_threadtask(thread); in thread_deallocate_complete() 1027 task_t task = get_threadtask(thread); in thread_terminate_queue_invoke() 2436 if (get_threadtask(thread) == kernel_task) { in thread_guard_violation() 2757 task_t task = get_threadtask(thread); in thread_update_io_stats() 3220 task = get_threadtask(thread); in thread_dispatchqaddr() 3248 task = get_threadtask(thread); in thread_wqquantum_addr() 3276 task = get_threadtask(thread); in thread_rettokern_addr() 3630 task_t task = get_threadtask(thread); in thread_supports_cooperative_workqueue()
|
| H A D | thread.h | 1537 extern task_t get_threadtask(thread_t) __pure2; 1545 task_has_64Bit_addr(get_threadtask(thd)) 1551 task_has_64Bit_data(get_threadtask(thd))
|
| /xnu-10063.101.15/osfmk/kperf/ |
| H A D | lazy.c | 100 task_t task = get_threadtask(thread); in kperf_lazy_wait_sample() 147 task_t task = get_threadtask(thread); in kperf_lazy_cpu_sample()
|
| H A D | kperf.c | 209 int pid = task_pid(get_threadtask(thread)); in kperf_on_cpu_internal()
|
| H A D | action.c | 449 task_t task = get_threadtask(thread); in kperf_kdebug_handler() 510 task_t task = get_threadtask(thread); in kperf_thread_ast_handler()
|
| H A D | thread_samplers.c | 298 task_t task = get_threadtask(thread); in kperf_thread_dispatch_sample()
|
| H A D | callstack.c | 74 (void)vm_map_read_user(get_task_map(get_threadtask(thread)), sp_user, in callstack_fixup_user() 582 task = get_threadtask(thread); in chudxnu_thread_get_callstack64_internal() 1191 task_t task = get_threadtask(thread);
|
| /xnu-10063.101.15/bsd/kern/ |
| H A D | kern_fork.c | 324 child_proc = (proc_t)(get_bsdtask_info(get_threadtask(child_thread))); in fork1() 374 task_bank_init(get_threadtask(child_thread)); in fork1() 586 child_task = (task_t)get_threadtask(child_thread); in fork() 597 ipc_task_enable(get_threadtask(child_thread)); in fork() 629 task_clear_return_wait(get_threadtask(child_thread), TCRW_CLEAR_ALL_WAIT); in fork() 722 child_task = get_threadtask(child_thread); in cloneproc()
|
| H A D | kern_exec.c | 1329 task = new_task = get_threadtask(thread); in exec_mach_imgact() 2569 task_t task = get_threadtask(imgp->ip_new_thread); in exec_handle_port_actions() 2764 task_t task = get_threadtask(imgp->ip_new_thread); in exec_handle_exception_port_actions() 3975 new_task = get_threadtask(imgp->ip_new_thread); in posix_spawn() 4029 new_task = get_threadtask(imgp->ip_new_thread); in posix_spawn() 4614 task_clear_return_wait(get_threadtask(imgp->ip_new_thread), TCRW_CLEAR_INITIAL_WAIT); in posix_spawn() 4883 task_clear_return_wait(get_threadtask(imgp->ip_new_thread), clearwait_flags); in posix_spawn() 4953 assert(get_threadtask(new_thread) == new_task); in proc_exec_switch_task() 5243 new_task = get_threadtask(imgp->ip_new_thread); in __mac_execve() 5270 new_task = get_threadtask(imgp->ip_new_thread); in __mac_execve() [all …]
|
| H A D | bsd_init.c | 1196 ipc_task_enable(get_threadtask(thread)); in bsd_utaskbootstrap() 1198 task_clear_return_wait(get_threadtask(thread), TCRW_CLEAR_ALL_WAIT); in bsd_utaskbootstrap()
|
| /xnu-10063.101.15/osfmk/i386/ |
| H A D | pcb_native.c | 469 bool save_old = (old != NULL && get_threadtask(old) != kernel_task); in i386_switch_lbrs() 470 bool restore_new = (get_threadtask(new) != kernel_task); in i386_switch_lbrs() 599 if ((pcb->cthread_self != 0) || (get_threadtask(new) != kernel_task)) { in act_machine_switch_pcb() 892 if (get_threadtask(thread) == kernel_task) { in machine_thread_set_tsd_base()
|
| H A D | user_ldt.c | 401 task_t task = get_threadtask(thread); in user_ldt_set()
|
| /xnu-10063.101.15/osfmk/arm/ |
| H A D | machine_routines_common.c | 448 recount_add_energy(old, get_threadtask(old), in machine_switch_perfcontrol_context() 486 recount_add_energy(thread, get_threadtask(thread), data.energy_estimate_nj); in machine_switch_perfcontrol_state_update() 516 on_core.is_kernel_thread = get_threadtask(new_thread) == kernel_task; in machine_thread_going_on_core()
|
| /xnu-10063.101.15/bsd/dev/dtrace/ |
| H A D | fbt_blacklist.c | 158 CRITICAL(get_threadtask)
|