Home
last modified time | relevance | path

Searched defs:thread (Results 51 – 75 of 228) sorted by relevance

12345678910

/xnu-10002.1.13/osfmk/kern/
H A Dmk_sp.c73 thread_t thread, in thread_set_policy()
184 thread_t thread, in thread_policy()
H A Dsched_clutch.h45 #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 Dux_handler.c174 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 Dtelemetry.c102 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 Darcade.c84 arcade_prepare(task_t task, thread_t thread) in arcade_prepare()
270 arcade_ast(__unused thread_t thread) in arcade_ast()
H A Dsfi.c740 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 Dlocks.c672 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 Drecount.c454 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 Dprocessor.c387 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 Dpthread_shims.c181 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 Dkdp_vm.c77 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 Dms_thread_switch.c68 mach_port_t thread, in thread_switch()
H A Dexc_catcher.c45 mach_port_t thread, in internal_catch_exception_raise()
/xnu-10002.1.13/tests/
H A Dexc_resource_threads.c30 mach_port_t thread, in catch_mach_exception_raise()
63 mach_port_t thread, in catch_mach_exception_raise_state_identity()
H A Dexc_helpers.c117 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 Dthread_group_set_32261625.c23 pthread_t thread; variable
H A Dfp_exception.c62 __unused mach_port_t thread, in exc_arithmetic_handler()
H A Dreply_port_defense.c68 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 Dsleh.c527 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 Dpanic_hooks.c42 thread_t thread; member
94 thread_t thread = current_thread(); in panic_check_hook() local
/xnu-10002.1.13/osfmk/kperf/
H A Daction.c428 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 Duserspace.py34 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 Dmach_exc_port_substitute.c57 __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 Dpal_routines.h43 #define pal_ast_check(thread) argument
/xnu-10002.1.13/bsd/kern/
H A Dmach_loader.c449 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()

12345678910