Lines Matching refs:state
72 long (*action)(long), long timeout, int state) in do_wait_for_common() argument
78 if (signal_pending_state(state, current)) { in do_wait_for_common()
83 __set_current_state(state); in do_wait_for_common()
99 long (*action)(long), long timeout, int state) in __wait_for_common() argument
106 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common()
115 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common() argument
117 return __wait_for_common(x, schedule_timeout, timeout, state); in wait_for_common()
121 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io() argument
123 return __wait_for_common(x, io_schedule_timeout, timeout, state); in wait_for_common_io()
252 int __sched wait_for_completion_state(struct completion *x, unsigned int state) in wait_for_completion_state() argument
254 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, state); in wait_for_completion_state()