Home
last modified time | relevance | path

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

12

/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx_ops.h26 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, in vmcs_check16()
28 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check16()
30 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, in vmcs_check16()
32 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check16()
38 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check32()
40 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check32()
46 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check64()
48 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check64()
50 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, in vmcs_check64()
52 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check64()
[all …]
Dvmcs12.h216 BUILD_BUG_ON_MSG(offsetof(struct vmcs12, field) != (loc), \
/Linux-v5.10/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-v5.10/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.h46 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
48 BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \
49 BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
52 BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \
Dkernel.h853 BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
868 BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
Dstring.h141 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/arch/arm/include/asm/
Dneon.h28 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
/Linux-v5.10/arch/x86/include/asm/
Defi.h54 ({ BUILD_BUG_ON_MSG(1, "__efi_nargs limit exceeded"); 8; }))
66 BUILD_BUG_ON_MSG( \
/Linux-v5.10/net/smc/
Dsmc_cdc.c82 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
85 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
88 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
Dsmc_llc.c365 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
368 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
371 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
/Linux-v5.10/sound/usb/line6/
Dcapture.c182 BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1, in audio_in_callback()
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_utils.h212 BUILD_BUG_ON_MSG(!__same_type(*(ptr), struct_member(type, member)) && \
/Linux-v5.10/arch/powerpc/mm/book3s64/
Dpgtable.c197 BUILD_BUG_ON_MSG((PATB_SIZE_SHIFT > 36), "Partition table size too large."); in mmu_partition_table_init()
/Linux-v5.10/drivers/clocksource/
Dexynos_mct.c226 BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32), in exynos4_read_current_timer()
/Linux-v5.10/drivers/gpu/drm/panel/
Dpanel-samsung-s6e8aa0.c172 BUILD_BUG_ON_MSG(ARRAY_SIZE(d) > 64, "DCS sequence too big for stack");\
/Linux-v5.10/drivers/net/phy/
Dphy-core.c16 BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 92, in phy_speed_to_str()
/Linux-v5.10/arch/arc/mm/
Dcache.c1270 BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES, in arc_cache_init_master()
/Linux-v5.10/drivers/i2c/busses/
Di2c-rcar.c937 BUILD_BUG_ON_MSG(RCAR_MIN_DMA_LEN < 3, "Invalid min DMA length"); in rcar_i2c_probe()
/Linux-v5.10/drivers/crypto/axis/
Dartpec6_crypto.c2510 BUILD_BUG_ON_MSG((out_data_buf_size in init_crypto_hw()
2514 BUILD_BUG_ON_MSG((in_data_buf_size in init_crypto_hw()
/Linux-v5.10/drivers/net/can/c_can/
Dc_can.c867 BUILD_BUG_ON_MSG(C_CAN_MSG_OBJ_RX_LAST > 16, in c_can_do_rx_poll()
/Linux-v5.10/drivers/net/dsa/
Dlan9303-core.c522 BUILD_BUG_ON_MSG(sizeof(struct lan9303_alr_cache_entry) & 1, in lan9303_alr_cache_find_mac()

12