Home | History | Annotate | Download | only in linux

Lines Matching refs:wq

155 #define __wait_event(wq, condition) 					\
160 prepare_to_wait(&wq, &__wait, TASK_UNINTERRUPTIBLE); \
165 finish_wait(&wq, &__wait); \
170 * @wq: the waitqueue to wait on
175 * the waitqueue @wq is woken up.
180 #define wait_event(wq, condition) \
184 __wait_event(wq, condition); \
187 #define __wait_event_timeout(wq, condition, ret) \
192 prepare_to_wait(&wq, &__wait, TASK_UNINTERRUPTIBLE); \
199 finish_wait(&wq, &__wait); \
204 * @wq: the waitqueue to wait on
210 * the waitqueue @wq is woken up.
218 #define wait_event_timeout(wq, condition, timeout) \
222 __wait_event_timeout(wq, condition, __ret); \
226 #define __wait_event_interruptible(wq, condition, ret) \
231 prepare_to_wait(&wq, &__wait, TASK_INTERRUPTIBLE); \
241 finish_wait(&wq, &__wait); \
246 * @wq: the waitqueue to wait on
251 * The @condition is checked each time the waitqueue @wq is woken up.
259 #define wait_event_interruptible(wq, condition) \
263 __wait_event_interruptible(wq, condition, __ret); \
267 #define __wait_event_interruptible_timeout(wq, condition, ret) \
272 prepare_to_wait(&wq, &__wait, TASK_INTERRUPTIBLE); \
284 finish_wait(&wq, &__wait); \
289 * @wq: the waitqueue to wait on
295 * The @condition is checked each time the waitqueue @wq is woken up.
304 #define wait_event_interruptible_timeout(wq, condition, timeout) \
308 __wait_event_interruptible_timeout(wq, condition, __ret); \
312 #define __wait_event_interruptible_exclusive(wq, condition, ret) \
317 prepare_to_wait_exclusive(&wq, &__wait, \
328 finish_wait(&wq, &__wait); \
331 #define wait_event_interruptible_exclusive(wq, condition) \
335 __wait_event_interruptible_exclusive(wq, condition, __ret);\