Searched refs:active_thread (Results 1 – 20 of 20) sorted by relevance
| /xnu-11215/osfmk/kdp/ml/arm/ |
| H A D | kdp_vm.c | 333 if ((cpudatap == NULL) || (processor->active_thread == NULL)) { in kern_collectth_state() 339 void *kpcb = processor->active_thread->machine.kpcb; in kern_collectth_state() 350 vm_offset_t kstackptr = (vm_offset_t) processor->active_thread->machine.kstackptr; in kern_collectth_state() 361 vm_offset_t kstackptr = (vm_offset_t) processor->active_thread->machine.kstackptr; in kern_collectth_state()
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | process.py | 1685 active_thread = current_processor.active_thread 1686 if unsigned(active_thread) != 0: 1687 task_val = active_thread.t_tro.tro_task 1692 print(GetThreadSummary(active_thread, O=O)) 1706 active_thread = current_processor.active_thread 1707 if unsigned(active_thread) != 0 : 1708 task_val = active_thread.t_tro.tro_task 1713 print(GetThreadSummary(active_thread, O=O)) 1759 active_thread = processor.active_thread 1760 if unsigned(active_thread) != 0 : [all …]
|
| H A D | scheduler.py | 361 active_thread = current_processor.active_thread 364 if unsigned(active_thread) != 0 : 365 task_val = active_thread.t_tro.tro_task 366 proc_val = active_thread.t_tro.tro_proc 368 thread_id = active_thread.thread_id 383 …time_since_dispatch_us, time_since_debugger_us, t=active_thread, thread_id=thread_id, proc_name=pr… 386 …: 0x{t:<16x} 0x{thread_id:<8x} {proc_name:s}".format(last_dispatch, t=active_thread, thread_id=thr… 630 if (processor.active_thread != 0) : 632 print("\t" + GetThreadSummary(processor.active_thread))
|
| H A D | recount.py | 485 active_thread = unsigned(pr.active_thread) 486 if active_thread != 0: 488 thread_plan, [active_thread], indent=True, O=O)
|
| /xnu-11215/tests/sched/sched_test_harness/ |
| H A D | sched_clutch_harness.c | 179 cpu0.active_thread = thread; in impl_set_thread_current() 191 cpu0.active_thread = NULL; in impl_clear_thread_current()
|
| /xnu-11215/tests/sched/sched_test_harness/shadow_headers/ |
| H A D | misc_needed_deps.c | 156 struct thread *active_thread; /* thread running on processor */ member
|
| /xnu-11215/osfmk/kern/ |
| H A D | thread_act.c | 1130 processor->active_thread == thread) { in thread_set_apc_ast_locked() 1382 processor->active_thread == thread) { in act_set_ast() 1491 processor->active_thread == thread) { in act_set_ast_reset_pcs()
|
| H A D | sched_dualq.c | 322 assert(processor->active_thread != NULL); in sched_dualq_processor_csw_check()
|
| H A D | sched_clutch.c | 2873 highest_thread = processor->active_thread; in sched_clutch_hierarchy_thread_highest() 2898 … == SCHED_CLUTCH_TRAVERSE_REMOVE_CONSIDER_CURRENT && highest_thread != processor->active_thread)) { in sched_clutch_hierarchy_thread_highest() 2899 …mode != SCHED_CLUTCH_TRAVERSE_REMOVE_HIERARCHY_ONLY || highest_thread != processor->active_thread); in sched_clutch_hierarchy_thread_highest() 3275 thread_t prev_thread = has_prev_thread ? processor->active_thread : NULL; in sched_clutch_processor_highest_thread() 3325 assert(prev_thread == NULL || prev_thread == processor->active_thread); in sched_clutch_choose_thread() 3358 assert(processor->active_thread != NULL); in sched_clutch_processor_csw_check() 3360 if (runqueue_thread != processor->active_thread) { in sched_clutch_processor_csw_check()
|
| H A D | startup.c | 963 processor->active_thread = thread; in load_context()
|
| H A D | processor.h | 397 struct thread *active_thread; /* thread running on processor */ member
|
| H A D | recount.c | 1072 thread_t thread = processor->active_thread; in recount_transition() 1130 thread_t thread = processor->active_thread; in recount_leave_interrupt()
|
| H A D | sched_amp.c | 325 assert(processor->active_thread != NULL); in sched_amp_processor_csw_check()
|
| H A D | sfi.c | 1102 processor->active_thread == thread) { in sfi_reevaluate()
|
| H A D | sched_prim.c | 3258 processor->active_thread = thread; in thread_invoke() 3403 processor->active_thread = thread; in thread_invoke() 5182 …if ((preempt = csw_check_locked(processor->active_thread, processor, pset, AST_NONE)) != AST_NONE)… in processor_setrun() 6055 assert(thread == processor->active_thread); in csw_check() 6252 thread_t thread = processor->active_thread; in ast_check() 6465 processor->active_thread == thread) { in set_sched_pri() 7413 last_processor->active_thread == thread) { in thread_set_eager_preempt()
|
| H A D | machine.c | 499 assert(processor->active_thread == current_thread()); in processor_offline_intstack()
|
| H A D | processor.c | 314 processor->active_thread = processor->startup_thread = processor->idle_thread = THREAD_NULL; in processor_init()
|
| H A D | kern_stackshot.c | 4566 last_processor->active_thread == thread); in classify_thread()
|
| /xnu-11215/osfmk/kperf/ |
| H A D | thread_samplers.c | 70 if ((last_processor != PROCESSOR_NULL) && (thread == last_processor->active_thread)) { in kperf_thread_info_runmode_legacy()
|
| /xnu-11215/osfmk/i386/ |
| H A D | i386_init.c | 1103 if (current_processor()->active_thread != THREAD_NULL) { in do_init_slave()
|