Home
last modified time | relevance | path

Searched refs:PROCESSOR_NULL (Results 1 – 25 of 27) sorted by relevance

12

/xnu-11215/tests/sched/sched_test_harness/shadow_headers/
H A Dmisc_needed_deps.c77 assert(thread->__runq.runq == PROCESSOR_NULL); in thread_assert_runq_null()
83 assert(thread->__runq.runq != PROCESSOR_NULL); in thread_assert_runq_nonnull()
90 thread->__runq.runq = PROCESSOR_NULL; in thread_clear_runq()
H A Dmisc_needed_defines.h17 #define PROCESSOR_NULL ((processor_t) 0) macro
/xnu-11215/osfmk/kern/
H A Dsched_prim.c2201 bind_target = PROCESSOR_NULL; in sched_vm_group_maintenance()
5305 processor = PROCESSOR_NULL; in choose_processor()
5307 processor = PROCESSOR_NULL; in choose_processor()
5472 processor = PROCESSOR_NULL; in choose_processor()
5477 return PROCESSOR_NULL; in choose_processor()
5722 processor = PROCESSOR_NULL; in choose_processor()
5735 processor = PROCESSOR_NULL; in choose_processor()
5740 return PROCESSOR_NULL; in choose_processor()
5874 processor = PROCESSOR_NULL; in choose_starting_pset()
9742 return PROCESSOR_NULL; in choose_processor_for_realtime_thread()
[all …]
H A Dsched_dualq.c173 if (thread->bound_processor == PROCESSOR_NULL) { in dualq_runq_for_thread()
269 } else if (processor->processor_secondary != PROCESSOR_NULL) { in sched_dualq_choose_thread()
445 processor = PROCESSOR_NULL; in sched_dualq_processor_queue_remove()
450 return processor != PROCESSOR_NULL; in sched_dualq_processor_queue_remove()
582 if (processor->processor_secondary != PROCESSOR_NULL) { in sched_dualq_thread_avoid_processor()
H A Dsched_amp.c193 if (thread->bound_processor == PROCESSOR_NULL) { in amp_runq_for_thread()
475 processor = PROCESSOR_NULL; in sched_amp_processor_queue_remove()
480 return processor != PROCESSOR_NULL; in sched_amp_processor_queue_remove()
657 assert(thread->bound_processor == PROCESSOR_NULL); in sched_amp_choose_processor()
681 return PROCESSOR_NULL; in sched_amp_choose_processor()
H A Dprocessor.c189 thread_bind(PROCESSOR_NULL); in ipi_test()
461 boolean_t non_bound_thr = (thread->bound_processor == PROCESSOR_NULL); in processor_state_update_running_foreign()
527 …sched_bucket_t bucket = ((thread->state & TH_IDLE) || (thread->bound_processor != PROCESSOR_NULL))… in processor_state_update_from_thread()
537 processor->current_is_bound = thread->bound_processor != PROCESSOR_NULL; in processor_state_update_from_thread()
760 if (processor == PROCESSOR_NULL) { in processor_info()
1031 if (processor == PROCESSOR_NULL) { in processor_exit_from_user()
1086 if (processor == PROCESSOR_NULL) { in processor_start_from_user()
1236 if (processor == PROCESSOR_NULL) { in processor_control()
1250 if (processor == PROCESSOR_NULL) { in processor_get_assignment()
H A Dstartup.c837 thread_bind(PROCESSOR_NULL); in kernel_bootstrap_thread()
966 …((thread->state & TH_IDLE) || (thread->bound_processor != PROCESSOR_NULL)) ? TH_BUCKET_SCHED_MAX :… in load_context()
967 processor->current_is_bound = thread->bound_processor != PROCESSOR_NULL; in load_context()
H A Dsched_clutch.h50 #define SCHED_CLUTCH_THREAD_ELIGIBLE(thread) ((thread->bound_processor) == PROCESSOR_NULL)
H A Dthread_act.c1128 if (processor != PROCESSOR_NULL && in thread_set_apc_ast_locked()
1380 if (processor != PROCESSOR_NULL && in act_set_ast()
1489 } else if (processor != PROCESSOR_NULL && in act_set_ast_reset_pcs()
H A Dhost.c175 assert(processor != PROCESSOR_NULL); in host_processors()
517 assert(processor != PROCESSOR_NULL); in host_statistics()
1200 assert(processor != PROCESSOR_NULL); in host_processor_info()
H A Dsched_amp_common.c271 assert(thread->bound_processor == PROCESSOR_NULL); in sched_amp_check_spill()
H A Dthread.c1391 new_thread->__runq.runq = PROCESSOR_NULL; in thread_create_internal()
3797 if (runq != PROCESSOR_NULL) { in thread_get_runq_locked()
3817 thread->__runq.runq = PROCESSOR_NULL; in thread_clear_runq()
3825 thread->__runq.runq = PROCESSOR_NULL; in thread_clear_runq_locked()
3831 assert(thread->__runq.runq == PROCESSOR_NULL); in thread_assert_runq_null()
3838 assert(thread->__runq.runq != PROCESSOR_NULL); in thread_assert_runq_nonnull()
4206 if ((thread != THREAD_NULL) && (thread->last_processor != PROCESSOR_NULL)) { in dtrace_get_thread_last_cpu_id()
H A Dipc_host.c303 processor_t processor = PROCESSOR_NULL; in convert_port_to_processor()
H A Dsched_clutch.c3473 processor = PROCESSOR_NULL; in sched_clutch_processor_queue_remove()
3478 return processor != PROCESSOR_NULL; in sched_clutch_processor_queue_remove()
3932 assert(thread->bound_processor == PROCESSOR_NULL); in sched_edge_check_spill()
4886 assert(thread->bound_processor == PROCESSOR_NULL); in sched_edge_choose_processor()
4887 processor_t chosen_processor = PROCESSOR_NULL; in sched_edge_choose_processor()
H A Dsfi.c1100 if (processor != PROCESSOR_NULL && in sfi_reevaluate()
H A Dexclaves.c897 assert3p(old, ==, PROCESSOR_NULL); in bind_to_boot_core()
905 thread_bind(PROCESSOR_NULL); in unbind_from_boot_core()
H A Dwork_interval.c920 …d != current_thread()) && (thread->state & TH_RUN) && (thread_get_runq(thread) == PROCESSOR_NULL)); in thread_set_work_interval()
/xnu-11215/bsd/dev/dtrace/scripts/
H A Ddarwin.d281 inline processor_t PROCESSOR_NULL = ((processor_t) 0); variable
282 #pragma D binding "1.0" PROCESSOR_NULL
324 pr_onpro = (T->last_processor == PROCESSOR_NULL) ? -1 : T->last_processor->cpu_id;
/xnu-11215/tests/sched/sched_test_harness/
H A Dsched_clutch_harness.c156 thread->__runq.runq = PROCESSOR_NULL; in impl_create_thread()
184 cpu0.current_is_bound = ((thread_t)thread)->bound_processor != PROCESSOR_NULL; in impl_set_thread_current()
/xnu-11215/osfmk/mach/
H A Dmach_types.h314 #define PROCESSOR_NULL ((processor_t) NULL) macro
344 #define PROCESSOR_NULL ((processor_t) 0) macro
/xnu-11215/osfmk/tests/
H A Dpmap_tests.c280 thread_bind(PROCESSOR_NULL); in pmap_nest_thread()
389 args[j].proc = ((j % 2) ? PROCESSOR_NULL : nest_proc); in test_pmap_nesting()
432 thread_bind(PROCESSOR_NULL); in test_pmap_nesting()
/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/arm64/
H A Dplatform_tests.c1222 thread_bind(PROCESSOR_NULL); in arm64_pan_test_thread()
1458 thread_bind(PROCESSOR_NULL); in ctrr_test()
H A Dmachine_routines.c1760 assert(processor != PROCESSOR_NULL); in cause_ast_check()
/xnu-11215/osfmk/i386/
H A Dmp.c1967 assert(processor != PROCESSOR_NULL); in cause_ast_check()

12