| /include/linux/ |
| A D | mmdebug.h | 21 #define VM_BUG_ON(cond) BUG_ON(cond) argument 113 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument 114 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument 118 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument 119 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument 120 #define VM_BUG_ON_FOLIO(cond, folio) VM_BUG_ON(cond) argument 121 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument 122 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument 123 #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) argument 124 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument [all …]
|
| A D | vfsdebug.h | 12 #define VFS_BUG_ON(cond) BUG_ON(cond) argument 13 #define VFS_WARN_ON(cond) (void)WARN_ON(cond) argument 14 #define VFS_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument 15 #define VFS_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format) argument 16 #define VFS_WARN(cond, format...) (void)WARN(cond, format) argument 35 #define VFS_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument 36 #define VFS_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) argument 37 #define VFS_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument 38 #define VFS_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) argument 39 #define VFS_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond) argument [all …]
|
| A D | iopoll.h | 36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument 47 if (cond) \ 58 (cond) ? 0 : -ETIMEDOUT; \ 98 if (cond) \ 113 (cond) ? 0 : -ETIMEDOUT; \ 157 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument 158 readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us) 163 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument 164 readx_poll_timeout(readw, addr, val, cond, delay_us, timeout_us) 170 readx_poll_timeout(readl, addr, val, cond, delay_us, timeout_us) [all …]
|
| A D | processor.h | 49 #define spin_until_cond(cond) \ argument 51 if (unlikely(!(cond))) { \ 55 } while (!(cond)); \
|
| A D | bug.h | 18 #define MAYBE_BUILD_BUG_ON(cond) (0) argument 21 #define MAYBE_BUILD_BUG_ON(cond) \ argument 23 if (__builtin_constant_p((cond))) \ 24 BUILD_BUG_ON(cond); \ 26 BUG_ON(cond); \
|
| A D | compiler.h | 55 #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) argument 57 #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) argument 59 #define __trace_if_value(cond) ({ \ argument 68 (cond) ? \
|
| A D | rculist.h | 62 #define __list_check_rcu(dummy, cond, extra...) \ argument 65 RCU_LOCKDEP_WARN(!(cond) && !rcu_read_lock_any_held(), \ 69 #define __list_check_srcu(cond) \ argument 71 RCU_LOCKDEP_WARN(!(cond), \ 75 #define __list_check_rcu(dummy, cond, extra...) \ argument 78 #define __list_check_srcu(cond) ({ }) argument 437 for (__list_check_rcu(dummy, ## cond, 0), \ 455 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument 456 for (__list_check_srcu(cond), \ 754 for (__list_check_rcu(dummy, ## cond, 0), \ [all …]
|
| A D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument
|
| A D | tracepoint.h | 269 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument 273 if (cond) { \ 282 if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \ 471 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument 473 cpu_online(raw_smp_processor_id()) && (PARAMS(cond)), \ 487 cpu_online(raw_smp_processor_id()) && (PARAMS(cond)), \ 614 args, cond) \ argument 616 PARAMS(args), PARAMS(cond)) 626 PARAMS(args), PARAMS(cond)) 627 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument [all …]
|
| A D | context_tracking.h | 91 #define CT_WARN_ON(cond) WARN_ON(context_tracking_enabled() && (cond)) argument 104 #define CT_WARN_ON(cond) do { } while (0) argument
|
| A D | util_macros.h | 136 #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL) argument
|
| A D | kmsan.h | 280 #define KMSAN_WARN_ON(cond) \ argument 282 const bool __cond = WARN_ON(cond); \
|
| A D | hashtable.h | 176 #define hash_for_each_possible_rcu(name, obj, member, key, cond...) \ argument 178 member, ## cond)
|
| A D | kernel.h | 144 #define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) argument
|
| A D | wait_bit.h | 522 #define wake_up_var_protected(var, cond) \ argument 524 lockdep_assert(cond); \
|
| A D | bpf_verifier.h | 875 #define verifier_bug_if(cond, env, fmt, args...) \ argument 877 bool __cond = (cond); \ 879 BPF_WARN_ONCE(1, "verifier bug: " fmt "(" #cond ")\n", ##args); \ 880 bpf_log(&env->log, "verifier bug: " fmt "(" #cond ")\n", ##args); \
|
| /include/net/ |
| A D | net_debug.h | 131 #define netif_cond_dbg(priv, type, netdev, cond, level, fmt, args...) \ argument 133 if (cond) \ 152 #define DEBUG_NET_WARN_ON_ONCE(cond) ((void)WARN_ON_ONCE(cond)) argument 153 #define DEBUG_NET_WARN_ONCE(cond, format...) ((void)WARN_ONCE(cond, format)) argument 155 #define DEBUG_NET_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument 156 #define DEBUG_NET_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
|
| A D | gre.h | 106 IP_TUNNEL_DECLARE_FLAGS(cond) = { }; in gre_build_header() 117 __set_bit(IP_TUNNEL_KEY_BIT, cond); in gre_build_header() 118 __set_bit(IP_TUNNEL_CSUM_BIT, cond); in gre_build_header() 119 __set_bit(IP_TUNNEL_SEQ_BIT, cond); in gre_build_header() 121 if (ip_tunnel_flags_intersect(flags, cond)) { in gre_build_header()
|
| /include/media/ |
| A D | v4l2-device.h | 293 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument 296 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \ 318 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument 322 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, cond, o, \ 350 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument 355 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \ 385 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument 388 __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, cond, o, \
|
| /include/trace/ |
| A D | define_trace.h | 31 #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \ argument 45 #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \ argument 72 #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \ argument 80 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument 88 #define DECLARE_TRACE_EVENT_CONDITION(name, proto, args, cond) \ argument 124 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) argument 129 #define DECLARE_TRACE_EVENT_CONDITION(name, proto, args, cond) argument
|
| /include/uapi/linux/ |
| A D | blkzoned.h | 111 __u8 cond; /* Zone condition */ member
|
| /include/rdma/ |
| A D | uverbs_types.h | 190 #define UVERBS_BUILD_BUG_ON(cond) (sizeof(char[1 - 2 * !!(cond)]) - \ argument
|
| /include/linux/power/ |
| A D | smartreflex.h | 188 #define sr_test_cond_timeout(cond, timeout, index) \ argument 191 if (cond) \
|
| /include/sound/ |
| A D | hdaudio.h | 624 #define snd_hdac_stream_readb_poll(dev, reg, val, cond, delay_us, timeout_us) \ argument 625 read_poll_timeout_atomic(snd_hdac_reg_readb, val, cond, delay_us, timeout_us, \ 627 #define snd_hdac_stream_readw_poll(dev, reg, val, cond, delay_us, timeout_us) \ argument 628 read_poll_timeout_atomic(snd_hdac_reg_readw, val, cond, delay_us, timeout_us, \ 630 #define snd_hdac_stream_readl_poll(dev, reg, val, cond, delay_us, timeout_us) \ argument 631 read_poll_timeout_atomic(snd_hdac_reg_readl, val, cond, delay_us, timeout_us, \
|
| A D | pcm.h | 248 unsigned int cond; member 1088 unsigned int cond, 1092 unsigned int cond, 1096 unsigned int cond, 1100 unsigned int cond, 1104 unsigned int cond, 1108 unsigned int cond, 1112 unsigned int cond, 1117 unsigned int cond,
|