| /kernel/linux/linux-6.6/include/linux/ |
| D | wait.h | 278 #define ___wait_cond_timeout(condition) \ argument 280 bool __cond = (condition); \ 297 * to wrap the condition. 304 #define ___wait_event(wq_head, condition, state, exclusive, ret, cmd) \ argument 314 if (condition) \ 328 #define __wait_event(wq_head, condition) \ argument 329 (void)___wait_event(wq_head, condition, TASK_UNINTERRUPTIBLE, 0, 0, \ 333 * wait_event - sleep until a condition gets true 335 * @condition: a C expression for the event to wait for 338 * @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 | rcuwait.h | 13 * checking if it needs to) on a condition, and reset as soon as we 14 * know that the condition has succeeded and are awoken. 52 #define ___rcuwait_wait_event(w, condition, state, ret, cmd) \ argument 62 if (condition) \ 76 #define rcuwait_wait_event(w, condition, state) \ argument 77 ___rcuwait_wait_event(w, condition, state, 0, schedule()) 79 #define __rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument 80 ___rcuwait_wait_event(w, ___wait_cond_timeout(condition), \ 84 #define rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument 87 if (!___wait_cond_timeout(condition)) \ [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-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-6.6/include/asm-generic/ |
| D | bug.h | 71 #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 123 int __ret_warn_on = !!(condition); \ 131 #define WARN(condition, format...) ({ \ argument 132 int __ret_warn_on = !!(condition); \ 139 #define WARN_TAINT(condition, taint, format...) ({ \ argument 140 int __ret_warn_on = !!(condition); \ 147 #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-6.6/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/ |
| D | branch.json | 24 …ess Cache (BTAC) can predict is retired and has mispredicted either the condition or the address. … 27 …ess Cache (BTAC) can predict is retired and has mispredicted either the condition or the address. … 30 …hat the BTAC can predict is retired, was taken, correctly predicted the condition, and has mispred… 33 …hat the BTAC can predict is retired, was taken, correctly predicted the condition, and has mispred… 36 …condition. This event still counts when branch prediction is disabled due to the MMU being off. Co… 39 …condition. This event still counts when branch prediction is disabled due to the MMU being off. Co… 42 …the BTAC can predict is retired, was taken, and correctly predicted the condition. This event stil… 45 …the BTAC can predict is retired, was taken, and correctly predicted the condition. This event stil… 48 …rn stack can predict is retired, was taken, and correctly predicted the condition. This event stil… 51 …rn stack can predict is retired, was taken, and correctly predicted the condition. This event stil… [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/ |
| D | branch.json | 24 …e predicted by the BTAC is retired, and has mispredicted for either the condition or the address. … 27 …e predicted by the BTAC is retired, and has mispredicted for either the condition or the address. … 30 …predicted by the BTAC is retired, was taken and correctly predicted the condition, and has mispred… 33 …predicted by the BTAC is retired, was taken and correctly predicted the condition, and has mispred… 36 …condition. This event still counts when branch prediction is disabled due to the MMU being off. Co… 39 …condition. This event still counts when branch prediction is disabled due to the MMU being off. Co… 42 …predicted by the BTAC is retired, was taken and correctly predicted the condition. This event stil… 45 …predicted by the BTAC is retired, was taken and correctly predicted the condition. This event stil… 48 … predicted by the CRS is retired, was taken and correctly predicted the condition. This event stil… 51 … predicted by the CRS is retired, was taken and correctly predicted the condition. This event stil… [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
|
| /kernel/linux/linux-6.6/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
|
| /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-6.6/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-6.6/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-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-6.6/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-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-6.6/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/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 …]
|