| /xnu-10002.1.13/osfmk/kern/ |
| H A D | mk_sp.c | 73 thread_t thread, in thread_set_policy() 184 thread_t thread, in thread_policy()
|
| H A D | sched_clutch.h | 45 #define SCHED_CLUTCH_THREAD_ELIGIBLE(thread) ((thread->bound_processor) == PROCESSOR_NULL) argument 48 #define SCHED_CLUTCH_THREAD_CLUSTER_BOUND(thread) (thread->th_bound_cluster_id != THREAD_BOUN… argument 49 #define SCHED_CLUTCH_THREAD_CLUSTER_BOUND_SOFT(thread) ((thread->sched_flags & TH_SFLAG_BOUND_SOFT… argument 52 #define SCHED_CLUTCH_THREAD_CLUSTER_BOUND(thread) (0) argument 53 #define SCHED_CLUTCH_THREAD_CLUSTER_BOUND_SOFT(thread) (0) argument
|
| H A D | ux_handler.c | 174 mach_port_t thread, in catch_exception_raise() 230 __unused mach_port_t thread, in catch_exception_raise_state_identity() 247 __unused mach_port_t thread, in catch_mach_exception_raise_state_identity()
|
| H A D | telemetry.c | 102 thread_t thread; member 368 telemetry_is_active(thread_t thread) in telemetry_is_active() 484 thread_t thread = current_thread(); in telemetry_mark_curthread() local 533 telemetry_ast(thread_t thread, ast_t reasons) in telemetry_ast() 593 telemetry_take_sample(thread_t thread, enum micro_snapshot_flags flags) in telemetry_take_sample() 655 telemetry_macf_take_sample(thread_t thread, enum micro_snapshot_flags flags) in telemetry_macf_take_sample() 798 thread_t thread = target->thread; in telemetry_process_sample() local 1371 thread_t thread = current_thread(); in telemetry_macf_mark_curthread() local
|
| H A D | arcade.c | 84 arcade_prepare(task_t task, thread_t thread) in arcade_prepare() 270 arcade_ast(__unused thread_t thread) in arcade_ast()
|
| H A D | sfi.c | 740 sfi_thread_classify(thread_t thread) in sfi_thread_classify() 874 sfi_thread_needs_ast(thread_t thread, sfi_class_id_t *out_class) in sfi_thread_needs_ast() 968 sfi_ast(thread_t thread) in sfi_ast() 1039 sfi_reevaluate(thread_t thread) in sfi_reevaluate() 1169 sfi_thread_classify(thread_t thread) in sfi_thread_classify()
|
| H A D | locks.c | 672 thread_t thread, in hw_lock_to_internal() 695 thread_t thread = current_thread(); variable 709 thread_t thread = current_thread(); variable 726 thread_t thread = current_thread(); variable 742 thread_t thread = current_thread(); variable 768 thread_t thread = current_thread(); variable 781 thread_t thread = current_thread(); variable 834 thread_t thread, holder; in hw_lock_assert() local 1939 #define GATE_THREAD_TO_STATE(thread) ((uintptr_t)(thread)) argument 1988 thread_t thread = current_thread(); in gate_try_close() local [all …]
|
| H A D | recount.c | 454 thread_t thread = current_thread(); in recount_current_thread_usage() local 479 recount_thread_perf_level_usage(struct thread *thread, in recount_thread_perf_level_usage() 495 thread_t thread = current_thread(); in recount_current_thread_perf_level_usage() local 517 thread_t thread = current_thread(); in recount_current_thread_energy_nj() local 541 recount_thread_times(struct thread *thread) in recount_thread_times() 552 recount_thread_time_mach(struct thread *thread) in recount_thread_time_mach() 591 recount_thread_usage(thread_t thread, struct recount_usage *usage) in recount_thread_usage() 753 recount_absorb_snap(struct recount_snap *to_add, thread_t thread, task_t task, in recount_absorb_snap() 949 thread_t thread = processor->active_thread; in recount_kernel_transition() local 1072 thread_t thread = task_findtid(task, tid); in recount_task_thread_perf_level_usage() local
|
| H A D | processor.c | 387 processor_state_update_running_foreign(processor_t processor, thread_t thread) in processor_state_update_running_foreign() 411 processor_state_update_running_cluster_shared_rsrc(processor_t processor, thread_t thread) in processor_state_update_running_cluster_shared_rsrc() 450 processor_state_update_from_thread(processor_t processor, thread_t thread, boolean_t pset_lock_held) in processor_state_update_from_thread() 794 thread_t thread; in processor_startup() local 1304 thread_t thread; in processor_set_things() local 1655 recommended_pset_type(thread_t thread) in recommended_pset_type()
|
| /xnu-10002.1.13/bsd/pthread/ |
| H A D | pthread_shims.c | 181 thread_t thread = uth ? get_machthread(uth) : current_thread(); in proc_usynch_get_requested_thread_qos() local 204 thread_t thread = uth ? get_machthread(uth) : THREAD_NULL; in proc_usynch_thread_qos_add_override_for_resource() local 214 thread_t thread = uth ? get_machthread(uth) : THREAD_NULL; in proc_usynch_thread_qos_remove_override_for_resource() local 490 kdp_pthread_find_owner(thread_t thread, struct stackshot_thread_waitinfo *waitinfo) in kdp_pthread_find_owner() 498 kdp_pthread_get_thread_kwq(thread_t thread) in kdp_pthread_get_thread_kwq() 508 thread_will_park_or_terminate(__unused thread_t thread) in thread_will_park_or_terminate()
|
| /xnu-10002.1.13/osfmk/kdp/ml/x86_64/ |
| H A D | kdp_vm.c | 77 kern_collect_userth_state(task_t task __unused, thread_t thread, void *buffer, uint64_t size) in kern_collect_userth_state() 102 kern_collectth_state(thread_t thread, void *buffer, uint64_t size, void ** iter) in kern_collectth_state()
|
| /xnu-10002.1.13/libsyscall/mach/ |
| H A D | ms_thread_switch.c | 68 mach_port_t thread, in thread_switch()
|
| H A D | exc_catcher.c | 45 mach_port_t thread, in internal_catch_exception_raise()
|
| /xnu-10002.1.13/tests/ |
| H A D | exc_resource_threads.c | 30 mach_port_t thread, in catch_mach_exception_raise() 63 mach_port_t thread, in catch_mach_exception_raise_state_identity()
|
| H A D | exc_helpers.c | 117 mach_port_t thread, in catch_mach_exception_raise() 185 mach_port_t thread, in catch_mach_exception_raise_state_identity() 260 mach_port_t thread = mach_thread_self(); in create_exception_port_behavior64() local
|
| H A D | thread_group_set_32261625.c | 23 pthread_t thread; variable
|
| H A D | fp_exception.c | 62 __unused mach_port_t thread, in exc_arithmetic_handler()
|
| H A D | reply_port_defense.c | 68 mach_port_t thread, in catch_mach_exception_raise_state_identity() 86 mach_port_t thread, in catch_mach_exception_raise()
|
| /xnu-10002.1.13/osfmk/arm64/ |
| H A D | sleh.c | 527 thread_t thread = current_thread(); in thread_exception_return() local 550 task_vtimer_check(thread_t thread) in task_vtimer_check() 601 thread_t thread = current_thread(); in sleh_synchronous() local 1363 thread_t thread = current_thread(); in handle_sw_step_debug() local 1397 thread_t thread = current_thread(); in handle_user_abort() local 1528 thread_t thread) in handle_kernel_abort_recover() 1547 thread_t thread = current_thread(); in handle_kernel_abort() local 1689 thread_t thread = current_thread(); in handle_svc() local 2075 thread_t thread; in thread_syscall_return() local 2137 thread_t thread = current_thread(); in sleh_invalid_stack() local
|
| /xnu-10002.1.13/osfmk/i386/ |
| H A D | panic_hooks.c | 42 thread_t thread; member 94 thread_t thread = current_thread(); in panic_check_hook() local
|
| /xnu-10002.1.13/osfmk/kperf/ |
| H A D | action.c | 428 thread_t thread = current_thread(); in kperf_kdebug_handler() local 488 kperf_thread_ast_handler(thread_t thread) in kperf_thread_ast_handler() 527 kperf_ast_pend(thread_t thread, uint32_t set_flags, unsigned int set_actionid) in kperf_ast_pend() 553 kperf_ast_set_callstack_depth(thread_t thread, uint32_t depth) in kperf_ast_set_callstack_depth()
|
| /xnu-10002.1.13/tools/lldbmacros/ |
| H A D | userspace.py | 34 def ShowX86UserStack(thread, user_lib_info = None): argument 103 def ShowARM64UserStack(thread, user_lib_info = None): argument
|
| /xnu-10002.1.13/tests/ipc/ |
| H A D | mach_exc_port_substitute.c | 57 __unused mach_port_t thread, in catch_mach_exception_raise_state_identity() 94 __unused mach_port_t thread, in catch_mach_exception_raise()
|
| /xnu-10002.1.13/osfmk/arm/ |
| H A D | pal_routines.h | 43 #define pal_ast_check(thread) argument
|
| /xnu-10002.1.13/bsd/kern/ |
| H A D | mach_loader.c | 449 thread_t thread, in load_machfile() 767 thread_t thread, in parse_machfile() 2635 thread_t thread, in load_main() 2709 thread_t thread, in setup_driver_main() 2757 thread_t thread, in load_unixthread() 2833 thread_t thread, in load_threadstate() 2896 thread_t thread, in load_threadstack() 2951 thread_t thread, in load_threadentry() 3038 thread_t thread, in load_dylinker() 3224 thread_t thread, in load_rosetta()
|