Home
last modified time | relevance | path

Searched refs:BUILD_BUG_ON_MSG (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx_ops.h45 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/
Dbuild_bug.h39 #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), \
Dbitfield.h65 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) > \
Drandom.h73 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()
Ddynamic_debug.h175 BUILD_BUG_ON_MSG(cls > _DPRINTK_CLASS_DFLT, \
293 BUILD_BUG_ON_MSG(!__builtin_constant_p(cls), \
Dstring.h141 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
Dslab.h477 BUILD_BUG_ON_MSG(1, "unexpected size in kmalloc_index()"); in __kmalloc_index()
/Linux-v6.6/tools/include/linux/
Dbuild_bug.h39 #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), \
Dbitfield.h62 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/
Dhw_atl2_utils_fw.c20 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/
Dcmpxchg.h232 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/
Di915_reg_defs.h197 BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \
199 BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \
201 BUILD_BUG_ON_MSG((value) & ~(mask), \
Di915_utils.h167 BUILD_BUG_ON_MSG(!__same_type(*(ptr), typeof_member(type, member)) && \
/Linux-v6.6/fs/xfs/
Dxfs_ondisk.h10 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/
Dneon.h28 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
/Linux-v6.6/drivers/phy/mediatek/
Dphy-mtk-io.h42 BUILD_BUG_ON_MSG(!__builtin_constant_p(mask), "mask is not constant"); \
/Linux-v6.6/net/smc/
Dsmc_cdc.c94 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/
Defi.h59 ({ BUILD_BUG_ON_MSG(1, "__efi_nargs limit exceeded"); 10; }))
71 BUILD_BUG_ON_MSG( \
/Linux-v6.6/drivers/usb/usbip/
Dvudc_rx.c152 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/
Dcapture.c182 BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1, in audio_in_callback()
/Linux-v6.6/drivers/clocksource/
Dexynos_mct.c232 BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32), in exynos4_read_current_timer()
/Linux-v6.6/drivers/gpu/drm/panel/
Dpanel-samsung-s6e8aa0.c172 BUILD_BUG_ON_MSG(ARRAY_SIZE(d) > 64, "DCS sequence too big for stack");\
/Linux-v6.6/arch/arc/mm/
Dcache.c1161 BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES, in arc_cache_init_master()
/Linux-v6.6/drivers/net/phy/
Dphy-core.c16 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/
Dreporter_tx.c58 BUILD_BUG_ON_MSG(ARRAY_SIZE(sq_sw_state_type_name) != MLX5E_NUM_SQ_STATES, in mlx5e_health_sq_put_sw_state()

12