Home
last modified time | relevance | path

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

12

/include/linux/
Dwait.h275 #define ___wait_cond_timeout(condition) \ argument
277 bool __cond = (condition); \
301 #define ___wait_event(wq_head, condition, state, exclusive, ret, cmd) \ argument
311 if (condition) \
325 #define __wait_event(wq_head, condition) \ argument
326 (void)___wait_event(wq_head, condition, TASK_UNINTERRUPTIBLE, 0, 0, \
341 #define wait_event(wq_head, condition) \ argument
344 if (condition) \
346 __wait_event(wq_head, condition); \
349 #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__); \
Donce_lite.h13 #define __ONCE_LITE_IF(condition) \ argument
16 bool __ret_cond = !!(condition); \
26 #define DO_ONCE_LITE_IF(condition, func, ...) \ argument
28 bool __ret_do_once = !!(condition); \
Dbuild_bug.h49 #define BUILD_BUG_ON(condition) \ argument
50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
Drcuwait.h52 #define rcuwait_wait_event(w, condition, state) \ argument
62 if (condition) \
Dcompiler_types.h335 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument
344 if (!(condition)) \
348 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument
351 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument
352 __compiletime_assert(condition, msg, prefix, suffix)
363 #define compiletime_assert(condition, msg) \ argument
364 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
Dbug.h81 #define CHECK_DATA_CORRUPTION(condition, fmt, ...) \ argument
83 bool corruption = unlikely(condition); \
Dmmiotrace.h14 unsigned long condition, struct pt_regs *);
Ddev_printk.h273 #define dev_WARN_ONCE(dev, condition, format, arg...) \ argument
274 WARN_ONCE(condition, "%s %s: " format, \
Dsched.h1795 #define conditional_stopped_child_used_math(condition, child) \ argument
1796 do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= (condition) ? PF_USED_MATH : 0; } while (0)
1798 #define conditional_used_math(condition) conditional_stopped_child_used_math(condition, current) argument
/include/asm-generic/
Dbug.h71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
109 #define WARN_ON_ONCE(condition) ({ \ argument
110 int __ret_warn_on = !!(condition); \
121 #define WARN_ON(condition) ({ \ argument
122 int __ret_warn_on = !!(condition); \
130 #define WARN(condition, format...) ({ \ argument
131 int __ret_warn_on = !!(condition); \
138 #define WARN_TAINT(condition, taint, format...) ({ \ argument
139 int __ret_warn_on = !!(condition); \
146 #define WARN_ON_ONCE(condition) \ argument
[all …]
/include/drm/
Ddrm_util.h63 #define for_each_if(condition) if (!(condition)) {} else argument
Ddrm_print.h622 #define drm_WARN(drm, condition, format, arg...) \ argument
623 WARN(condition, "%s %s: " format, \
627 #define drm_WARN_ONCE(drm, condition, format, arg...) \ argument
628 WARN_ONCE(condition, "%s %s: " format, \
/include/kunit/
Dtest.h519 condition, \ argument
524 if (likely(!!(condition) == !!expected_true)) \
531 KUNIT_INIT_UNARY_ASSERT_STRUCT(#condition, \
537 #define KUNIT_TRUE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
540 condition, \
545 #define KUNIT_FALSE_MSG_ASSERTION(test, assert_type, condition, fmt, ...) \ argument
548 condition, \
691 #define KUNIT_EXPECT_TRUE(test, condition) \ argument
692 KUNIT_EXPECT_TRUE_MSG(test, condition, NULL)
694 #define KUNIT_EXPECT_TRUE_MSG(test, condition, fmt, ...) \ argument
[all …]
Dassert.h85 const char *condition; member
102 .condition = cond, \
/include/net/
Dlapb.h91 unsigned char condition; member
Drose.h138 unsigned char state, condition, qbitincl, defer; member
Dnetrom.h73 unsigned char state, condition, bpqext, window; member
Dx25.h155 unsigned char state, condition; member
Dax25.h243 unsigned char condition, backoff; member
Dnetlink.h384 #define __NLA_ENSURE(condition) BUILD_BUG_ON_ZERO(!(condition)) argument
/include/sound/
Dcore.h429 #define snd_BUG_ON(condition) ({ \ argument
430 int __ret_warn_on = !!(condition); \
/include/uapi/linux/
Dinput.h465 struct ff_condition_effect condition[2]; /* One for each axis */ member

12