| /kernel/linux/linux-4.19/include/linux/ |
| D | wait.h | 220 #define ___wait_cond_timeout(condition) \ argument 222 bool __cond = (condition); \ 239 * to wrap the condition. 246 #define ___wait_event(wq_head, condition, state, exclusive, ret, cmd) \ argument 256 if (condition) \ 270 #define __wait_event(wq_head, condition) \ argument 271 (void)___wait_event(wq_head, condition, TASK_UNINTERRUPTIBLE, 0, 0, \ 275 * wait_event - sleep until a condition gets true 277 * @condition: a C expression for the event to wait for 280 * @condition evaluates to true. The @condition is checked each time [all …]
|
| D | swait.h | 171 #define ___swait_event(wq, condition, state, ret, cmd) \ argument 181 if (condition) \ 195 #define __swait_event(wq, condition) \ argument 196 (void)___swait_event(wq, condition, TASK_UNINTERRUPTIBLE, 0, \ 199 #define swait_event_exclusive(wq, condition) \ argument 201 if (condition) \ 203 __swait_event(wq, condition); \ 206 #define __swait_event_timeout(wq, condition, timeout) \ argument 207 ___swait_event(wq, ___wait_cond_timeout(condition), \ 211 #define swait_event_timeout_exclusive(wq, condition, timeout) \ argument [all …]
|
| D | build_bug.h | 13 #define BUILD_BUG_ON(condition) (0) argument 24 * Force a compilation error if condition is true, but also produce a 39 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied 41 * @condition: the condition which the compiler should know is false. 48 * BUILD_BUG_ON - break compile if a condition is true. 49 * @condition: the condition which the compiler should know is false. 52 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to 66 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument 68 #define BUILD_BUG_ON(condition) \ argument 69 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
|
| D | ratelimit.h | 81 #define WARN_ON_RATELIMIT(condition, state) ({ \ argument 82 bool __rtn_cond = !!(condition); \ 87 #define WARN_RATELIMIT(condition, format, ...) \ argument 92 int rtn = !!(condition); \ 102 #define WARN_ON_RATELIMIT(condition, state) \ argument 103 WARN_ON(condition) 105 #define WARN_RATELIMIT(condition, format, ...) \ argument 107 int rtn = WARN(condition, format, ##__VA_ARGS__); \
|
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | wait.h | 264 #define ___wait_cond_timeout(condition) \ argument 266 bool __cond = (condition); \ 283 * to wrap the condition. 290 #define ___wait_event(wq_head, condition, state, exclusive, ret, cmd) \ argument 300 if (condition) \ 314 #define __wait_event(wq_head, condition) \ argument 315 (void)___wait_event(wq_head, condition, TASK_UNINTERRUPTIBLE, 0, 0, \ 319 * wait_event - sleep until a condition gets true 321 * @condition: a C expression for the event to wait for 324 * @condition evaluates to true. The @condition is checked each time [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 | build_bug.h | 11 * Force a compilation error if condition is true, but also produce a 33 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied 35 * @condition: the condition which the compiler should know is false. 42 * BUILD_BUG_ON - break compile if a condition is true. 43 * @condition: the condition which the compiler should know is false. 46 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to 49 #define BUILD_BUG_ON(condition) \ argument 50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) 73 * Also note that BUILD_BUG_ON() fails the build if the condition is
|
| 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__); \
|
| /kernel/linux/linux-4.19/include/asm-generic/ |
| D | bug.h | 61 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument 68 #define WARN_ON_ONCE(condition) ({ \ argument 69 int __ret_warn_on = !!(condition); \ 123 #define WARN_ON(condition) ({ \ argument 124 int __ret_warn_on = !!(condition); \ 132 #define WARN(condition, format...) ({ \ argument 133 int __ret_warn_on = !!(condition); \ 140 #define WARN_TAINT(condition, taint, format...) ({ \ argument 141 int __ret_warn_on = !!(condition); \ 148 #define WARN_ON_ONCE(condition) ({ \ argument [all …]
|
| /kernel/linux/linux-5.10/include/asm-generic/ |
| D | bug.h | 63 #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 …]
|
| /kernel/linux/linux-5.10/tools/include/linux/ |
| D | build_bug.h | 11 * Force a compilation error if condition is true, but also produce a 33 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied 35 * @condition: the condition which the compiler should know is false. 42 * BUILD_BUG_ON - break compile if a condition is true. 43 * @condition: the condition which the compiler should know is false. 46 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to 49 #define BUILD_BUG_ON(condition) \ argument 50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) 73 * Also note that BUILD_BUG_ON() fails the build if the condition is
|
| D | compiler.h | 14 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument 17 if (!(condition)) \ 21 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument 24 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument 25 __compiletime_assert(condition, msg, prefix, suffix) 28 * compiletime_assert - break build and emit msg if condition is false 29 * @condition: a compile-time constant condition to check 30 * @msg: a message to emit if condition is false 33 * supplied condition is *false*, emitting the supplied error message if the 36 #define compiletime_assert(condition, msg) \ argument [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
| D | delay.h | 34 * spin_event_timeout - spin until a condition gets true or a timeout elapses 35 * @condition: a C expression to evalate 38 * @condition 40 * The process spins until the condition evaluates to true (non-zero) or the 42 * @condition when the loop terminates. This allows you to determine the cause 53 #define spin_event_timeout(condition, timeout, delay) \ argument 55 typeof(condition) __ret; \ 60 while (!(__ret = (condition)) && \ 65 while (!(__ret = (condition)) && \ 71 __ret = (condition); \
|
| /kernel/linux/linux-5.10/net/ax25/ |
| D | ax25_std_in.c | 160 ax25->condition = 0x00; in ax25_std_state3_machine() 179 ax25->condition &= ~AX25_COND_PEER_RX_BUSY; in ax25_std_state3_machine() 181 ax25->condition |= AX25_COND_PEER_RX_BUSY; in ax25_std_state3_machine() 193 ax25->condition &= ~AX25_COND_PEER_RX_BUSY; in ax25_std_state3_machine() 214 if (ax25->condition & AX25_COND_PEER_RX_BUSY) { in ax25_std_state3_machine() 219 if (ax25->condition & AX25_COND_OWN_RX_BUSY) { in ax25_std_state3_machine() 226 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_state3_machine() 228 ax25->condition &= ~AX25_COND_REJECT; in ax25_std_state3_machine() 232 if (!(ax25->condition & AX25_COND_ACK_PENDING)) { in ax25_std_state3_machine() 233 ax25->condition |= AX25_COND_ACK_PENDING; in ax25_std_state3_machine() [all …]
|
| /kernel/linux/linux-4.19/net/ax25/ |
| D | ax25_std_in.c | 163 ax25->condition = 0x00; in ax25_std_state3_machine() 182 ax25->condition &= ~AX25_COND_PEER_RX_BUSY; in ax25_std_state3_machine() 184 ax25->condition |= AX25_COND_PEER_RX_BUSY; in ax25_std_state3_machine() 196 ax25->condition &= ~AX25_COND_PEER_RX_BUSY; in ax25_std_state3_machine() 217 if (ax25->condition & AX25_COND_PEER_RX_BUSY) { in ax25_std_state3_machine() 222 if (ax25->condition & AX25_COND_OWN_RX_BUSY) { in ax25_std_state3_machine() 229 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_state3_machine() 231 ax25->condition &= ~AX25_COND_REJECT; in ax25_std_state3_machine() 235 if (!(ax25->condition & AX25_COND_ACK_PENDING)) { in ax25_std_state3_machine() 236 ax25->condition |= AX25_COND_ACK_PENDING; in ax25_std_state3_machine() [all …]
|
| /kernel/linux/linux-4.19/tools/include/asm/ |
| D | bug.h | 9 #define WARN(condition, format...) ({ \ argument 10 int __ret_warn_on = !!(condition); \ 16 #define WARN_ON(condition) ({ \ argument 17 int __ret_warn_on = !!(condition); \ 24 #define WARN_ON_ONCE(condition) ({ \ argument 26 int __ret_warn_once = !!(condition); \ 35 #define WARN_ONCE(condition, format...) ({ \ argument 37 int __ret_warn_once = !!(condition); \
|
| /kernel/linux/linux-5.10/tools/include/asm/ |
| D | bug.h | 10 #define WARN(condition, format...) ({ \ argument 11 int __ret_warn_on = !!(condition); \ 17 #define WARN_ON(condition) ({ \ argument 18 int __ret_warn_on = !!(condition); \ 25 #define WARN_ON_ONCE(condition) ({ \ argument 27 int __ret_warn_once = !!(condition); \ 36 #define WARN_ONCE(condition, format...) ({ \ argument 38 int __ret_warn_once = !!(condition); \
|
| /kernel/linux/linux-4.19/arch/powerpc/include/asm/ |
| D | delay.h | 38 * spin_event_timeout - spin until a condition gets true or a timeout elapses 39 * @condition: a C expression to evalate 42 * @condition 44 * The process spins until the condition evaluates to true (non-zero) or the 46 * @condition when the loop terminates. This allows you to determine the cause 57 #define spin_event_timeout(condition, timeout, delay) \ argument 59 typeof(condition) __ret; \ 64 while (!(__ret = (condition)) && \ 69 while (!(__ret = (condition)) && \ 75 __ret = (condition); \
|
| /kernel/linux/linux-5.10/drivers/input/joystick/iforce/ |
| D | iforce-ff.c | 162 iforce_dump_packet(iforce, "condition", FF_CMD_CONDITION, data); in make_condition_modifier() 178 * Analyse the changes in an effect, and tell if we need to send an condition 195 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation in need_condition_modifier() 196 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation in need_condition_modifier() 197 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff in need_condition_modifier() 198 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff in need_condition_modifier() 199 || old->u.condition[i].deadband != new->u.condition[i].deadband in need_condition_modifier() 200 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier() 463 * Upload an condition effect. Those are for example friction, inertia, springs... 484 effect->u.condition[0].right_saturation, in iforce_upload_condition() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | opcodes.c | 5 * A32 condition code lookup feature moved from nwfpe/fpopcode.c 14 * condition code lookup table 17 * bit position in short is condition code: NZCV 40 * ARM_OPCODE_CONDTEST_FAIL - if condition fails 41 * ARM_OPCODE_CONDTEST_PASS - if condition passes (including AL) 42 * ARM_OPCODE_CONDTEST_UNCOND - if NV condition, or separate unconditional 45 * Code that tests whether a conditional instruction would pass its condition 48 * Code that tests if a condition means that the instruction would be executed
|
| /kernel/linux/linux-4.19/arch/arm/kernel/ |
| D | opcodes.c | 4 * A32 condition code lookup feature moved from nwfpe/fpopcode.c 17 * condition code lookup table 20 * bit position in short is condition code: NZCV 43 * ARM_OPCODE_CONDTEST_FAIL - if condition fails 44 * ARM_OPCODE_CONDTEST_PASS - if condition passes (including AL) 45 * ARM_OPCODE_CONDTEST_UNCOND - if NV condition, or separate unconditional 48 * Code that tests whether a conditional instruction would pass its condition 51 * Code that tests if a condition means that the instruction would be executed
|
| /kernel/linux/linux-4.19/drivers/input/joystick/iforce/ |
| D | iforce-ff.c | 177 iforce_dump_packet(iforce, "condition", FF_CMD_CONDITION, data); in make_condition_modifier() 193 * Analyse the changes in an effect, and tell if we need to send an condition 210 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation in need_condition_modifier() 211 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation in need_condition_modifier() 212 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff in need_condition_modifier() 213 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff in need_condition_modifier() 214 || old->u.condition[i].deadband != new->u.condition[i].deadband in need_condition_modifier() 215 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier() 478 * Upload an condition effect. Those are for example friction, inertia, springs... 499 effect->u.condition[0].right_saturation, in iforce_upload_condition() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/nwfpe/ |
| D | fpa11_cprt.c | 153 /* Check for unordered condition and convert all operands to 80-bit in PerformComparison() 221 /* test for less than condition */ in PerformComparison() 225 /* test for equal condition */ in PerformComparison() 229 /* test for greater than or equal condition */ in PerformComparison() 247 /* test for less than condition */ in PerformComparison() 251 /* test for equal condition */ in PerformComparison() 255 /* test for greater than or equal condition */ in PerformComparison() 268 /* test for less than condition */ in PerformComparison() 272 /* test for equal condition */ in PerformComparison() 276 /* test for greater than or equal condition */ in PerformComparison() [all …]
|