Home
last modified time | relevance | path

Searched refs:preemption_enabled (Results 1 – 17 of 17) sorted by relevance

/xnu-11215/osfmk/arm64/
H A Dlock_ticket_pv.c107 assert(!preemption_enabled()); in hw_lck_ticket_lock_wait_pv()
146 assert(!preemption_enabled()); in hw_lck_ticket_lock_wait_pv()
/xnu-11215/osfmk/i386/
H A Dlock_ticket_pv.c128 assert(!preemption_enabled()); in hw_lck_ticket_lock_wait_pv()
167 assert(!preemption_enabled()); in hw_lck_ticket_lock_wait_pv()
/xnu-11215/osfmk/arm64/sptm/pmap/
H A Dpmap_data.h331 const bool was_preemptible = preemption_enabled(); in pvh_lock()
376 if (__improbable(preemption_enabled())) { in pvh_lock_nopreempt()
464 assert(preemption_enabled() || PMAP_IS_HIBERNATING()); in pvh_lock_enter_sleep_mode()
506 const bool was_preemptible = preemption_enabled(); in pvh_unlock()
2011 assert(!preemption_enabled()); in pmap_retype_epoch_enter()
2037 assert(!preemption_enabled()); in pmap_retype_epoch_exit()
2118 assert(!preemption_enabled()); in pmap_retype_epoch_drain()
2224 return preemption_enabled() || (startup_phase < STARTUP_SUB_EARLY_BOOT) || PMAP_IS_HIBERNATING(); in pmap_is_preemptible()
H A Dpmap.c4651 if ((flush_range != NULL) && !preemption_enabled()) {
5320 if (__improbable(preemption_enabled())) {
6711 assert(preemption_enabled());
7602 if ((flush_range != NULL) && !preemption_enabled()) {
7849 if (__probable(preemption_enabled())) {
7900 if (__probable(preemption_enabled())) {
9964 assert(preemption_enabled());
H A Dpmap_data.c810 assert(preemption_enabled() || PMAP_IS_HIBERNATING()); in pv_list_free()
/xnu-11215/osfmk/kern/
H A Dtest_lock.c75 assert(preemption_enabled()); in hw_lck_ticket_allow_invalid_worker()
103 assert(preemption_enabled()); in hw_lck_ticket_allow_invalid_test()
114 assert(!preemption_enabled()); in hw_lck_ticket_allow_invalid_test()
128 assert(preemption_enabled()); in hw_lck_ticket_allow_invalid_test()
H A Dwaitq.c2110 select_set_nextid(bool preemption_enabled) in select_set_nextid() argument
2119 if (preemption_enabled) { in select_set_nextid()
2123 if (preemption_enabled) { in select_set_nextid()
2135 (void)preemption_enabled; in select_set_nextid()
H A Dmachine.c725 assert(preemption_enabled()); in io_increase_timeouts()
791 assert(preemption_enabled()); in io_reset_timeouts()
H A Dsched_prim.h823 extern boolean_t preemption_enabled(void);
H A Drecount.c1262 assert(!preemption_enabled()); in recount_current_processor_interrupt_duration_mach()
H A Dsched_prim.c7496 preemption_enabled(void) in preemption_enabled() function
7670 assert(preemption_enabled()); in sched_processor_exit_user()
7742 assert(preemption_enabled()); in sched_processor_start_user()
8398 assert(preemption_enabled()); in sched_perfcontrol_update_recommended_cores_reason()
/xnu-11215/iokit/Kernel/
H A DIOPlatformActions.cpp138 assert(preemption_enabled() == false); in IOCPURunPlatformQuiesceActions()
146 assert(preemption_enabled() == false); in IOCPURunPlatformActiveActions()
H A DIONVRAM.cpp95 #define SAFE_TO_LOCK() (preemption_enabled() && !panic_active())
/xnu-11215/osfmk/arm/pmap/
H A Dpmap_internal.h327 } while (!ret && (preemption_enabled() || (startup_phase < STARTUP_SUB_EARLY_BOOT))); in pmap_lock_preempt()
H A Dpmap_data.h1780 return preemption_enabled() || (startup_phase < STARTUP_SUB_EARLY_BOOT); in pmap_is_preemptible()
/xnu-11215/bsd/kern/
H A Dsubr_prf.c342 const bool allow_constty = preemption_enabled(); in putchar()
/xnu-11215/bsd/pthread/
H A Dpthread_workqueue.c1794 assert(!preemption_enabled()); in workq_schedule_delayed_thread_creation()
1833 assert(!preemption_enabled()); in workq_schedule_immediate_thread_creation()