Lines Matching defs:state
98 * Tracepoint called when the task is actually woken; p->state == TASK_RUNNNG.
115 unsigned int state;
122 * Preemption ignores task state, therefore preempted tasks are always
123 * RUNNING (we will not have dequeued if state != RUNNING).
130 * Decrement it by 1 (except TASK_RUNNING state i.e 0) before using
131 * it for left shift operation to get the correct task->state
134 state = task_state_index(p);
136 return state ? (1 << (state - 1)) : state;