Lines Matching refs:__state
2096 state = READ_ONCE(p->__state);
2255 if (READ_ONCE(p->__state) & state)
3054 if (task_on_cpu(rq, p) || READ_ONCE(p->__state) == TASK_WAKING) {
3351 unsigned int state = READ_ONCE(p->__state);
3768 WRITE_ONCE(p->__state, TASK_RUNNING);
4099 * After acquiring the lock the task will restore p::__state
4327 WRITE_ONCE(p->__state, TASK_WAKING);
4389 unsigned int state = READ_ONCE(p->__state);
4400 * Ensure we load p->on_rq after p->__state, otherwise it would be
4454 * p->__state to differentiate between these states.
4765 p->__state = TASK_NEW;
4883 WRITE_ONCE(p->__state, TASK_RUNNING);
5276 prev_state = READ_ONCE(prev->__state);
5970 if (!preempt && READ_ONCE(prev->__state) && prev->non_block_count) {
6668 prev_state = READ_ONCE(prev->__state);
6671 WRITE_ONCE(prev->__state, TASK_RUNNING);
6796 SCHED_WARN_ON(current->__state & TASK_RTLOCK_WAIT);
6862 WARN_ON_ONCE(current->__state);
9200 unsigned int state = READ_ONCE(p->__state);
9276 idle->__state = TASK_RUNNING;