Symbol: BUILD_BUG_ON_MSG
arch/arc/mm/cache.c
1037
BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES,
arch/arm/include/asm/neon.h
28
BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
arch/powerpc/include/asm/cmpxchg.h
232
BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_local");
arch/powerpc/include/asm/cmpxchg.h
251
BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_relaxed");
arch/powerpc/include/asm/cmpxchg.h
636
BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg");
arch/powerpc/include/asm/cmpxchg.h
656
BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_local");
arch/powerpc/include/asm/cmpxchg.h
676
BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_relaxed");
arch/powerpc/include/asm/cmpxchg.h
696
BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_acquire");
arch/x86/include/asm/efi.h
59
({ BUILD_BUG_ON_MSG(1, "__efi_nargs limit exceeded"); 10; }))
arch/x86/include/asm/efi.h
71
BUILD_BUG_ON_MSG( \
arch/x86/kvm/vmx/tdx.h
103
BUILD_BUG_ON_MSG(__builtin_constant_p(field) &&
arch/x86/kvm/vmx/tdx.h
117
BUILD_BUG_ON_MSG(bits != 64 && __builtin_constant_p(field) &&
arch/x86/kvm/vmx/tdx.h
121
BUILD_BUG_ON_MSG(bits != 32 && __builtin_constant_p(field) &&
arch/x86/kvm/vmx/tdx.h
124
BUILD_BUG_ON_MSG(bits != 16 && __builtin_constant_p(field) &&
arch/x86/kvm/vmx/vmx_ops.h
271
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x2000,
arch/x86/kvm/vmx/vmx_ops.h
281
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x2000,
arch/x86/kvm/vmx/vmx_ops.h
45
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000,
arch/x86/kvm/vmx/vmx_ops.h
47
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
arch/x86/kvm/vmx/vmx_ops.h
49
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000,
arch/x86/kvm/vmx/vmx_ops.h
51
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000,
arch/x86/kvm/vmx/vmx_ops.h
57
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0,
arch/x86/kvm/vmx/vmx_ops.h
59
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000,
arch/x86/kvm/vmx/vmx_ops.h
61
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
arch/x86/kvm/vmx/vmx_ops.h
63
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000,
arch/x86/kvm/vmx/vmx_ops.h
69
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0,
arch/x86/kvm/vmx/vmx_ops.h
71
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
arch/x86/kvm/vmx/vmx_ops.h
73
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000,
arch/x86/kvm/vmx/vmx_ops.h
75
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000,
arch/x86/kvm/vmx/vmx_ops.h
81
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0,
arch/x86/kvm/vmx/vmx_ops.h
83
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000,
arch/x86/kvm/vmx/vmx_ops.h
85
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
arch/x86/kvm/vmx/vmx_ops.h
87
BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000,
arch/x86/kvm/x86.c
7740
BUILD_BUG_ON_MSG(KVM_MAX_NR_FIXED_COUNTERS != 3,
drivers/clocksource/exynos_mct.c
232
BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32),
drivers/crypto/axis/artpec6_crypto.c
2515
BUILD_BUG_ON_MSG((out_data_buf_size
drivers/crypto/axis/artpec6_crypto.c
2519
BUILD_BUG_ON_MSG((in_data_buf_size
drivers/gpu/drm/i915/display/intel_display.c
5064
BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \
drivers/gpu/drm/i915/display/intel_display.c
5076
BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \
drivers/gpu/drm/i915/display/intel_display.c
5088
BUILD_BUG_ON_MSG(__same_type(current_config->name, bool), \
drivers/gpu/drm/i915/display/intel_display.c
5110
BUILD_BUG_ON_MSG(!__same_type(current_config->name, bool), \
drivers/gpu/drm/i915/i915_ptr_util.h
61
BUILD_BUG_ON_MSG(!__same_type(*(ptr), typeof_member(type, member)) && \
drivers/gpu/drm/i915/i915_reg_defs.h
111
BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \
drivers/gpu/drm/i915/i915_reg_defs.h
113
BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \
drivers/gpu/drm/i915/i915_reg_defs.h
115
BUILD_BUG_ON_MSG((value) & ~(mask), \
drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
172
BUILD_BUG_ON_MSG(ARRAY_SIZE(d) > 64, "DCS sequence too big for stack");\
drivers/i2c/busses/i2c-rcar.c
1128
BUILD_BUG_ON_MSG(RCAR_MIN_DMA_LEN < 3, "Invalid min DMA length");
drivers/net/dsa/lan9303-core.c
543
BUILD_BUG_ON_MSG(sizeof(struct lan9303_alr_cache_entry) & 1,
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
20
BUILD_BUG_ON_MSG((offsetof(struct fw_interface_in, ITEM) % \
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
23
BUILD_BUG_ON_MSG((sizeof(VARIABLE) % sizeof(u32)) != 0,\
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
32
BUILD_BUG_ON_MSG((offsetof(struct fw_interface_in, ITEM) % \
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
35
BUILD_BUG_ON_MSG((sizeof(VARIABLE) % sizeof(u32)) != 0,\
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
48
BUILD_BUG_ON_MSG((offsetof(struct fw_interface_out, ITEM) % \
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
51
BUILD_BUG_ON_MSG((sizeof(VARIABLE) % sizeof(u32)) != 0,\
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
53
BUILD_BUG_ON_MSG(sizeof(VARIABLE) > sizeof(u32),\
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
62
BUILD_BUG_ON_MSG((offsetof(struct fw_interface_out, ITEM) % \
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
65
BUILD_BUG_ON_MSG((sizeof(((struct fw_interface_out *)0)->ITEM) % \
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
245
BUILD_BUG_ON_MSG(ARRAY_SIZE(rq_sw_state_type_name) != MLX5E_NUM_RQ_STATES,
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
57
BUILD_BUG_ON_MSG(ARRAY_SIZE(sq_sw_state_type_name) != MLX5E_NUM_SQ_STATES,
drivers/net/ethernet/ti/am65-cpsw-nuss.c
3531
BUILD_BUG_ON_MSG(sizeof(struct am65_cpsw_tx_swdata) > AM65_CPSW_NAV_SW_DATA_SIZE,
drivers/net/ethernet/ti/am65-cpsw-nuss.c
3533
BUILD_BUG_ON_MSG(sizeof(struct am65_cpsw_swdata) > AM65_CPSW_NAV_SW_DATA_SIZE,
drivers/net/ethernet/ti/icssg/icssg_prueth.c
1972
BUILD_BUG_ON_MSG((sizeof(struct prueth_swdata) > PRUETH_NAV_SW_DATA_SIZE),
drivers/net/phy/phy-core.c
21
BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 125,
drivers/net/wireless/silabs/wfx/data_tx.c
420
BUILD_BUG_ON_MSG(sizeof(struct wfx_tx_priv) > driver_data_room,
drivers/phy/mediatek/phy-mtk-io.h
42
BUILD_BUG_ON_MSG(!__builtin_constant_p(mask), "mask is not constant"); \
drivers/phy/phy-airoha-pcie.c
77
BUILD_BUG_ON_MSG(!__builtin_constant_p((mask)), \
drivers/usb/usbip/vudc_rx.c
152
BUILD_BUG_ON_MSG(PIPE_BULK != 3, "PIPE_* doesn't range from 0 to 3");
fs/open.c
1188
BUILD_BUG_ON_MSG(upper_32_bits(VALID_OPEN_FLAGS),
include/linux/bitfield.h
67
BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
include/linux/bitfield.h
69
BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \
include/linux/bitfield.h
70
BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
include/linux/bitfield.h
79
BUILD_BUG_ON_MSG(__bf_cast_unsigned(mask, mask) > \
include/linux/build_bug.h
51
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
include/linux/build_bug.h
60
#define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed")
include/linux/build_bug.h
87
BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
include/linux/dynamic_debug.h
182
BUILD_BUG_ON_MSG(cls > _DPRINTK_CLASS_DFLT, \
include/linux/dynamic_debug.h
304
BUILD_BUG_ON_MSG(!__builtin_constant_p(cls), \
include/linux/minmax.h
133
BUILD_BUG_ON_MSG(!__types_ok3(ux, uy, uz), \
include/linux/minmax.h
188
BUILD_BUG_ON_MSG(statically_true(ulo > uhi), \
include/linux/minmax.h
190
BUILD_BUG_ON_MSG(!__types_ok3(uval, ulo, uhi), \
include/linux/minmax.h
93
BUILD_BUG_ON_MSG(!__types_ok(ux, uy), \
include/linux/packing.h
433
({ BUILD_BUG_ON_MSG(1, "CHECK_PACKED_FIELDS() must be regenerated to support array sizes larger than 50."); }) \
include/linux/packing.h
45
BUILD_BUG_ON_MSG(_ascending && _f1.startbit >= _f2.startbit, \
include/linux/packing.h
48
BUILD_BUG_ON_MSG(!_ascending && _f1.startbit <= _f2.startbit, \
include/linux/packing.h
51
BUILD_BUG_ON_MSG(max(_f1.endbit, _f2.endbit) <= \
include/linux/packing.h
60
BUILD_BUG_ON_MSG(__f.startbit < __f.endbit, \
include/linux/packing.h
63
BUILD_BUG_ON_MSG(__f.size != 1 && __f.size != 2 && \
include/linux/packing.h
67
BUILD_BUG_ON_MSG(__f.startbit - __f.endbit >= BITS_PER_BYTE * __f.size, \
include/linux/packing.h
83
BUILD_BUG_ON_MSG(!__builtin_constant_p(_len), \
include/linux/packing.h
86
BUILD_BUG_ON_MSG(_f[0].startbit >= BITS_PER_BYTE * _len, \
include/linux/packing.h
88
BUILD_BUG_ON_MSG(_f[num_fields - 1].startbit >= BITS_PER_BYTE * _len, \
include/linux/random.h
100
BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && floor == U32_MAX,
include/linux/random.h
112
BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && __builtin_constant_p(ceil) &&
include/linux/random.h
73
BUILD_BUG_ON_MSG(!ceil, "get_random_u32_below() must take ceil > 0");
include/linux/slab.h
744
BUILD_BUG_ON_MSG(1, "unexpected size in kmalloc_index()");
include/linux/string.h
254
BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
kernel/fork.c
626
BUILD_BUG_ON_MSG(ARRAY_SIZE(resident_page_types) != NR_MM_COUNTERS,
net/netfilter/ipvs/ip_vs_est.c
398
BUILD_BUG_ON_MSG(IPVS_EST_TICK_CHAINS > 127,
net/smc/smc_cdc.c
100
BUILD_BUG_ON_MSG(
net/smc/smc_cdc.c
103
BUILD_BUG_ON_MSG(
net/smc/smc_cdc.c
97
BUILD_BUG_ON_MSG(
net/smc/smc_llc.c
410
BUILD_BUG_ON_MSG(
net/smc/smc_llc.c
413
BUILD_BUG_ON_MSG(
net/smc/smc_llc.c
416
BUILD_BUG_ON_MSG(
security/selinux/hooks.c
4304
BUILD_BUG_ON_MSG(READING_MAX_ID > 8,
security/selinux/hooks.c
4341
BUILD_BUG_ON_MSG(LOADING_MAX_ID > 8,
sound/usb/line6/capture.c
180
BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1,
tools/include/linux/bitfield.h
63
BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
tools/include/linux/bitfield.h
65
BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \
tools/include/linux/bitfield.h
66
BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
tools/include/linux/bitfield.h
69
BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \
tools/include/linux/build_bug.h
51
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
tools/include/linux/build_bug.h
60
#define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed")
tools/include/linux/build_bug.h
89
BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \