Lines Matching defs:state
63 * started to run but is not in state TASK_RUNNING. try_to_wake_up() returns
140 * accessing the task state.
184 * accessing the task state.
210 * accessing the task state.
246 void prepare_to_wait(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state)
255 set_current_state(state);
261 bool prepare_to_wait_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state)
272 set_current_state(state);
287 long prepare_to_wait_event(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry, int state)
293 if (signal_pending_state(state, current)) {
316 set_current_state(state);
374 * Sets current thread back to running state and removes
430 * p->state = mode; wq_entry->flags |= WQ_FLAG_WOKEN;
433 * schedule() if (p->state & mode)
434 * p->state = TASK_RUNNING; p->state = TASK_RUNNING;
446 * or woken_wake_function() sees our store to current->state.