Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 29) sorted by relevance

12

/include/linux/
Dwait.h265 #define ___wait_cond_timeout(condition) \ argument
267 bool __cond = (condition); \
291 #define ___wait_event(wq_head, condition, state, exclusive, ret, cmd) \ argument
301 if (condition) \
315 #define __wait_event(wq_head, condition) \ argument
316 (void)___wait_event(wq_head, condition, TASK_UNINTERRUPTIBLE, 0, 0, \
331 #define wait_event(wq_head, condition) \ argument
334 if (condition) \
336 __wait_event(wq_head, condition); \
339 #define __io_wait_event(wq_head, condition) \ argument
[all …]
Dswait.h158 #define ___swait_event(wq, condition, state, ret, cmd) \ argument
168 if (condition) \
182 #define __swait_event(wq, condition) \ argument
183 (void)___swait_event(wq, condition, TASK_UNINTERRUPTIBLE, 0, \
186 #define swait_event_exclusive(wq, condition) \ argument
188 if (condition) \
190 __swait_event(wq, condition); \
193 #define __swait_event_timeout(wq, condition, timeout) \ argument
194 ___swait_event(wq, ___wait_cond_timeout(condition), \
198 #define swait_event_timeout_exclusive(wq, condition, timeout) \ argument
[all …]
Dwait_bit.h242 #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
[all …]
Dratelimit.h47 #define WARN_ON_RATELIMIT(condition, state) ({ \ argument
48 bool __rtn_cond = !!(condition); \
53 #define WARN_RATELIMIT(condition, format, ...) \ argument
58 int rtn = !!(condition); \
68 #define WARN_ON_RATELIMIT(condition, state) \ argument
69 WARN_ON(condition)
71 #define WARN_RATELIMIT(condition, format, ...) \ argument
73 int rtn = WARN(condition, format, ##__VA_ARGS__); \
Dbuild_bug.h49 #define BUILD_BUG_ON(condition) \ argument
50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
Dcompiler_types.h294 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument
297 if (!(condition)) \
301 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument
304 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument
305 __compiletime_assert(condition, msg, prefix, suffix)
316 #define compiletime_assert(condition, msg) \ argument
317 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
Drcuwait.h56 #define rcuwait_wait_event(w, condition, state) \ argument
66 if (condition) \
Dbug.h71 #define CHECK_DATA_CORRUPTION(condition, fmt, ...) \ argument
73 bool corruption = unlikely(condition); \
Dseqno-fence.h29 enum seqno_fence_condition condition; member
106 fence->condition = cond; in seqno_fence_init()
Dfreezer.h267 #define wait_event_freezekillable_unsafe(wq, condition) \ argument
271 __retval = wait_event_killable(wq, (condition)); \
317 #define wait_event_freezekillable_unsafe(wq, condition) \ argument
318 wait_event_killable(wq, condition)
Dmmiotrace.h14 unsigned long condition, struct pt_regs *);
Ddev_printk.h241 #define dev_WARN_ONCE(dev, condition, format, arg...) \ argument
242 WARN_ONCE(condition, "%s %s: " format, \
Dsched.h1609 #define conditional_stopped_child_used_math(condition, child) \ argument
1610 do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= (condition) ? PF_USED_MATH : 0; } while (0)
1612 #define conditional_used_math(condition) conditional_stopped_child_used_math(condition, current) argument
/include/asm-generic/
Dbug.h63 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
101 #define WARN_ON_ONCE(condition) ({ \ argument
102 int __ret_warn_on = !!(condition); \
118 #define WARN_ON(condition) ({ \ argument
119 int __ret_warn_on = !!(condition); \
127 #define WARN(condition, format...) ({ \ argument
128 int __ret_warn_on = !!(condition); \
135 #define WARN_TAINT(condition, taint, format...) ({ \ argument
136 int __ret_warn_on = !!(condition); \
143 #define WARN_ON_ONCE(condition) ({ \ argument
[all …]
/include/drm/
Ddrm_util.h63 #define for_each_if(condition) if (!(condition)) {} else argument
Ddrm_print.h548 #define drm_WARN(drm, condition, format, arg...) \ argument
549 WARN(condition, "%s %s: " format, \
553 #define drm_WARN_ONCE(drm, condition, format, arg...) \ argument
554 WARN_ONCE(condition, "%s %s: " format, \
/include/kunit/
Dtest.h686 condition, \ argument
691 !!(condition) == !!expected_true, \
695 #condition, \
700 #define KUNIT_TRUE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
703 condition, \
708 #define KUNIT_TRUE_ASSERTION(test, assert_type, condition) \ argument
709 KUNIT_TRUE_MSG_ASSERTION(test, assert_type, condition, NULL)
711 #define KUNIT_FALSE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
714 condition, \
719 #define KUNIT_FALSE_ASSERTION(test, assert_type, condition) \ argument
[all …]
Dassert.h123 const char *condition; member
144 .condition = cond, \
/include/net/
Dlapb.h91 unsigned char condition; member
Drose.h136 unsigned char state, condition, qbitincl, defer; member
Dnetrom.h72 unsigned char state, condition, bpqext, window; member
Dx25.h155 unsigned char state, condition; member
Dax25.h250 unsigned char condition, backoff; member
/include/sound/
Dcore.h368 #define snd_BUG_ON(condition) ({ \ argument
369 int __ret_warn_on = !!(condition); \
/include/uapi/linux/
Dinput.h461 struct ff_condition_effect condition[2]; /* One for each axis */ member

12