Lines Matching refs:COND
243 #define __wait_for(OP, COND, US, Wmin, Wmax) ({ \ argument
253 if (COND) { \
268 #define _wait_for(COND, US, Wmin, Wmax) __wait_for(, (COND), (US), (Wmin), \ argument
270 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument
279 #define _wait_for_atomic(COND, US, ATOMIC) \ argument
295 if (COND) { \
316 #define wait_for_us(COND, US) \ argument
321 ret__ = _wait_for((COND), (US), 10, 10); \
323 ret__ = _wait_for_atomic((COND), (US), 0); \
327 #define wait_for_atomic_us(COND, US) \ argument
331 _wait_for_atomic((COND), (US), 1); \
334 #define wait_for_atomic(COND, MS) wait_for_atomic_us((COND), (MS) * 1000) argument