| /Linux-v6.6/arch/x86/kvm/vmx/ |
| D | vmx_ops.h | 45 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, in vmcs_check16() 47 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check16() 49 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, in vmcs_check16() 51 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check16() 57 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check32() 59 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, in vmcs_check32() 61 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check32() 63 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check32() 69 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check64() 71 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check64() [all …]
|
| /Linux-v6.6/include/linux/ |
| D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) macro 50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) 59 #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") 85 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
|
| D | bitfield.h | 65 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ 67 BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \ 68 BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ 71 BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \
|
| D | random.h | 73 BUILD_BUG_ON_MSG(!ceil, "get_random_u32_below() must take ceil > 0"); in get_random_u32_below() 100 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && floor == U32_MAX, in get_random_u32_above() 112 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && __builtin_constant_p(ceil) && in get_random_u32_inclusive()
|
| D | dynamic_debug.h | 175 BUILD_BUG_ON_MSG(cls > _DPRINTK_CLASS_DFLT, \ 293 BUILD_BUG_ON_MSG(!__builtin_constant_p(cls), \
|
| D | string.h | 141 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
|
| D | slab.h | 477 BUILD_BUG_ON_MSG(1, "unexpected size in kmalloc_index()"); in __kmalloc_index()
|
| /Linux-v6.6/tools/include/linux/ |
| D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) macro 50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) 59 #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") 87 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
|
| D | bitfield.h | 62 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \ 64 BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \ 65 BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ 68 BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \
|
| /Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
| D | hw_atl2_utils_fw.c | 20 BUILD_BUG_ON_MSG((offsetof(struct fw_interface_in, ITEM) % \ 23 BUILD_BUG_ON_MSG((sizeof(VARIABLE) % sizeof(u32)) != 0,\ 32 BUILD_BUG_ON_MSG((offsetof(struct fw_interface_in, ITEM) % \ 35 BUILD_BUG_ON_MSG((sizeof(VARIABLE) % sizeof(u32)) != 0,\ 48 BUILD_BUG_ON_MSG((offsetof(struct fw_interface_out, ITEM) % \ 51 BUILD_BUG_ON_MSG((sizeof(VARIABLE) % sizeof(u32)) != 0,\ 53 BUILD_BUG_ON_MSG(sizeof(VARIABLE) > sizeof(u32),\ 62 BUILD_BUG_ON_MSG((offsetof(struct fw_interface_out, ITEM) % \ 65 BUILD_BUG_ON_MSG((sizeof(((struct fw_interface_out *)0)->ITEM) % \
|
| /Linux-v6.6/arch/powerpc/include/asm/ |
| D | cmpxchg.h | 232 BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_local"); in __xchg_local() 251 BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_relaxed"); in __xchg_relaxed() 636 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg"); in __cmpxchg() 656 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_local"); in __cmpxchg_local() 676 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_relaxed"); in __cmpxchg_relaxed() 696 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_acquire"); in __cmpxchg_acquire()
|
| /Linux-v6.6/drivers/gpu/drm/i915/ |
| D | i915_reg_defs.h | 197 BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \ 199 BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \ 201 BUILD_BUG_ON_MSG((value) & ~(mask), \
|
| D | i915_utils.h | 167 BUILD_BUG_ON_MSG(!__same_type(*(ptr), typeof_member(type, member)) && \
|
| /Linux-v6.6/fs/xfs/ |
| D | xfs_ondisk.h | 10 BUILD_BUG_ON_MSG(sizeof(structname) != (size), "XFS: sizeof(" \ 14 BUILD_BUG_ON_MSG(offsetof(structname, member) != (off), \ 19 BUILD_BUG_ON_MSG((value) != (expected), \
|
| /Linux-v6.6/arch/arm/include/asm/ |
| D | neon.h | 28 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
|
| /Linux-v6.6/drivers/phy/mediatek/ |
| D | phy-mtk-io.h | 42 BUILD_BUG_ON_MSG(!__builtin_constant_p(mask), "mask is not constant"); \
|
| /Linux-v6.6/net/smc/ |
| D | smc_cdc.c | 94 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send() 97 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send() 100 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
|
| /Linux-v6.6/arch/x86/include/asm/ |
| D | efi.h | 59 ({ BUILD_BUG_ON_MSG(1, "__efi_nargs limit exceeded"); 10; })) 71 BUILD_BUG_ON_MSG( \
|
| /Linux-v6.6/drivers/usb/usbip/ |
| D | vudc_rx.c | 152 BUILD_BUG_ON_MSG(PIPE_BULK != 3, "PIPE_* doesn't range from 0 to 3"); in v_recv_cmd_submit()
|
| /Linux-v6.6/sound/usb/line6/ |
| D | capture.c | 182 BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1, in audio_in_callback()
|
| /Linux-v6.6/drivers/clocksource/ |
| D | exynos_mct.c | 232 BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32), in exynos4_read_current_timer()
|
| /Linux-v6.6/drivers/gpu/drm/panel/ |
| D | panel-samsung-s6e8aa0.c | 172 BUILD_BUG_ON_MSG(ARRAY_SIZE(d) > 64, "DCS sequence too big for stack");\
|
| /Linux-v6.6/arch/arc/mm/ |
| D | cache.c | 1161 BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES, in arc_cache_init_master()
|
| /Linux-v6.6/drivers/net/phy/ |
| D | phy-core.c | 16 BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 102, in phy_speed_to_str()
|
| /Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | reporter_tx.c | 58 BUILD_BUG_ON_MSG(ARRAY_SIZE(sq_sw_state_type_name) != MLX5E_NUM_SQ_STATES, in mlx5e_health_sq_put_sw_state()
|