Lines Matching defs:preempt
1179 * Always immediately preempt the idle task; no point in delaying doing
3475 guard(preempt)();
3780 * it should preempt the task that is current now.
4154 guard(preempt)();
5831 * If the value passed in is equal to the current preempt count
5868 * If the value passed in equals to the current preempt count
5944 static inline void schedule_debug(struct task_struct *prev, bool preempt)
5955 if (!preempt && READ_ONCE(prev->__state) && prev->non_block_count) {
6415 guard(preempt)();
7024 bool preempt = sched_mode > SM_NONE;
7039 schedule_debug(prev, preempt);
7044 rcu_note_context_switch(preempt);
7077 preempt = sched_mode == SM_PREEMPT;
7091 } else if (!preempt && prev_state) {
7186 trace_sched_switch(preempt, prev, next, prev_state);
7390 * we do not want to preempt the current task. Just return..
7424 * recursion and tracing preempt enabling caused by the tracing
7426 * from userspace or just about to enter userspace, a preempt enable
7458 * Needs preempt disabled in case user_exit() is traced
7658 * --> -dl task blocks on mutex A and could preempt the
7988 __setup("preempt=", setup_preempt_mode);
8255 /* Set the preempt count _outside_ the spinlocks! */
8687 * preempt-disabled and RCU users of this state to go away such that