Lines Matching refs:condition
242 #define ___wait_var_event(var, condition, state, exclusive, ret, cmd) \ argument
255 if (condition) \
269 #define __wait_var_event(var, condition) \ argument
270 ___wait_var_event(var, condition, TASK_UNINTERRUPTIBLE, 0, 0, \
273 #define wait_var_event(var, condition) \ argument
276 if (condition) \
278 __wait_var_event(var, condition); \
281 #define __wait_var_event_killable(var, condition) \ argument
282 ___wait_var_event(var, condition, TASK_KILLABLE, 0, 0, \
285 #define wait_var_event_killable(var, condition) \ argument
289 if (!(condition)) \
290 __ret = __wait_var_event_killable(var, condition); \
294 #define __wait_var_event_timeout(var, condition, timeout) \ argument
295 ___wait_var_event(var, ___wait_cond_timeout(condition), \
299 #define wait_var_event_timeout(var, condition, timeout) \ argument
303 if (!___wait_cond_timeout(condition)) \
304 __ret = __wait_var_event_timeout(var, condition, timeout); \
308 #define __wait_var_event_interruptible(var, condition) \ argument
309 ___wait_var_event(var, condition, TASK_INTERRUPTIBLE, 0, 0, \
312 #define wait_var_event_interruptible(var, condition) \ argument
316 if (!(condition)) \
317 __ret = __wait_var_event_interruptible(var, condition); \