Home
last modified time | relevance | path

Searched refs:active_thread (Results 1 – 20 of 20) sorted by relevance

/xnu-11215/osfmk/kdp/ml/arm/
H A Dkdp_vm.c333 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 Dprocess.py1685 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 Dscheduler.py361 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 Drecount.py485 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 Dsched_clutch_harness.c179 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 Dmisc_needed_deps.c156 struct thread *active_thread; /* thread running on processor */ member
/xnu-11215/osfmk/kern/
H A Dthread_act.c1130 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 Dsched_dualq.c322 assert(processor->active_thread != NULL); in sched_dualq_processor_csw_check()
H A Dsched_clutch.c2873 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 Dstartup.c963 processor->active_thread = thread; in load_context()
H A Dprocessor.h397 struct thread *active_thread; /* thread running on processor */ member
H A Drecount.c1072 thread_t thread = processor->active_thread; in recount_transition()
1130 thread_t thread = processor->active_thread; in recount_leave_interrupt()
H A Dsched_amp.c325 assert(processor->active_thread != NULL); in sched_amp_processor_csw_check()
H A Dsfi.c1102 processor->active_thread == thread) { in sfi_reevaluate()
H A Dsched_prim.c3258 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 Dmachine.c499 assert(processor->active_thread == current_thread()); in processor_offline_intstack()
H A Dprocessor.c314 processor->active_thread = processor->startup_thread = processor->idle_thread = THREAD_NULL; in processor_init()
H A Dkern_stackshot.c4566 last_processor->active_thread == thread); in classify_thread()
/xnu-11215/osfmk/kperf/
H A Dthread_samplers.c70 if ((last_processor != PROCESSOR_NULL) && (thread == last_processor->active_thread)) { in kperf_thread_info_runmode_legacy()
/xnu-11215/osfmk/i386/
H A Di386_init.c1103 if (current_processor()->active_thread != THREAD_NULL) { in do_init_slave()