Searched refs:SW_INVOL (Results 1 – 7 of 7) sorted by relevance
411 KASSERT((flags & (SW_INVOL | SW_VOL)) != 0, in mi_switch()448 ((flags & SW_PREEMPT) != 0 || ((flags & SW_INVOL) != 0 && in mi_switch()
289 mi_switch(SW_INVOL | SWT_NEEDRESCHED, NULL); in ast()
238 flags = SW_INVOL | SW_PREEMPT; in critical_exit_preempt()
1040 mi_switch(SW_INVOL | SWT_SUSPEND, NULL); in thread_suspend_check()
1479 mi_switch(SW_INVOL | SW_PREEMPT | SWT_PREEMPT, NULL); in sched_preempt()
2340 flags = SW_INVOL | SW_PREEMPT; in sched_preempt()
809 #define SW_INVOL 0x0200 /* Involuntary switch. */ macro