Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/x86/kvm/vmx/
Dops.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) & 0x6000) == 0x6000, in vmcs_check32()
44 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check64()
46 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check64()
48 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, in vmcs_check64()
50 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check64()
[all …]
Dvmcs12.h219 BUILD_BUG_ON_MSG(offsetof(struct vmcs12, field) != (loc), \
/Linux-v5.4/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.h994 BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
1009 BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
Dstring.h140 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
/Linux-v5.4/arch/powerpc/include/asm/
Dcmpxchg.h173 BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg"); in __xchg_local()
192 BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_local"); in __xchg_relaxed()
418 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg"); in __cmpxchg()
438 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_local"); in __cmpxchg_local()
458 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_relaxed"); in __cmpxchg_relaxed()
478 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_acquire"); in __cmpxchg_acquire()
/Linux-v5.4/arch/arm/include/asm/
Dneon.h28 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
/Linux-v5.4/fs/xfs/
Dxfs_ondisk.h10 BUILD_BUG_ON_MSG(sizeof(structname) != (size), "XFS: sizeof(" \
14 BUILD_BUG_ON_MSG(offsetof(structname, member) != (off), \
/Linux-v5.4/net/smc/
Dsmc_cdc.c75 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
78 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
81 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
Dsmc_llc.c173 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
176 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
179 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
/Linux-v5.4/sound/usb/line6/
Dcapture.c182 BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1, in audio_in_callback()
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dpgtable.c196 BUILD_BUG_ON_MSG((PATB_SIZE_SHIFT > 36), "Partition table size too large."); in mmu_partition_table_init()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_utils.h197 BUILD_BUG_ON_MSG(!__same_type(*(ptr), struct_member(type, member)) && \
Di915_reg.h265 BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \
267 BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \
269 BUILD_BUG_ON_MSG((value) & ~(mask), \
/Linux-v5.4/drivers/clocksource/
Dexynos_mct.c226 BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32), in exynos4_read_current_timer()
/Linux-v5.4/arch/powerpc/kvm/
De500.c443 BUILD_BUG_ON_MSG(offsetof(struct kvmppc_vcpu_e500, vcpu) != 0, in kvmppc_core_vcpu_create_e500()
/Linux-v5.4/drivers/gpu/drm/panel/
Dpanel-samsung-s6e8aa0.c173 BUILD_BUG_ON_MSG(ARRAY_SIZE(d) > 64, "DCS sequence too big for stack");\
/Linux-v5.4/drivers/net/phy/
Dphy-core.c11 BUILD_BUG_ON_MSG(__ETHTOOL_LINK_MODE_MASK_NBITS != 69, in phy_speed_to_str()
/Linux-v5.4/arch/arc/mm/
Dcache.c1270 BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES, in arc_cache_init_master()
/Linux-v5.4/drivers/i2c/busses/
Di2c-rcar.c927 BUILD_BUG_ON_MSG(RCAR_MIN_DMA_LEN < 3, "Invalid min DMA length"); in rcar_i2c_probe()
/Linux-v5.4/drivers/crypto/axis/
Dartpec6_crypto.c2520 BUILD_BUG_ON_MSG((out_data_buf_size in init_crypto_hw()
2524 BUILD_BUG_ON_MSG((in_data_buf_size in init_crypto_hw()
/Linux-v5.4/drivers/net/can/c_can/
Dc_can.c876 BUILD_BUG_ON_MSG(C_CAN_MSG_OBJ_RX_LAST > 16, in c_can_do_rx_poll()
/Linux-v5.4/drivers/net/dsa/
Dlan9303-core.c522 BUILD_BUG_ON_MSG(sizeof(struct lan9303_alr_cache_entry) & 1, in lan9303_alr_cache_find_mac()
/Linux-v5.4/kernel/
Dfork.c657 BUILD_BUG_ON_MSG(ARRAY_SIZE(resident_page_types) != NR_MM_COUNTERS, in check_mm()

12