Lines Matching refs:__state
1979 state = READ_ONCE(p->__state); in get_wchan()
2711 if (task_running(rq, p) || READ_ONCE(p->__state) == TASK_WAKING) { in affine_move_task()
3015 unsigned int state = READ_ONCE(p->__state); in set_task_cpu()
3228 if (match_state && unlikely(READ_ONCE(p->__state) != match_state)) in wait_task_inactive()
3243 if (!match_state || READ_ONCE(p->__state) == match_state) in wait_task_inactive()
3548 WRITE_ONCE(p->__state, TASK_RUNNING); in ttwu_do_wakeup()
3822 if (READ_ONCE(p->__state) & state) { in ttwu_state_match()
3992 WRITE_ONCE(p->__state, TASK_RUNNING); in try_to_wake_up()
4068 WRITE_ONCE(p->__state, TASK_WAKING); in try_to_wake_up()
4153 state = READ_ONCE(p->__state); in task_call_func()
4374 p->__state = TASK_NEW; in sched_fork()
4483 WRITE_ONCE(p->__state, TASK_RUNNING); in wake_up_new_task()
4845 prev_state = READ_ONCE(prev->__state); in finish_task_switch()
5533 if (!preempt && READ_ONCE(prev->__state) && prev->non_block_count) { in schedule_debug()
6183 prev_state = READ_ONCE(prev->__state); in __schedule()
6186 WRITE_ONCE(prev->__state, TASK_RUNNING); in __schedule()
6352 WARN_ON_ONCE(current->__state); in schedule_idle()
8535 unsigned int state = READ_ONCE(p->__state); in state_filter_match()
8613 idle->__state = TASK_RUNNING; in init_idle()
9975 if (READ_ONCE(task->__state) == TASK_NEW) in cpu_cgroup_can_attach()