Lines Matching refs:__state
2163 state = READ_ONCE(p->__state);
2307 if (READ_ONCE(p->__state) & state)
3052 if (task_on_cpu(rq, p) || READ_ONCE(p->__state) == TASK_WAKING) {
3343 unsigned int state = READ_ONCE(p->__state);
3729 WRITE_ONCE(p->__state, TASK_RUNNING);
4119 * After acquiring the lock the task will restore p::__state
4357 WRITE_ONCE(p->__state, TASK_WAKING);
4426 unsigned int state = READ_ONCE(p->__state);
4437 * Ensure we load p->on_rq after p->__state, otherwise it would be
4489 * p->__state to differentiate between these states.
4811 p->__state = TASK_NEW;
4948 WRITE_ONCE(p->__state, TASK_RUNNING);
5354 prev_state = READ_ONCE(prev->__state);
6075 if (!preempt && READ_ONCE(prev->__state) && prev->non_block_count) {
6689 * is pending, marks the task's __state as RUNNING (and clear
6700 WRITE_ONCE(p->__state, TASK_RUNNING);
6750 unsigned long state = READ_ONCE(donor->__state);
7121 prev_state = READ_ONCE(prev->__state);
7280 WARN_ON_ONCE(current->__state & TASK_RTLOCK_WAIT);
7346 WARN_ON_ONCE(current->__state);
8188 unsigned int state = READ_ONCE(p->__state);
8259 idle->__state = TASK_RUNNING;