Lines Matching refs:prev_state
5242 unsigned int prev_state; in finish_task_switch() local
5273 prev_state = READ_ONCE(prev->__state); in finish_task_switch()
5307 if (unlikely(prev_state == TASK_DEAD)) { in finish_task_switch()
6613 unsigned long prev_state; in __schedule() local
6658 prev_state = READ_ONCE(prev->__state); in __schedule()
6659 if (!(sched_mode & SM_MASK_PREEMPT) && prev_state) { in __schedule()
6660 if (signal_pending_state(prev_state, prev)) { in __schedule()
6664 (prev_state & TASK_UNINTERRUPTIBLE) && in __schedule()
6665 !(prev_state & TASK_NOLOAD) && in __schedule()
6666 !(prev_state & TASK_FROZEN); in __schedule()
6726 trace_sched_switch(sched_mode & SM_MASK_PREEMPT, prev, next, prev_state); in __schedule()
6850 enum ctx_state prev_state = exception_enter(); in schedule_user() local
6852 exception_exit(prev_state); in schedule_user()
7031 enum ctx_state prev_state; in preempt_schedule_irq() local
7036 prev_state = exception_enter(); in preempt_schedule_irq()
7046 exception_exit(prev_state); in preempt_schedule_irq()