Home
last modified time | relevance | path

Searched refs:AST_URGENT (Results 1 – 19 of 19) sorted by relevance

/xnu-11215.81.4/osfmk/kern/
H A Dast.c127 if (ast_peek(AST_URGENT) != AST_URGENT) { in ast_taken_kernel()
137 ast_consume(AST_URGENT); in ast_taken_kernel()
176 if (ast_peek(AST_URGENT) == AST_URGENT) { in ast_taken_user()
H A Dast.h112 AST_URGENT = 0x04,
141 #define AST_PREEMPTION (AST_PREEMPT | AST_QUANTUM | AST_URGENT)
H A Dsched_dualq.c316 return AST_PREEMPT | AST_URGENT; in sched_dualq_processor_csw_check()
334 return AST_PREEMPT | AST_URGENT; in sched_dualq_processor_csw_check()
338 return AST_PREEMPT | AST_URGENT; in sched_dualq_processor_csw_check()
H A Dsched_amp.c351 return AST_PREEMPT | AST_URGENT; in sched_amp_processor_csw_check()
355 return AST_PREEMPT | AST_URGENT; in sched_amp_processor_csw_check()
359 return AST_PREEMPT | AST_URGENT; in sched_amp_processor_csw_check()
H A Dsched_prim.c3069 ast_on(AST_URGENT | AST_PREEMPT); in thread_select()
4861 preempt = (AST_PREEMPT | AST_URGENT); in realtime_setrun()
4864 preempt = (AST_PREEMPT | AST_URGENT); in realtime_setrun()
4874 if ((preempt & AST_URGENT) == AST_URGENT) { in realtime_setrun()
4896 if ((preempt & AST_URGENT) == AST_URGENT) { in realtime_setrun()
5124 preempt = (AST_PREEMPT | AST_URGENT); in processor_setrun()
5126 preempt = (AST_PREEMPT | AST_URGENT); in processor_setrun()
5186 if ((preempt & AST_URGENT) == AST_URGENT) { in processor_setrun()
6065 if ((preempt & AST_URGENT) == 0) { in csw_check()
6096 if ((reason & (AST_URGENT | AST_PREEMPT)) != (AST_PREEMPT)) { in update_pending_nonurgent_preemption()
[all …]
H A Dlock_mtx.c729 prev == 0 || (os_atomic_load(astp, relaxed) & AST_URGENT))) { in lck_mtx_lock_adaptive_spin()
782 (os_atomic_load(astp, relaxed) & AST_URGENT) || in lck_mtx_lock_adaptive_spin()
H A Dpriority.c231 check_reason |= AST_URGENT; in thread_quantum_expire()
H A Dsched_clutch.c3364 return AST_PREEMPT | AST_URGENT; in sched_clutch_processor_csw_check()
/xnu-11215.81.4/osfmk/i386/
H A Di386_lock.s74 testl $AST_URGENT,%gs:CPU_PENDING_AST ; \
91 testl $AST_URGENT,%gs:CPU_PENDING_AST ; \
H A Dmachine_routines.c392 if ((get_preemption_level() == 0) && (*ast_pending() & AST_URGENT)) { in ml_set_interrupts_enabled()
1263 if (__improbable(*ast_pending() & AST_URGENT)) { in kernel_preempt_check()
H A Dgenassym.c117 DECLARE("AST_URGENT", AST_URGENT); in main()
/xnu-11215.81.4/tests/sched/sched_test_harness/shadow_headers/
H A Dmisc_needed_defines.h28 #define AST_URGENT 0x04 macro
/xnu-11215.81.4/osfmk/arm/
H A Dpreemption_disable.c84 if (current_thread()->machine.CpuDatap->cpu_pending_ast & AST_URGENT) { in kernel_preempt_check()
102 if (__improbable(thread->machine.CpuDatap->cpu_pending_ast & AST_URGENT)) { in _enable_preemption_write_count()
H A Dmachine_routines_common.c1049 while (thread->machine.CpuDatap->cpu_pending_ast & AST_URGENT) { in ml_set_interrupts_enabled_with_debug()
/xnu-11215.81.4/osfmk/arm64/sptm/pmap/
H A Dpmap.h695 return !!(*((volatile ast_t*)ast_pending()) & AST_URGENT); in _pmap_pending_preemption_real()
/xnu-11215.81.4/osfmk/arm64/
H A Dgenassym.c122 DECLARE("AST_URGENT", AST_URGENT); in main()
H A Dlocore.s1531 tst w2, AST_URGENT // If no urgent ASTs, skip ast_taken
2180 tst w14, AST_URGENT
2520 tst x14, AST_URGENT
/xnu-11215.81.4/osfmk/arm/pmap/
H A Dpmap.h784 return !!(*((volatile ast_t*)ast_pending()) & AST_URGENT); in _pmap_pending_preemption_real()
/xnu-11215.81.4/osfmk/x86_64/
H A Didt64.s1604 testl $(AST_URGENT),%eax /* any urgent preemption? */
1726 testl $(AST_URGENT),%eax /* any urgent requests? */