Lines Matching refs:wq

212 #define ___wait_event(wq, condition, state, exclusive, ret, cmd)	\  argument
225 long __int = prepare_to_wait_event(&wq, &__wait, state);\
233 abort_exclusive_wait(&wq, &__wait, \
242 finish_wait(&wq, &__wait); \
246 #define __wait_event(wq, condition) \ argument
247 (void)___wait_event(wq, condition, TASK_UNINTERRUPTIBLE, 0, 0, \
262 #define wait_event(wq, condition) \ argument
267 __wait_event(wq, condition); \
270 #define __io_wait_event(wq, condition) \ argument
271 (void)___wait_event(wq, condition, TASK_UNINTERRUPTIBLE, 0, 0, \
277 #define io_wait_event(wq, condition) \ argument
282 __io_wait_event(wq, condition); \
285 #define __wait_event_freezable(wq, condition) \ argument
286 ___wait_event(wq, condition, TASK_INTERRUPTIBLE, 0, 0, \
301 #define wait_event_freezable(wq, condition) \ argument
306 __ret = __wait_event_freezable(wq, condition); \
310 #define __wait_event_timeout(wq, condition, timeout) \ argument
311 ___wait_event(wq, ___wait_cond_timeout(condition), \
334 #define wait_event_timeout(wq, condition, timeout) \ argument
339 __ret = __wait_event_timeout(wq, condition, timeout); \
343 #define __wait_event_freezable_timeout(wq, condition, timeout) \ argument
344 ___wait_event(wq, ___wait_cond_timeout(condition), \
352 #define wait_event_freezable_timeout(wq, condition, timeout) \ argument
357 __ret = __wait_event_freezable_timeout(wq, condition, timeout); \
361 #define __wait_event_cmd(wq, condition, cmd1, cmd2) \ argument
362 (void)___wait_event(wq, condition, TASK_UNINTERRUPTIBLE, 0, 0, \
379 #define wait_event_cmd(wq, condition, cmd1, cmd2) \ argument
383 __wait_event_cmd(wq, condition, cmd1, cmd2); \
386 #define __wait_event_interruptible(wq, condition) \ argument
387 ___wait_event(wq, condition, TASK_INTERRUPTIBLE, 0, 0, \
405 #define wait_event_interruptible(wq, condition) \ argument
410 __ret = __wait_event_interruptible(wq, condition); \
414 #define __wait_event_interruptible_timeout(wq, condition, timeout) \ argument
415 ___wait_event(wq, ___wait_cond_timeout(condition), \
439 #define wait_event_interruptible_timeout(wq, condition, timeout) \ argument
444 __ret = __wait_event_interruptible_timeout(wq, \
449 #define __wait_event_hrtimeout(wq, condition, timeout, state) \ argument
462 __ret = ___wait_event(wq, condition, state, 0, 0, \
490 #define wait_event_hrtimeout(wq, condition, timeout) \ argument
495 __ret = __wait_event_hrtimeout(wq, condition, timeout, \
516 #define wait_event_interruptible_hrtimeout(wq, condition, timeout) \ argument
521 __ret = __wait_event_hrtimeout(wq, condition, timeout, \
526 #define __wait_event_interruptible_exclusive(wq, condition) \ argument
527 ___wait_event(wq, condition, TASK_INTERRUPTIBLE, 1, 0, \
530 #define wait_event_interruptible_exclusive(wq, condition) \ argument
535 __ret = __wait_event_interruptible_exclusive(wq, condition);\
540 #define __wait_event_freezable_exclusive(wq, condition) \ argument
541 ___wait_event(wq, condition, TASK_INTERRUPTIBLE, 1, 0, \
544 #define wait_event_freezable_exclusive(wq, condition) \ argument
549 __ret = __wait_event_freezable_exclusive(wq, condition);\
554 #define __wait_event_interruptible_locked(wq, condition, exclusive, irq) \ argument
562 __add_wait_queue_tail(&(wq), &__wait); \
569 spin_unlock_irq(&(wq).lock); \
571 spin_unlock(&(wq).lock); \
574 spin_lock_irq(&(wq).lock); \
576 spin_lock(&(wq).lock); \
578 __remove_wait_queue(&(wq), &__wait); \
607 #define wait_event_interruptible_locked(wq, condition) \ argument
609 ? 0 : __wait_event_interruptible_locked(wq, condition, 0, 0))
634 #define wait_event_interruptible_locked_irq(wq, condition) \ argument
636 ? 0 : __wait_event_interruptible_locked(wq, condition, 0, 1))
665 #define wait_event_interruptible_exclusive_locked(wq, condition) \ argument
667 ? 0 : __wait_event_interruptible_locked(wq, condition, 1, 0))
696 #define wait_event_interruptible_exclusive_locked_irq(wq, condition) \ argument
698 ? 0 : __wait_event_interruptible_locked(wq, condition, 1, 1))
701 #define __wait_event_killable(wq, condition) \ argument
702 ___wait_event(wq, condition, TASK_KILLABLE, 0, 0, schedule())
719 #define wait_event_killable(wq, condition) \ argument
724 __ret = __wait_event_killable(wq, condition); \
729 #define __wait_event_lock_irq(wq, condition, lock, cmd) \ argument
730 (void)___wait_event(wq, condition, TASK_UNINTERRUPTIBLE, 0, 0, \
759 #define wait_event_lock_irq_cmd(wq, condition, lock, cmd) \ argument
763 __wait_event_lock_irq(wq, condition, lock, cmd); \
786 #define wait_event_lock_irq(wq, condition, lock) \ argument
790 __wait_event_lock_irq(wq, condition, lock, ); \
794 #define __wait_event_interruptible_lock_irq(wq, condition, lock, cmd) \ argument
795 ___wait_event(wq, condition, TASK_INTERRUPTIBLE, 0, 0, \
826 #define wait_event_interruptible_lock_irq_cmd(wq, condition, lock, cmd) \ argument
830 __ret = __wait_event_interruptible_lock_irq(wq, \
857 #define wait_event_interruptible_lock_irq(wq, condition, lock) \ argument
861 __ret = __wait_event_interruptible_lock_irq(wq, \
866 #define __wait_event_interruptible_lock_irq_timeout(wq, condition, \ argument
868 ___wait_event(wq, ___wait_cond_timeout(condition), \
898 #define wait_event_interruptible_lock_irq_timeout(wq, condition, lock, \ argument
904 wq, condition, lock, timeout); \