/include/linux/ |
D | wait.h | 275 #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 …]
|
D | swait.h | 158 #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 …]
|
D | wait_bit.h | 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 [all …]
|
D | ratelimit.h | 47 #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__); \
|
D | once_lite.h | 13 #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); \
|
D | build_bug.h | 49 #define BUILD_BUG_ON(condition) \ argument 50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
|
D | rcuwait.h | 52 #define rcuwait_wait_event(w, condition, state) \ argument 62 if (condition) \
|
D | compiler_types.h | 335 # 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__)
|
D | bug.h | 81 #define CHECK_DATA_CORRUPTION(condition, fmt, ...) \ argument 83 bool corruption = unlikely(condition); \
|
D | mmiotrace.h | 14 unsigned long condition, struct pt_regs *);
|
D | dev_printk.h | 273 #define dev_WARN_ONCE(dev, condition, format, arg...) \ argument 274 WARN_ONCE(condition, "%s %s: " format, \
|
D | sched.h | 1795 #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/ |
D | bug.h | 71 #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/ |
D | drm_util.h | 63 #define for_each_if(condition) if (!(condition)) {} else argument
|
D | drm_print.h | 622 #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/ |
D | test.h | 519 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 …]
|
D | assert.h | 85 const char *condition; member 102 .condition = cond, \
|
/include/net/ |
D | lapb.h | 91 unsigned char condition; member
|
D | rose.h | 138 unsigned char state, condition, qbitincl, defer; member
|
D | netrom.h | 73 unsigned char state, condition, bpqext, window; member
|
D | x25.h | 155 unsigned char state, condition; member
|
D | ax25.h | 243 unsigned char condition, backoff; member
|
D | netlink.h | 384 #define __NLA_ENSURE(condition) BUILD_BUG_ON_ZERO(!(condition)) argument
|
/include/sound/ |
D | core.h | 429 #define snd_BUG_ON(condition) ({ \ argument 430 int __ret_warn_on = !!(condition); \
|
/include/uapi/linux/ |
D | input.h | 465 struct ff_condition_effect condition[2]; /* One for each axis */ member
|