Lines Matching refs:condition
34 * spin_event_timeout - spin until a condition gets true or a timeout elapses
35 * @condition: a C expression to evalate
38 * @condition
40 * The process spins until the condition evaluates to true (non-zero) or the
42 * @condition when the loop terminates. This allows you to determine the cause
53 #define spin_event_timeout(condition, timeout, delay) \
55 typeof(condition) __ret; \
60 while (!(__ret = (condition)) && \
65 while (!(__ret = (condition)) && \
71 __ret = (condition); \