Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/x86/kvm/vmx/
Dvmx_ops.h24 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, in vmcs_check16()
26 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check16()
28 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, in vmcs_check16()
30 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check16()
36 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check32()
38 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, in vmcs_check32()
40 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check32()
42 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check32()
48 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check64()
50 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check64()
[all …]
Dvmcs12.h212 BUILD_BUG_ON_MSG(offsetof(struct vmcs12, field) != (loc), \
/Linux-v6.1/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")
/Linux-v6.1/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")
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) > \
Ddynamic_debug.h174 BUILD_BUG_ON_MSG(cls > _DPRINTK_CLASS_DFLT, \
296 BUILD_BUG_ON_MSG(!__builtin_constant_p(cls), \
Dstring.h141 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
Dslab.h432 BUILD_BUG_ON_MSG(1, "unexpected size in kmalloc_index()"); in __kmalloc_index()
/Linux-v6.1/arch/powerpc/include/asm/
Dcmpxchg.h166 BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg"); in __xchg_local()
185 BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_local"); in __xchg_relaxed()
407 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg"); in __cmpxchg()
427 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_local"); in __cmpxchg_local()
447 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_relaxed"); in __cmpxchg_relaxed()
467 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_acquire"); in __cmpxchg_acquire()
/Linux-v6.1/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.1/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.1/arch/arm/include/asm/
Dneon.h28 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
/Linux-v6.1/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()
Dsmc_llc.c411 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
414 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
417 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
/Linux-v6.1/arch/x86/include/asm/
Defi.h57 ({ BUILD_BUG_ON_MSG(1, "__efi_nargs limit exceeded"); 10; }))
69 BUILD_BUG_ON_MSG( \
/Linux-v6.1/sound/usb/line6/
Dcapture.c182 BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1, in audio_in_callback()
/Linux-v6.1/drivers/crypto/qat/qat_4xxx/
Dadf_4xxx_hw_data.c281 BUILD_BUG_ON_MSG(ARRAY_SIZE(adf_4xxx_fw_cy_config) != in uof_get_num_objs()
/Linux-v6.1/drivers/gpu/drm/i915/
Di915_utils.h173 BUILD_BUG_ON_MSG(!__same_type(*(ptr), struct_member(type, member)) && \
/Linux-v6.1/drivers/gpu/drm/panel/
Dpanel-samsung-s6e8aa0.c172 BUILD_BUG_ON_MSG(ARRAY_SIZE(d) > 64, "DCS sequence too big for stack");\
/Linux-v6.1/drivers/clocksource/
Dexynos_mct.c232 BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32), in exynos4_read_current_timer()
/Linux-v6.1/drivers/net/wireless/silabs/wfx/
Ddata_tx.c393 BUILD_BUG_ON_MSG(sizeof(struct wfx_tx_priv) > driver_data_room, in wfx_tx()
/Linux-v6.1/drivers/net/phy/
Dphy-core.c16 BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 93, in phy_speed_to_str()
/Linux-v6.1/arch/arc/mm/
Dcache.c1188 BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES, in arc_cache_init_master()
/Linux-v6.1/drivers/i2c/busses/
Di2c-rcar.c1050 BUILD_BUG_ON_MSG(RCAR_MIN_DMA_LEN < 3, "Invalid min DMA length"); in rcar_i2c_probe()
/Linux-v6.1/drivers/crypto/axis/
Dartpec6_crypto.c2511 BUILD_BUG_ON_MSG((out_data_buf_size in init_crypto_hw()
2515 BUILD_BUG_ON_MSG((in_data_buf_size in init_crypto_hw()

12