| /xnu-10063.141.1/osfmk/kern/ |
| H A D | affinity.c | 108 thread_affinity_get(thread_t thread) in thread_affinity_get() 128 thread_affinity_set(thread_t thread, uint32_t tag) in thread_affinity_set() 351 thread_affinity_terminate(thread_t thread) in thread_affinity_terminate() 372 thread_affinity_exec(thread_t thread) in thread_affinity_exec() 451 affinity_set_add(affinity_set_t aset, thread_t thread) in affinity_set_add() 471 affinity_set_remove(affinity_set_t aset, thread_t thread) in affinity_set_remove()
|
| H A D | ipc_tt.c | 779 thread_t thread, in ipc_thread_init() 831 ipc_main_thread_set_immovable_pinned(thread_t thread) in ipc_main_thread_set_immovable_pinned() 938 thread_t thread) in ipc_thread_disable() 992 thread_t thread) in ipc_thread_terminate() 1078 thread_t thread) in ipc_thread_reset() 1304 thread_t thread) in retrieve_thread_self_fast() 1409 thread_t thread = current_thread(); in thread_self_trap() local 1467 thread_t thread = current_thread(); in thread_get_special_reply_port() local 1502 thread_t thread = current_thread(); in thread_get_kernel_special_reply_port() local 1534 thread_t thread = current_thread(); in ipc_port_bind_special_reply_port_locked() local [all …]
|
| H A D | thread_kernel_state.h | 40 #define thread_get_kernel_state(thread) ((thread_kernel_state_t) \ argument 43 #define thread_initialize_kernel_state(thread) \ argument
|
| H A D | waitq.c | 536 waitq_thread_insert(struct waitq *safeq, thread_t thread, in waitq_thread_insert() 585 thread_clear_waitq_state(thread_t thread) in thread_clear_waitq_state() 597 waitq_thread_remove(waitq_t wq, thread_t thread) in waitq_thread_remove() 618 waitq_wait_possible(thread_t thread) in waitq_wait_possible() 812 thread_t thread, in maybe_adjust_thread_pri() 834 waitq_select_queue_add(waitq_t waitq, thread_t thread, struct waitq_select_args *args) in waitq_select_queue_add() 898 thread_t thread = THREAD_NULL; in waitq_select_queue_flush() local 995 thread_t thread = THREAD_NULL; in waitq_queue_iterate_locked() local 1062 thread_t thread; in waitq_prioq_iterate_locked() local 1318 thread_t thread) in waitq_assert_wait64_locked() [all …]
|
| H A D | sched_amp_common.c | 221 should_spill_to_ecores(processor_set_t nset, thread_t thread) in should_spill_to_ecores() 262 sched_amp_check_spill(processor_set_t pset, thread_t thread) in sched_amp_check_spill() 402 sched_amp_ipi_policy(processor_t dst, thread_t thread, boolean_t dst_idle, sched_ipi_event_t event) in sched_amp_ipi_policy() 487 sched_amp_choose_node(thread_t thread) in sched_amp_choose_node()
|
| H A D | sched_proto.c | 318 thread_t thread; in sched_proto_choose_thread() local 379 sched_proto_compute_priority(thread_t thread) in sched_proto_compute_priority() 408 thread_t thread, in sched_proto_processor_enqueue() 433 thread_t thread) in sched_proto_processor_queue_remove()
|
| H A D | startup.c | 426 thread_t thread; in kernel_bootstrap() local 854 thread_t thread; in slave_main() local 916 thread_t thread) in load_context()
|
| H A D | recount.c | 547 thread_t thread = current_thread(); in recount_current_thread_usage() local 572 recount_thread_perf_level_usage(struct thread *thread, in recount_thread_perf_level_usage() 588 thread_t thread = current_thread(); in recount_current_thread_perf_level_usage() local 610 thread_t thread = current_thread(); in recount_current_thread_energy_nj() local 634 recount_thread_times(struct thread *thread) in recount_thread_times() 645 recount_thread_time_mach(struct thread *thread) in recount_thread_time_mach() 684 recount_thread_usage(thread_t thread, struct recount_usage *usage) in recount_thread_usage() 693 thread_t thread = current_thread(); in recount_current_thread_interrupt_time_mach() local 853 recount_absorb_snap(struct recount_snap *to_add, thread_t thread, task_t task, in recount_absorb_snap() 1036 recount_assert_level(thread_t thread, recount_level_t old) in recount_assert_level() [all …]
|
| /xnu-10063.141.1/osfmk/arm/ |
| H A D | preemption_disable.c | 93 _enable_preemption_write_count(thread_t thread, unsigned int count) in _enable_preemption_write_count() 123 thread_t thread = current_thread(); in _disable_preemption() local 154 thread_t thread = current_thread(); in _disable_preemption_without_measurements() local 192 thread_t thread = current_thread(); in _enable_preemption() local 210 get_preemption_level_for_thread(thread_t thread) in get_preemption_level_for_thread() 345 thread_t thread = current_thread(); in _prepare_preemption_disable_measurement() local
|
| H A D | machine_routines_common.c | 304 thread_t thread, in machine_switch_populate_perfcontrol_thread_data() 384 sched_perfcontrol_thread_flags_update(thread_t thread, in sched_perfcontrol_thread_flags_update() 463 thread_t thread) in machine_switch_perfcontrol_state_update() 719 machine_work_interval_notify(thread_t thread, in machine_work_interval_notify() 774 ml_spin_debug_reset(thread_t thread) in ml_spin_debug_reset() 788 ml_spin_debug_clear(thread_t thread) in ml_spin_debug_clear() 815 __ml_interrupts_disabled_cpu_kind(thread_t thread) in __ml_interrupts_disabled_cpu_kind() 842 __ml_trigger_interrupts_disabled_handle(thread_t thread, uint64_t start, uint64_t now, uint64_t tim… in __ml_trigger_interrupts_disabled_handle() 918 __ml_handle_interrupts_disabled_duration(thread_t thread, uint64_t timeout, bool is_int_handler) in __ml_handle_interrupts_disabled_duration() 955 ml_handle_interrupts_disabled_duration(thread_t thread) in ml_handle_interrupts_disabled_duration() [all …]
|
| /xnu-10063.141.1/osfmk/kperf/ |
| H A D | kperf.h | 105 kperf_on_cpu(thread_t thread, thread_continue_t continuation, in kperf_on_cpu() 121 kperf_off_cpu(thread_t thread) in kperf_off_cpu() 135 kperf_make_runnable(thread_t thread, int interrupt) in kperf_make_runnable()
|
| H A D | lazy.c | 55 kperf_lazy_off_cpu(thread_t thread) in kperf_lazy_off_cpu() 64 kperf_lazy_make_runnable(thread_t thread, bool in_interrupt) in kperf_lazy_make_runnable() 80 kperf_lazy_wait_sample(thread_t thread, thread_continue_t continuation, in kperf_lazy_wait_sample() 123 kperf_lazy_cpu_sample(thread_t thread, unsigned int flags, bool interrupt) in kperf_lazy_cpu_sample()
|
| H A D | thread_samplers.c | 64 kperf_thread_info_runmode_legacy(thread_t thread) in kperf_thread_info_runmode_legacy() 137 thread_t thread = context->cur_thread; in kperf_thread_scheduling_sample() local 229 thread_t thread = context->cur_thread; in kperf_thread_snapshot_sample() local 293 thread_t thread = context->cur_thread; in kperf_thread_dispatch_sample() local
|
| H A D | callstack.c | 49 callstack_fixup_user(struct kp_ucallstack *cs, thread_t thread) in callstack_fixup_user() 195 thread_t thread; in kperf_continuation_sample() local 264 thread_t thread; in kperf_kcallstack_sample() local 332 thread_t thread = context->cur_thread; in kperf_ucallstack_sample() local 583 thread_t thread, in chudxnu_thread_get_callstack64_internal() 912 thread_t thread, in chudxnu_thread_get_callstack64_kperf() 945 thread_t thread, 1048 thread_t thread, 1128 thread_t thread, 1204 thread_t thread, [all …]
|
| H A D | kperf.c | 204 kperf_on_cpu_internal(thread_t thread, thread_continue_t continuation, in kperf_on_cpu_internal() 292 kperf_thread_get_dirty(thread_t thread) in kperf_thread_get_dirty() 298 kperf_thread_set_dirty(thread_t thread, boolean_t dirty) in kperf_thread_set_dirty()
|
| H A D | pet.c | 142 kppet_on_cpu(thread_t thread, thread_continue_t continuation, in kppet_on_cpu() 300 kppet_sample_thread(int pid, task_t task, thread_t thread, uint32_t idle_rate) in kppet_sample_thread() 377 thread_t thread; in kppet_threads_prepare() local 439 thread_t thread = kppet.g_threads[i]; in kppet_sample_task() local
|
| /xnu-10063.141.1/osfmk/arm64/ |
| H A D | pcb.c | 201 machine_thread_on_core(thread_t thread) in machine_thread_on_core() 207 machine_thread_on_core_allow_invalid(thread_t thread) in machine_thread_on_core_allow_invalid() 235 machine_thread_create(thread_t thread, task_t task, bool first_thread) in machine_thread_create() 316 machine_thread_process_signature(thread_t __unused thread, task_t __unused task) in machine_thread_process_signature() 379 machine_thread_destroy(thread_t thread) in machine_thread_destroy() 443 machine_stack_detach(thread_t thread) in machine_stack_detach() 466 machine_stack_attach(thread_t thread, in machine_stack_attach() 1116 machine_thread_set_tsd_base(thread_t thread, in machine_thread_set_tsd_base()
|
| /xnu-10063.141.1/osfmk/mach/ |
| H A D | thread_special_ports.h | 81 #define thread_get_kernel_port(thread, port) \ argument 84 #define thread_set_kernel_port(thread, port) \ argument
|
| /xnu-10063.141.1/osfmk/i386/ |
| H A D | pcb_native.c | 662 thread_set_wq_state32(thread_t thread, thread_state_t tstate) in thread_set_wq_state32() 706 thread_set_wq_state64(thread_t thread, thread_state_t tstate) in thread_set_wq_state64() 755 thread_t thread, in machine_thread_create() 839 thread_t thread) in machine_thread_destroy() 882 machine_thread_process_signature(thread_t __unused thread, task_t __unused task) in machine_thread_process_signature() 889 thread_t thread, in machine_thread_set_tsd_base()
|
| /xnu-10063.141.1/bsd/dev/i386/ |
| H A D | systemcalls.c | 91 thread_t thread; in unix_syscall() local 275 thread_t thread; in unix_syscall64() local 480 thread_t thread; in unix_syscall_return() local
|
| /xnu-10063.141.1/san/memory/ |
| H A D | kasan-fakestack.c | 132 kasan_fakestack_gc(thread_t thread) in kasan_fakestack_gc() 252 kasan_fakestack_drop(thread_t thread) in kasan_fakestack_drop() 328 kasan_unpoison_fakestack(thread_t __unused thread) in kasan_unpoison_fakestack() 334 kasan_fakestack_drop(thread_t __unused thread) in kasan_fakestack_drop() 340 kasan_fakestack_gc(thread_t __unused thread) in kasan_fakestack_gc()
|
| /xnu-10063.141.1/tests/ |
| H A D | hw_breakpoint_step_arm64.c | 31 mach_port_t thread, in catch_mach_exception_raise() 68 mach_port_t thread, in catch_mach_exception_raise_state_identity() 129 step_thread(mach_port_name_t task, thread_t thread) in step_thread()
|
| H A D | work_interval_test_unentitled.c | 31 set_realtime(pthread_t thread) in set_realtime() 51 set_nonrealtime(pthread_t thread) in set_nonrealtime()
|
| H A D | work_interval_test.c | 132 set_realtime(pthread_t thread) in set_realtime() 152 set_nonrealtime(pthread_t thread) in set_nonrealtime()
|
| /xnu-10063.141.1/tools/tests/affinity/ |
| H A D | tags.c | 42 thread_tag_set(thread_t thread, int tag) in thread_tag_set() 59 thread_tag_get(thread_t thread) in thread_tag_get()
|