Searched refs:BUILD_BUG_ON_MSG (Results 1 – 18 of 18) sorted by relevance
/Linux-v4.19/include/linux/ |
D | build_bug.h | 12 #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")
|
D | bitfield.h | 54 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, \
|
D | kernel.h | 997 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/ |
D | cmpxchg.h | 173 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/ |
D | neon.h | 31 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
|
/Linux-v4.19/fs/xfs/ |
D | xfs_ondisk.h | 10 BUILD_BUG_ON_MSG(sizeof(structname) != (size), "XFS: sizeof(" \ 14 BUILD_BUG_ON_MSG(offsetof(structname, member) != (off), \
|
/Linux-v4.19/net/smc/ |
D | smc_cdc.c | 80 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()
|
D | smc_llc.c | 172 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/ |
D | capture.c | 186 BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1, in audio_in_callback()
|
/Linux-v4.19/arch/powerpc/mm/ |
D | pgtable-book3s64.c | 192 BUILD_BUG_ON_MSG((PATB_SIZE_SHIFT > 36), "Partition table size too large."); in mmu_partition_table_init()
|
/Linux-v4.19/drivers/clocksource/ |
D | exynos_mct.c | 231 BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32), in exynos4_read_current_timer()
|
/Linux-v4.19/drivers/gpu/drm/panel/ |
D | panel-samsung-s6e8aa0.c | 172 BUILD_BUG_ON_MSG(ARRAY_SIZE(d) > 64, "DCS sequence too big for stack");\
|
/Linux-v4.19/arch/x86/kvm/ |
D | vmx.c | 601 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/ |
D | cache.c | 1258 BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES, in arc_cache_init_master()
|
/Linux-v4.19/drivers/net/dsa/ |
D | lan9303-core.c | 531 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/ |
D | c_can.c | 847 BUILD_BUG_ON_MSG(C_CAN_MSG_OBJ_RX_LAST > 16, in c_can_do_rx_poll()
|
/Linux-v4.19/drivers/crypto/axis/ |
D | artpec6_crypto.c | 2584 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/ |
D | i915_reg.h | 178 BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \ 180 BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \ 182 BUILD_BUG_ON_MSG((value) & ~(mask), \
|