Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dbuild_bug.h12 #define BUILD_BUG_ON_MSG(cond, msg) (0) macro
45 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) macro
69 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
79 #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed")
Dbitfield.h54 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
56 BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \
57 BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
60 BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \
Dkernel.h997 BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
1012 BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
/Linux-v4.19/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-v4.19/arch/arm/include/asm/
Dneon.h31 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
/Linux-v4.19/fs/xfs/
Dxfs_ondisk.h10 BUILD_BUG_ON_MSG(sizeof(structname) != (size), "XFS: sizeof(" \
14 BUILD_BUG_ON_MSG(offsetof(structname, member) != (off), \
/Linux-v4.19/net/smc/
Dsmc_cdc.c80 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
83 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
86 BUILD_BUG_ON_MSG( in smc_cdc_add_pending_send()
Dsmc_llc.c172 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
175 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
178 BUILD_BUG_ON_MSG( in smc_llc_add_pending_send()
/Linux-v4.19/sound/usb/line6/
Dcapture.c186 BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1, in audio_in_callback()
/Linux-v4.19/arch/powerpc/mm/
Dpgtable-book3s64.c192 BUILD_BUG_ON_MSG((PATB_SIZE_SHIFT > 36), "Partition table size too large."); in mmu_partition_table_init()
/Linux-v4.19/drivers/clocksource/
Dexynos_mct.c231 BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32), in exynos4_read_current_timer()
/Linux-v4.19/drivers/gpu/drm/panel/
Dpanel-samsung-s6e8aa0.c172 BUILD_BUG_ON_MSG(ARRAY_SIZE(d) > 64, "DCS sequence too big for stack");\
/Linux-v4.19/arch/x86/kvm/
Dvmx.c601 BUILD_BUG_ON_MSG(offsetof(struct vmcs12, field) != (loc), \
2280 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, in vmcs_check16()
2282 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check16()
2284 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, in vmcs_check16()
2286 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check16()
2292 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check32()
2294 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000, in vmcs_check32()
2300 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0, in vmcs_check64()
2302 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001, in vmcs_check64()
2304 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000, in vmcs_check64()
[all …]
/Linux-v4.19/arch/arc/mm/
Dcache.c1258 BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES, in arc_cache_init_master()
/Linux-v4.19/drivers/net/dsa/
Dlan9303-core.c531 BUILD_BUG_ON_MSG(sizeof(struct lan9303_alr_cache_entry) & 1, in lan9303_alr_cache_find_mac()
/Linux-v4.19/drivers/net/can/c_can/
Dc_can.c847 BUILD_BUG_ON_MSG(C_CAN_MSG_OBJ_RX_LAST > 16, in c_can_do_rx_poll()
/Linux-v4.19/drivers/crypto/axis/
Dartpec6_crypto.c2584 BUILD_BUG_ON_MSG((out_data_buf_size in init_crypto_hw()
2588 BUILD_BUG_ON_MSG((in_data_buf_size in init_crypto_hw()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_reg.h178 BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \
180 BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \
182 BUILD_BUG_ON_MSG((value) & ~(mask), \