Lines Matching refs:state
87 long (*action)(long), long timeout, int state) in do_wait_for_common() argument
93 if (signal_pending_state(state, current)) { in do_wait_for_common()
98 __set_current_state(state); in do_wait_for_common()
114 long (*action)(long), long timeout, int state) in __wait_for_common() argument
121 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common()
130 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common() argument
132 return __wait_for_common(x, schedule_timeout, timeout, state); in wait_for_common()
136 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io() argument
138 return __wait_for_common(x, io_schedule_timeout, timeout, state); in wait_for_common_io()
267 int __sched wait_for_completion_state(struct completion *x, unsigned int state) in wait_for_completion_state() argument
269 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, state); in wait_for_completion_state()