Lines Matching defs:state
180 * Tracepoint called when the task is actually woken; p->state == TASK_RUNNING.
199 unsigned int state;
206 * Preemption ignores task state, therefore preempted tasks are always
207 * RUNNING (we will not have dequeued if state != RUNNING).
214 * Decrement it by 1 (except TASK_RUNNING state i.e 0) before using
215 * it for left shift operation to get the correct task->state
218 state = __task_state_index(prev_state, p->exit_state);
220 return state ? (1 << (state - 1)) : state;