Lines Matching refs:__state
2082 state = READ_ONCE(p->__state); in get_wchan()
2239 if (READ_ONCE(p->__state) & state) in __task_state_match()
3050 if (task_on_cpu(rq, p) || READ_ONCE(p->__state) == TASK_WAKING) { in affine_move_task()
3347 unsigned int state = READ_ONCE(p->__state); in set_task_cpu()
3766 WRITE_ONCE(p->__state, TASK_RUNNING); in ttwu_do_wakeup()
4299 WRITE_ONCE(p->__state, TASK_WAKING); in try_to_wake_up()
4361 unsigned int state = READ_ONCE(p->__state); in __task_needs_rq_lock()
4740 p->__state = TASK_NEW; in sched_fork()
4858 WRITE_ONCE(p->__state, TASK_RUNNING); in wake_up_new_task()
5251 prev_state = READ_ONCE(prev->__state); in finish_task_switch()
5946 if (!preempt && READ_ONCE(prev->__state) && prev->non_block_count) { in schedule_debug()
6628 prev_state = READ_ONCE(prev->__state); in __schedule()
6631 WRITE_ONCE(prev->__state, TASK_RUNNING); in __schedule()
6746 SCHED_WARN_ON(current->__state & TASK_RTLOCK_WAIT); in sched_submit_work()
6798 WARN_ON_ONCE(current->__state); in schedule_idle()
9191 unsigned int state = READ_ONCE(p->__state); in state_filter_match()
9267 idle->__state = TASK_RUNNING; in init_idle()