Home
last modified time | relevance | path

Searched refs:thread_tid (Results 1 – 25 of 70) sorted by relevance

123

/xnu-11215/osfmk/vm/
H A Dvm_dyld_pager.c305 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in fixupPage64()
321 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in fixupPage64()
339 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in fixupPage64()
385 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in fixupChain32()
579 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in fixupPageAuth64()
602 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in fixupPageAuth64()
803 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in fixup_page()
837 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in fixup_page()
913 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in dyld_pager_data_request()
979 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_DYLD_PAGER, KD… in dyld_pager_data_request()
[all …]
H A Dvm_fault.c860 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_fault_check()
1176 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_fault_page()
1289 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_fault_page()
1310 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_fault_page()
1328 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_fault_page()
1848 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_fault_page()
1960 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_fault_page()
2553 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_fault_page()
2570 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_fault_page()
4349 ktriage_record(thread_tid(cthread), in vm_fault_internal()
[all …]
H A Dvm_protos.h452 extern uint64_t thread_tid(struct thread *);
491 thread_tid(__t), \
H A Dvm_compressor_pager.c846 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_compressor_pager_get()
850 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_compressor_pager_get()
864 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vm_compressor_pager_get()
H A Dvm_sanitize_telemetry.c270 ktriage_record(thread_tid(current_thread()), in vm_sanitize_ktriage_record()
/xnu-11215/osfmk/kern/
H A Dpriority.c1018 thread_tid(thread), thread->sched_flags); in sched_thread_mode_demote()
1022 thread_tid(thread), thread->sched_flags); in sched_thread_mode_demote()
1026 thread_tid(thread), thread->sched_flags); in sched_thread_mode_demote()
1130 thread_tid(thread), thread->sched_pri, in sched_thread_promote_reason()
1135 thread_tid(thread), thread->sched_pri, in sched_thread_promote_reason()
1140 thread_tid(thread), thread->sched_pri, in sched_thread_promote_reason()
1145 thread_tid(thread), thread->sched_pri, in sched_thread_promote_reason()
1171 thread_tid(thread), thread->sched_pri, in sched_thread_unpromote_reason()
1176 thread_tid(thread), thread->sched_pri, in sched_thread_unpromote_reason()
1181 thread_tid(thread), thread->sched_pri, in sched_thread_unpromote_reason()
[all …]
H A Dthread_group.c304 THREAD_GROUP_INVALID, thread_group_id(tg), (uintptr_t)thread_tid(t)); in thread_group_init_thread()
778 (uintptr_t)thread_tid(t), thread_group_id(home_tg)); in thread_set_resolved_thread_group()
784 thread_tid(t), thread_group_id(home_tg)); in thread_set_resolved_thread_group()
815 (uintptr_t)thread_tid(t), thread_group_id(t->preadopt_thread_group), 0, 0); in thread_resolve_thread_group_hierarchy_self_locked()
923 thread_tid(t), thread_group_id(old_preadopt_tg), 0, 0); in thread_set_preadopt_thread_group()
957 (uintptr_t)thread_tid(t), thread_group_id(home_tg)); in thread_set_preadopt_thread_group()
969 (uintptr_t)thread_tid(t), thread_group_id(home_tg)); in thread_set_preadopt_thread_group()
977 thread_tid(t), thread_group_id(home_tg)); in thread_set_preadopt_thread_group()
1054 (uintptr_t)thread_tid(t), thread_group_id(home_tg)); in thread_set_thread_group()
1117 thread_tid(t), thread_group_id(home_tg)); in thread_set_autojoin_thread_group_locked()
H A Dthread_policy.c1581 thread_tid(thread), theffective_0(thread), in thread_policy_create()
1591 thread_tid(thread), theffective_0(thread), in thread_policy_create()
1600 thread_tid(thread), theffective_0(thread), in thread_policy_update_spinlocked()
1607 thread_tid(thread), theffective_0(thread), in thread_policy_update_spinlocked()
2029 thread_tid(thread), threquested_0(thread), in proc_set_thread_policy_spinlocked()
2038 thread_tid(thread), threquested_0(thread), in proc_set_thread_policy_spinlocked()
2898 thread_tid(thread), 0, 0, 0, 0); in proc_thread_qos_remove_override_internal()
3040 thread_tid(thread), in thread_recompute_kernel_promotion_locked()
3074 thread_tid(thread), in thread_recompute_user_promotion_locked()
3080 thread_tid(thread), in thread_recompute_user_promotion_locked()
[all …]
H A Dsched_prim.c1116 (uintptr_t)thread_tid(thread), thread->sched_pri, thread->wait_result, in thread_unblock()
2070 thread_tid(thread), processor ? processor->cpu_id : ~0ul, 0, 0, 0); in thread_bind_internal()
2577 __kdebug_only uint64_t spill_tid = thread_tid(rt_runq_first(&starting_pset->rt_runq)); in choose_next_rt_processor_for_IPI()
3117 (uintptr_t)thread_tid(thread), pset->pending_AST_URGENT_cpu_mask, delay_count, 6); in thread_select()
3427 self->reason, (uintptr_t)thread_tid(thread), self->sched_pri, thread->sched_pri, 0); in thread_invoke()
3667 (uintptr_t)thread_tid(thread), 0, thread->state, in thread_dispatch()
3831 (uintptr_t)thread_tid(thread), thread->reason, thread->state, in thread_dispatch()
3886 (uintptr_t)thread_tid(thread), thread->reason, thread_state, in thread_dispatch()
6408 (uintptr_t)thread_tid(thread), in set_sched_pri()
6794 (uintptr_t)thread_tid(thread), 0, 0, 0, 0); in processor_idle()
[all …]
H A Dsyscall_subr.c279 thread_tid(thread), thread->state, in thread_switch()
363 thread_tid(thread), thread->state, in thread_handoff_internal()
H A Depoch_sync.c408 waitinfo->owner = thread_tid(turnstile->ts_inheritor); in kdp_esync_find_owner()
447 uint64_t tid = thread_tid(owner_thread); in esync_wait()
542 uint64_t tid = thread_tid(thread); in esync_wake()
H A Dthread.c1214 …KERNEL_DEBUG_CONSTANT(MACHDBG_CODE(DBG_MACH_SCHED, MACH_STACK_WAIT) | DBG_FUNC_END, thread_tid(thr… in thread_stack_queue_invoke()
1234 …KERNEL_DEBUG_CONSTANT(MACHDBG_CODE(DBG_MACH_SCHED, MACH_STACK_WAIT) | DBG_FUNC_START, thread_tid(t… in thread_stack_enqueue()
1596 KDBG_RELEASE(TRACE_DATA_NEWTHREAD, (uintptr_t)thread_tid(new_thread), in thread_create_internal()
3033 thread_tid( in thread_tid() function
3044 return thread_tid(get_machthread(uth)); in uthread_tid()
3119 …_RSRC_HEAVY_THREAD) | DBG_FUNC_NONE, SCHED_EDGE_RSRC_HEAVY_THREAD_SET, thread_tid(thread), type, a… in thread_shared_rsrc_policy_set()
3149 …_RSRC_HEAVY_THREAD) | DBG_FUNC_NONE, SCHED_EDGE_RSRC_HEAVY_THREAD_CLR, thread_tid(thread), type, a… in thread_shared_rsrc_policy_clear()
3371 (uintptr_t)thread_tid(thread), in thread_set_voucher_name()
3472 (uintptr_t)thread_tid(thread), in thread_set_mach_voucher()
3766 bsd_setthreadname(get_bsdthread_info(th), thread_tid(th), name); in thread_set_thread_name()
H A Dkern_monotonic.c56 cpu_number(), thread_tid(current_thread()), ctr, snap, in mt_mtc_update_count()
H A Dturnstile.c1625 thread_tid(thread), in turnstile_update_thread_promotion_locked()
1665 thread_tid(thread), in thread_add_turnstile_promotion()
1734 thread_tid(thread), in thread_remove_turnstile_promotion()
1861 thread_tid(thread), in thread_update_turnstile_promotion_locked()
2390 thread_tid(thread), in turnstile_waitq_add_thread_priority_queue()
3105 thread_tid(thread), in thread_update_waiting_turnstile_priority_chain()
3336 return (uint64_t) thread_tid(ts->ts_inheritor); in kdp_turnstile_traverse_inheritor_chain()
H A Dwork_interval.c246 thread_tid(thread), thread_group_get_id(work_interval->wi_group)); in work_interval_perform_deferred_finish()
934 thread_tid(thread), old_tg_id, new_tg_id, options); in thread_set_work_interval()
954thread_tid(thread), (old_th_wi ? old_th_wi->wi_id : 0), (work_interval ? work_interval->wi_id : 0)… in thread_set_work_interval()
/xnu-11215/osfmk/kperf/
H A Dthread_samplers.c108 BUF_INFO(PERF_TI_SAMPLE, (uintptr_t)thread_tid(cur_thread)); in kperf_thread_info_sample()
111 ti->kpthi_tid = thread_tid(cur_thread); in kperf_thread_info_sample()
139 BUF_INFO(PERF_TI_SCHEDSAMPLE | DBG_FUNC_START, (uintptr_t)thread_tid(thread)); in kperf_thread_scheduling_sample()
231 BUF_INFO(PERF_TI_SNAPSAMPLE | DBG_FUNC_START, (uintptr_t)thread_tid(thread)); in kperf_thread_snapshot_sample()
296 (uintptr_t)thread_tid(thread)); in kperf_thread_dispatch_sample()
H A Dlazy.c74 BUF_DATA(PERF_LZ_MKRUNNABLE, (uintptr_t)thread_tid(thread), in kperf_lazy_make_runnable()
H A Dkperf.c210 BUF_DATA(PERF_TI_CSWITCH, thread_tid(thread), pid); in kperf_on_cpu_internal()
H A Dcallstack.c273 BUF_INFO(PERF_CS_KSAMPLE | DBG_FUNC_START, (uintptr_t)thread_tid(thread), in kperf_kcallstack_sample()
323 BUF_INFO(PERF_CS_KSAMPLE | DBG_FUNC_END, (uintptr_t)thread_tid(thread), in kperf_kcallstack_sample()
336 (uintptr_t)thread_tid(thread), cs->kpuc_nframes); in kperf_ucallstack_sample()
381 BUF_INFO(PERF_CS_USAMPLE | DBG_FUNC_END, (uintptr_t)thread_tid(thread), in kperf_ucallstack_sample()
/xnu-11215/osfmk/arm64/
H A Dbsd_arm64.c209 proc_pid(current_proc()), thread_tid(current_thread())); in mach_syscall()
286 proc_pid(current_proc()), thread_tid(current_thread())); in mach_syscall()
/xnu-11215/bsd/vm/
H A Dvnode_pager.c643 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vnode_pagein()
671 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vnode_pagein()
683 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vnode_pagein()
819 …ktriage_record(thread_tid(current_thread()), KDBG_TRIAGE_EVENTID(KDBG_TRIAGE_SUBSYS_VM, KDBG_TRIAG… in vnode_pagein()
/xnu-11215/tests/sched/sched_test_harness/shadow_headers/
H A Dmisc_needed_deps.c107 thread_tid( in thread_tid() function
/xnu-11215/bsd/dev/arm/
H A Dsystemcalls.c158 pid, proc->p_comm, thread_tid(current_thread())); in unix_syscall()
190 … pid, get_bsdtask_info(current_task()) ? proc->p_comm : "unknown", thread_tid(current_thread())); in unix_syscall()
/xnu-11215/bsd/kern/
H A Dprocess_policy.c586 if (target_threadid != thread_tid(current_thread())) { in handle_no_smt()
610 if (target_threadid != thread_tid(current_thread())) { in handle_tecs()
H A Dkdebug.c766 (uintptr_t)thread_tid(current_thread()), 0); in kernel_debug()
788 (uintptr_t)thread_tid(current_thread()), flags); in kernel_debug_flags()
826 uintptr_t thread_id = (uintptr_t)thread_tid(current_thread()); in kernel_debug_string_simple()
1021 (uintptr_t)thread_tid(current_thread()), 0); in kdebug_trace64()
1061 thread_id = (uintptr_t)thread_tid(current_thread()); in kernel_debug_string_internal()
1478 map->thread = (uintptr_t)thread_tid(thread); in _resolve_kernel_task()
2961 .arg5 = (kd_buf_argtype)thread_tid(current_thread()), in kdbg_dump_trace_to_file()

123