Lines Matching refs:condition
103 #define __wait_event_intr_timeout(wqh, condition, timo, prio) \ argument
118 __wait = !(condition); \
129 __ret = ((condition)) ? 1 : 0; \
132 } while (__ret > 0 && !(condition)); \
140 #define wait_event(wqh, condition) \ argument
142 if (!(condition)) \
143 __wait_event_intr_timeout(wqh, condition, 0, 0); \
146 #define wait_event_killable(wqh, condition) \ argument
149 if (!(condition)) \
150 __ret = __wait_event_intr_timeout(wqh, condition, 0, PCATCH); \
154 #define wait_event_interruptible(wqh, condition) \ argument
157 if (!(condition)) \
158 __ret = __wait_event_intr_timeout(wqh, condition, 0, PCATCH); \
162 #define __wait_event_intr_locked(wqh, condition) \ argument
182 } while (!(condition)); \
188 #define wait_event_interruptible_locked(wqh, condition) \ argument
191 if (!(condition)) \
192 __ret = __wait_event_intr_locked(wqh, condition); \
202 #define wait_event_timeout(wqh, condition, timo) \ argument
205 if (!(condition)) \
206 __ret = __wait_event_intr_timeout(wqh, condition, timo, 0); \
218 #define wait_event_interruptible_timeout(wqh, condition, timo) \ argument
221 if (!(condition)) \
222 __ret = __wait_event_intr_timeout(wqh, condition, timo, PCATCH);\
226 #define __wait_event_lock_irq(wqh, condition, mtx) \ argument
238 __wait = !(condition); \
243 } while (!(condition)); \
251 #define wait_event_lock_irq(wqh, condition, mtx) \ argument
253 if (!(condition)) \
254 __wait_event_lock_irq(wqh, condition, mtx); \