Lines Matching refs:timeout
389 #define __wait_event_timeout(wq_head, condition, timeout) \ argument
391 TASK_UNINTERRUPTIBLE, 0, timeout, \
413 #define wait_event_timeout(wq_head, condition, timeout) \ argument
415 long __ret = timeout; \
418 __ret = __wait_event_timeout(wq_head, condition, timeout); \
422 #define __wait_event_freezable_timeout(wq_head, condition, timeout) \ argument
424 (TASK_INTERRUPTIBLE|TASK_FREEZABLE), 0, timeout, \
431 #define wait_event_freezable_timeout(wq_head, condition, timeout) \ argument
433 long __ret = timeout; \
436 __ret = __wait_event_freezable_timeout(wq_head, condition, timeout); \
506 #define __wait_event_interruptible_timeout(wq_head, condition, timeout) \ argument
508 TASK_INTERRUPTIBLE, 0, timeout, \
531 #define wait_event_interruptible_timeout(wq_head, condition, timeout) \ argument
533 long __ret = timeout; \
537 condition, timeout); \
541 #define __wait_event_hrtimeout(wq_head, condition, timeout, state) \ argument
548 if ((timeout) != KTIME_MAX) { \
549 hrtimer_set_expires_range_ns(&__t.timer, timeout, \
582 #define wait_event_hrtimeout(wq_head, condition, timeout) \ argument
587 __ret = __wait_event_hrtimeout(wq_head, condition, timeout, \
608 #define wait_event_interruptible_hrtimeout(wq, condition, timeout) \ argument
613 __ret = __wait_event_hrtimeout(wq, condition, timeout, \
702 #define __wait_event_idle_timeout(wq_head, condition, timeout) \ argument
704 TASK_IDLE, 0, timeout, \
726 #define wait_event_idle_timeout(wq_head, condition, timeout) \ argument
728 long __ret = timeout; \
731 __ret = __wait_event_idle_timeout(wq_head, condition, timeout); \
735 #define __wait_event_idle_exclusive_timeout(wq_head, condition, timeout) \ argument
737 TASK_IDLE, 1, timeout, \
763 #define wait_event_idle_exclusive_timeout(wq_head, condition, timeout) \ argument
765 long __ret = timeout; \
768 __ret = __wait_event_idle_exclusive_timeout(wq_head, condition, timeout);\
964 #define __wait_event_killable_timeout(wq_head, condition, timeout) \ argument
966 TASK_KILLABLE, 0, timeout, \
991 #define wait_event_killable_timeout(wq_head, condition, timeout) \ argument
993 long __ret = timeout; \
997 condition, timeout); \
1139 #define __wait_event_lock_irq_timeout(wq_head, condition, lock, timeout, state) \ argument
1141 state, 0, timeout, \
1171 timeout) \
1173 long __ret = timeout; \
1176 wq_head, condition, lock, timeout, \
1181 #define wait_event_lock_irq_timeout(wq_head, condition, lock, timeout) \ argument
1183 long __ret = timeout; \
1186 wq_head, condition, lock, timeout, \
1198 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout);