/linux-master/include/linux/ |
H A D | compiler_types.h | 431 # define __compiletime_assert(condition, msg, prefix, suffix) \ 440 if (!(condition)) \ 444 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) 447 #define _compiletime_assert(condition, msg, prefix, suffix) \ 448 __compiletime_assert(condition, msg, prefix, suffix) 451 * compiletime_assert - break build and emit msg if condition is false 452 * @condition: a compile-time constant condition to check 453 * @msg: a message to emit if condition is false 456 * supplied condition i [all...] |
H A D | fb.h | 871 #define fb_WARN_ONCE(fb_info, condition, fmt, ...) \ 872 WARN_ONCE(condition, "fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
|
H A D | sched.h | 199 * CONDITION test and condition change and wakeup are under the same lock) then 235 * can not use the regular condition based wait-loop. In that case we must 1669 #define conditional_stopped_child_used_math(condition, child) \ 1670 do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= (condition) ? PF_USED_MATH : 0; } while (0) 1672 #define conditional_used_math(condition) conditional_stopped_child_used_math(condition, current)
|
H A D | pci.h | 2714 #define pci_WARN(pdev, condition, fmt, arg...) \ 2715 WARN(condition, "%s %s: " fmt, \ 2718 #define pci_WARN_ONCE(pdev, condition, fmt, arg...) \ 2719 WARN_ONCE(condition, "%s %s: " fmt, \
|
/linux-master/drivers/usb/core/ |
H A D | hub.c | 1258 * check for a new connection or over current condition. 1680 dev_dbg(hub_dev, "%sover-current condition exists\n", 5754 dev_err(&port_dev->dev, "over-current condition\n"); 5935 dev_err(hub_dev, "over-current condition\n"); 6306 else if (cintf->condition == 6329 else if (cintf->condition ==
|
H A D | usb.c | 894 if (iface && (iface->condition == USB_INTERFACE_UNBINDING || 895 iface->condition == USB_INTERFACE_UNBOUND)) 910 if (iface && (iface->condition == USB_INTERFACE_UNBINDING || 911 iface->condition == USB_INTERFACE_UNBOUND))
|
H A D | driver.c | 358 intf->condition = USB_INTERFACE_BINDING; 403 intf->condition = USB_INTERFACE_BOUND; 415 intf->condition = USB_INTERFACE_UNBOUND; 440 intf->condition = USB_INTERFACE_UNBINDING; 502 intf->condition = USB_INTERFACE_UNBOUND; 559 iface->condition = USB_INTERFACE_BOUND; 583 iface->condition = USB_INTERFACE_UNBOUND; 622 if (iface->condition != USB_INTERFACE_BOUND) 624 iface->condition = USB_INTERFACE_UNBINDING; 1309 intf->condition [all...] |
/linux-master/arch/x86/kernel/ |
H A D | sev-shared.c | 21 #define WARN(condition, format...) (!!(condition))
|
/linux-master/net/wireless/ |
H A D | nl80211.c | 13803 rule->condition)) 13905 new_rule->condition =
|
/linux-master/drivers/hid/intel-ish-hid/ipc/ |
H A D | ipc.c | 442 * @condition: indicate the condition for waiting 451 static int timed_wait_for_timeout(struct ishtp_device *dev, int condition, argument 458 if (condition == WAIT_FOR_FW_RDY) { 460 } else if (condition == WAIT_FOR_INPUT_RDY) {
|
/linux-master/tools/testing/selftests/ |
H A D | kselftest.h | 22 * ksft_test_result(condition, fmt, ...); 33 * ksft_exit(condition); 208 * ksft_test_result() - Report test success based on truth of condition 210 * @condition: if true, report test success, otherwise failure. 212 #define ksft_test_result(condition, fmt, ...) do { \ 213 if (!!(condition)) \ 321 * ksft_exit() - Exit selftest based on truth of condition 323 * @condition: if true, exit self test with success, otherwise fail. 325 #define ksft_exit(condition) do { \ 326 if (!!(condition)) \ [all...] |
/linux-master/include/asm-generic/ |
H A D | bug.h | 71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 110 #define WARN_ON_ONCE(condition) ({ \ 111 int __ret_warn_on = !!(condition); \ 122 #define WARN_ON(condition) ({ \ 123 int __ret_warn_on = !!(condition); \ 131 #define WARN(condition, format...) ({ \ 132 int __ret_warn_on = !!(condition); \ 139 #define WARN_TAINT(condition, taint, format...) ({ \ 140 int __ret_warn_on = !!(condition); \ [all...] |
/linux-master/include/net/ |
H A D | cfg80211.h | 3542 * @condition: condition for packet coalescence. 3549 enum nl80211_coalesce_condition condition; member in struct:cfg80211_coalesce_rules
|
/linux-master/tools/testing/selftests/devices/ |
H A D | ksft.py | 65 def test_result(condition, description=""): 66 if condition:
|
/linux-master/net/iucv/ |
H A D | af_iucv.c | 56 #define __iucv_sock_wait(sk, condition, timeo, ret) \ 62 while (!(condition)) { \ 81 #define iucv_sock_wait(sk, condition, timeo) \ 84 if (!(condition)) \ 85 __iucv_sock_wait(sk, condition, timeo, __ret); \
|
/linux-master/kernel/trace/ |
H A D | trace.h | 123 #define MEM_FAIL(condition, fmt, ...) \ 124 DO_ONCE_LITE_IF(condition, pr_err, "ERROR: " fmt, ##__VA_ARGS__)
|
/linux-master/fs/f2fs/ |
H A D | f2fs.h | 36 #define f2fs_bug_on(sbi, condition) BUG_ON(condition) 38 #define f2fs_bug_on(sbi, condition) \ 40 if (WARN_ON(condition)) \ 272 * condition of read on truncated area 1236 struct completion zone_wait; /* condition value for the previous open zone to close */
|
/linux-master/arch/x86/kvm/ |
H A D | emulate.c | 1065 static __always_inline u8 test_cc(unsigned int condition, unsigned long flags) argument 1068 void (*fop)(void) = (void *)em_setcc + FASTOP_SIZE * (condition & 0xf); 3334 /* #UD condition is already handled. */ 5062 /* The second termination condition only applies for REPE 5065 * corresponding termination condition according to: 5223 /* All REP prefixes have the same first termination condition */
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mremap_dontunmap.c | 30 #define BUG_ON(condition, description) \ 32 if (condition) { \
|
H A D | map_populate.c | 23 #define BUG_ON(condition, description) \ 25 if (condition) \
|
/linux-master/sound/soc/intel/atom/sst/ |
H A D | sst_ipc.c | 37 msg->condition = false; 79 block->condition = true;
|
/linux-master/include/drm/ |
H A D | drm_print.h | 634 #define drm_WARN(drm, condition, format, arg...) \ 635 WARN(condition, "%s %s: " format, \ 639 #define drm_WARN_ONCE(drm, condition, format, arg...) \ 640 WARN_ONCE(condition, "%s %s: " format, \
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_memirq.c | 25 #define memirq_assert(m, condition) xe_tile_assert(memirq_to_tile(m), condition)
|
H A D | xe_guc_relay.c | 57 #define relay_assert(relay, condition) xe_gt_assert(relay_to_gt(relay), condition)
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk20a.c | 118 gk20a_volt_set_id(struct nvkm_volt *base, u8 id, int condition) argument 126 nvkm_debug(subdev, "prev=%d, target=%d, condition=%d\n", 127 prev_uv, target_uv, condition); 128 if (!condition || 129 (condition < 0 && target_uv < prev_uv) || 130 (condition > 0 && target_uv > prev_uv)) {
|