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