Home
last modified time | relevance | path

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

12

/include/linux/
A Dwait.h312 if (condition) \
322 if (condition) \
348 if (condition) \
363 if (condition) \
452 if (condition) \
477 if (condition) \
820 ((condition) \
847 ((condition) \
878 ((condition) \
909 ((condition) \
[all …]
A Dswait.h168 if (condition) \
182 #define __swait_event(wq, condition) \ argument
188 if (condition) \
190 __swait_event(wq, condition); \
201 if (!___wait_cond_timeout(condition)) \
213 if (!(condition)) \
226 if (!___wait_cond_timeout(condition)) \
228 condition, timeout); \
249 if (condition) \
251 __swait_event_idle(wq, condition); \
[all …]
A Dwait_bit.h266 if (condition) \
280 #define __wait_var_event(var, condition) \ argument
303 #define wait_var_event(var, condition) \ argument
306 if (condition) \
308 __wait_var_event(var, condition); \
334 if (condition) \
336 __wait_var_event_io(var, condition); \
365 if (!(condition)) \
399 if (!___wait_cond_timeout(condition)) \
429 if (!(condition)) \
[all …]
A Drcuwait.h41 #define ___rcuwait_wait_event(w, condition, state, ret, cmd) \ argument
51 if (condition) \
65 #define rcuwait_wait_event(w, condition, state) \ argument
66 ___rcuwait_wait_event(w, condition, state, 0, schedule())
68 #define __rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument
69 ___rcuwait_wait_event(w, ___wait_cond_timeout(condition), \
73 #define rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument
76 if (!___wait_cond_timeout(condition)) \
77 __ret = __rcuwait_wait_event_timeout(w, condition, \
A 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); \
A Dratelimit.h74 #define WARN_ON_RATELIMIT(condition, state) ({ \ argument
75 bool __rtn_cond = !!(condition); \
80 #define WARN_RATELIMIT(condition, format, ...) \ argument
85 int rtn = !!(condition); \
95 #define WARN_ON_RATELIMIT(condition, state) \ argument
96 WARN_ON(condition)
98 #define WARN_RATELIMIT(condition, format, ...) \ argument
100 int rtn = WARN(condition, format, ##__VA_ARGS__); \
A Dbuild_bug.h49 #define BUILD_BUG_ON(condition) \ argument
50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
A Dcompiler_types.h543 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument
552 if (!(condition)) \
556 # define __compiletime_assert(condition, msg, prefix, suffix) ((void)(condition)) argument
559 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument
560 __compiletime_assert(condition, msg, prefix, suffix)
571 #define compiletime_assert(condition, msg) \ argument
572 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
A Dbug.h87 #define CHECK_DATA_CORRUPTION(condition, addr, fmt, ...) \ argument
89 bool corruption = unlikely(condition); \
A Dutil_macros.h23 #define for_each_if(condition) if (!(condition)) {} else argument
A Dmmiotrace.h14 unsigned long condition, struct pt_regs *);
A Ddev_printk.h274 #define dev_WARN_ONCE(dev, condition, format, arg...) \ argument
275 WARN_ONCE(condition, "%s %s: " format, \
A Dsched.h1777 #define conditional_stopped_child_used_math(condition, child) \ argument
1778 do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= (condition) ? PF_USED_MATH : 0; } while (0)
1780 #define conditional_used_math(condition) conditional_stopped_child_used_math(condition, current) argument
A Dfb.h901 #define fb_WARN_ONCE(fb_info, condition, fmt, ...) \ argument
902 WARN_ONCE(condition, "fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
/include/asm-generic/
A Dbug.h71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
110 #define WARN_ON_ONCE(condition) ({ \ argument
111 int __ret_warn_on = !!(condition); \
122 #define WARN_ON(condition) ({ \ argument
147 #define WARN_ON_ONCE(condition) \ argument
166 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
170 #define WARN_ON(condition) ({ \ argument
184 #define WARN_ON_ONCE(condition) WARN_ON(condition) argument
185 #define WARN_ONCE(condition, format...) WARN(condition, format) argument
186 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) argument
[all …]
/include/kunit/
A Dtest.h750 condition, \
758 condition, \
939 #define KUNIT_EXPECT_TRUE(test, condition) \ argument
940 KUNIT_EXPECT_TRUE_MSG(test, condition, NULL)
945 condition, \
958 #define KUNIT_EXPECT_FALSE(test, condition) \ argument
964 condition, \
1319 #define KUNIT_ASSERT_TRUE(test, condition) \ argument
1320 KUNIT_ASSERT_TRUE_MSG(test, condition, NULL)
1325 condition, \
[all …]
A Dassert.h85 const char *condition; member
/include/drm/
A Ddrm_print.h778 #define drm_WARN(drm, condition, format, arg...) \ argument
779 WARN(condition, "%s %s: [drm] " format, \
783 #define drm_WARN_ONCE(drm, condition, format, arg...) \ argument
784 WARN_ONCE(condition, "%s %s: [drm] " format, \
/include/net/
A Dlapb.h91 unsigned char condition; member
A Drose.h138 unsigned char state, condition, qbitincl, defer; member
A Dnetrom.h73 unsigned char state, condition, bpqext, window; member
A Dx25.h155 unsigned char state, condition; member
A Dax25.h246 unsigned char condition, backoff; member
/include/sound/
A Dcore.h369 #define snd_BUG_ON(condition) ({ \ argument
370 int __ret_warn_on = !!(condition); \
/include/uapi/linux/
A Dinput.h466 struct ff_condition_effect condition[2]; /* One for each axis */ member

Completed in 59 milliseconds

12