Lines Matching full:timeout

82 		   long (*action)(long), long timeout, int state)  in do_wait_for_common()  argument
89 timeout = -ERESTARTSYS; in do_wait_for_common()
95 timeout = action(timeout); in do_wait_for_common()
97 } while (!x->done && timeout); in do_wait_for_common()
100 return timeout; in do_wait_for_common()
104 return timeout ?: 1; in do_wait_for_common()
109 long (*action)(long), long timeout, int state) in __wait_for_common() argument
116 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common()
121 return timeout; in __wait_for_common()
125 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common() argument
127 return __wait_for_common(x, schedule_timeout, timeout, state); in wait_for_common()
131 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io() argument
133 return __wait_for_common(x, io_schedule_timeout, timeout, state); in wait_for_common_io()
141 * interruptible and there is no timeout.
143 * See also similar routines (i.e. wait_for_completion_timeout()) with timeout
153 * wait_for_completion_timeout: - waits for completion of a task (w/timeout)
155 * @timeout: timeout value in jiffies
158 * specified timeout to expire. The timeout is in jiffies. It is not
162 * till timeout) if completed.
165 wait_for_completion_timeout(struct completion *x, unsigned long timeout) in wait_for_completion_timeout() argument
167 return wait_for_common(x, timeout, TASK_UNINTERRUPTIBLE); in wait_for_completion_timeout()
176 * interruptible and there is no timeout. The caller is accounted as waiting
186 * wait_for_completion_io_timeout: - waits for completion of a task (w/timeout)
188 * @timeout: timeout value in jiffies
191 * specified timeout to expire. The timeout is in jiffies. It is not
196 * till timeout) if completed.
199 wait_for_completion_io_timeout(struct completion *x, unsigned long timeout) in wait_for_completion_io_timeout() argument
201 return wait_for_common_io(x, timeout, TASK_UNINTERRUPTIBLE); in wait_for_completion_io_timeout()
227 * @timeout: timeout value in jiffies
230 * specified timeout to expire. It is interruptible. The timeout is in jiffies.
233 * or number of jiffies left till timeout) if completed.
237 unsigned long timeout) in wait_for_completion_interruptible_timeout() argument
239 return wait_for_common(x, timeout, TASK_INTERRUPTIBLE); in wait_for_completion_interruptible_timeout()
275 * @timeout: timeout value in jiffies
278 * signaled or for a specified timeout to expire. It can be
279 * interrupted by a kill signal. The timeout is in jiffies.
282 * or number of jiffies left till timeout) if completed.
286 unsigned long timeout) in wait_for_completion_killable_timeout() argument
288 return wait_for_common(x, timeout, TASK_KILLABLE); in wait_for_completion_killable_timeout()