Home
last modified time | relevance | path

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

/include/asm-generic/
Dbug.h55 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while(0) argument
85 #define WARN_ON(condition) ({ \ argument
86 int __ret_warn_on = !!(condition); \
94 #define WARN(condition, format...) ({ \ argument
95 int __ret_warn_on = !!(condition); \
102 #define WARN_TAINT(condition, taint, format...) ({ \ argument
103 int __ret_warn_on = !!(condition); \
115 #define BUG_ON(condition) do { if (condition) ; } while(0) argument
119 #define WARN_ON(condition) ({ \ argument
120 int __ret_warn_on = !!(condition); \
[all …]
/include/linux/
Dwait.h176 #define __wait_event(wq, condition) \ argument
182 if (condition) \
201 #define wait_event(wq, condition) \ argument
203 if (condition) \
205 __wait_event(wq, condition); \
208 #define __wait_event_timeout(wq, condition, ret) \ argument
214 if (condition) \
220 if (!ret && (condition)) \
242 #define wait_event_timeout(wq, condition, timeout) \ argument
245 if (!(condition)) \
[all …]
Dfreezer.h249 #define wait_event_freezekillable(wq, condition) \ argument
253 __retval = wait_event_killable(wq, (condition)); \
259 #define wait_event_freezekillable_unsafe(wq, condition) \ argument
263 __retval = wait_event_killable(wq, (condition)); \
268 #define wait_event_freezable(wq, condition) \ argument
272 __retval = wait_event_interruptible(wq, (condition)); \
277 #define wait_event_freezable_timeout(wq, condition, timeout) \ argument
281 __retval = wait_event_interruptible_timeout(wq, (condition), \
287 #define wait_event_freezable_exclusive(wq, condition) \ argument
291 __retval = wait_event_interruptible_exclusive(wq, condition); \
[all …]
Dratelimit.h46 #define WARN_ON_RATELIMIT(condition, state) \ argument
47 WARN_ON((condition) && __ratelimit(state))
49 #define WARN_RATELIMIT(condition, format, ...) \ argument
54 int rtn = !!(condition); \
64 #define WARN_ON_RATELIMIT(condition, state) \ argument
65 WARN_ON(condition)
67 #define WARN_RATELIMIT(condition, format, ...) \ argument
69 int rtn = WARN(condition, format, ##__VA_ARGS__); \
Dbug.h21 #define BUILD_BUG_ON(condition) (0) argument
71 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
73 #define BUILD_BUG_ON(condition) \ argument
74 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
Dcompiler.h315 # define __compiletime_error_fallback(condition) \ argument
316 do { ((void)sizeof(char[1 - 2 * condition])); } while (0)
318 # define __compiletime_error_fallback(condition) do { } while (0) argument
321 #define __compiletime_assert(condition, msg, prefix, suffix) \ argument
323 bool __cond = !(condition); \
330 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument
331 __compiletime_assert(condition, msg, prefix, suffix)
342 #define compiletime_assert(condition, msg) \ argument
343 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
Dmmiotrace.h13 unsigned long condition, struct pt_regs *);
Dtty.h663 #define wait_event_interruptible_tty(tty, wq, condition) \ argument
666 if (!(condition)) { \
667 __wait_event_interruptible_tty(tty, wq, condition, __ret); \
672 #define __wait_event_interruptible_tty(tty, wq, condition, ret) \ argument
678 if (condition) \
Dgenl_magic_func.h136 #define BUILD_BUG_ON(condition) ((void)BUILD_BUG_ON_ZERO(condition)) argument
Dsched.h1665 #define conditional_stopped_child_used_math(condition, child) \ argument
1666 do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= (condition) ? PF_USED_MATH : 0; } while (0)
1667 #define conditional_used_math(condition) \ argument
1668 conditional_stopped_child_used_math(condition, current)
Ddevice.h1092 #define dev_WARN_ONCE(dev, condition, format, arg...) \ argument
1093 WARN_ONCE(condition, "Device %s\n" format, \
Dusb.h175 enum usb_interface_condition condition; /* state of binding */ member
/include/net/irda/
Ddiscovery.h82 LAP_REASON condition; /* More info about the discovery */ member
/include/drm/
Ddrm_os_linux.h93 #define DRM_WAIT_ON( ret, queue, timeout, condition ) \ argument
101 if (condition) \
/include/net/
Dlapb.h89 unsigned char condition; member
Drose.h135 unsigned char state, condition, qbitincl, defer; member
Dnetrom.h69 unsigned char state, condition, bpqext, window; member
Dx25.h152 unsigned char state, condition; member
Dax25.h233 unsigned char condition, backoff; member
/include/sound/
Dcore.h396 #define snd_BUG_ON(condition) ({ \ argument
397 int __ret_warn_on = !!(condition); \
/include/uapi/linux/
Dinput.h1145 struct ff_condition_effect condition[2]; /* One for each axis */ member
/include/net/bluetooth/
Dhci.h702 __u8 condition[0]; member