Searched refs:BUILD_BUG_ON_MSG (Results 1 - 25 of 35) sorted by relevance

12

/linux-master/arch/arm/include/asm/
H A Dneon.h28 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
/linux-master/include/linux/
H A Dbuild_bug.h33 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
39 #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")
85 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
H A 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) ? \
72 BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \
H A Drandom.h73 BUILD_BUG_ON_MSG(!ceil, "get_random_u32_below() must take ceil > 0");
100 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && floor == U32_MAX,
112 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && __builtin_constant_p(ceil) &&
H A Ddynamic_debug.h175 BUILD_BUG_ON_MSG(cls > _DPRINTK_CLASS_DFLT, \
293 BUILD_BUG_ON_MSG(!__builtin_constant_p(cls), \
H A Dstring.h247 BUILD_BUG_ON_MSG(!__same_type(*(a), *(b)), \
H A Dslab.h506 BUILD_BUG_ON_MSG(1, "unexpected size in kmalloc_index()");
/linux-master/tools/include/linux/
H A Dbuild_bug.h33 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
39 #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")
87 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \
H A Dbitfield.h62 BUILD_BUG_ON_MSG(!__builtin_constant_p(_mask), \
64 BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero"); \
65 BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
68 BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \
/linux-master/arch/x86/kvm/vmx/
H A Dvmx_ops.h45 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000,
47 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
49 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x4000,
51 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000,
57 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0,
59 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000,
61 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2001,
63 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0x6000,
69 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6000) == 0,
71 BUILD_BUG_ON_MSG(__builtin_constant_
[all...]
/linux-master/drivers/phy/mediatek/
H A Dphy-mtk-io.h42 BUILD_BUG_ON_MSG(!__builtin_constant_p(mask), "mask is not constant"); \
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A 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-master/arch/powerpc/include/asm/
H A Dcmpxchg.h232 BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_local");
251 BUILD_BUG_ON_MSG(1, "Unsupported size for __xchg_relaxed");
636 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg");
656 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_local");
676 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_relaxed");
696 BUILD_BUG_ON_MSG(1, "Unsupported size for __cmpxchg_acquire");
/linux-master/drivers/gpu/drm/i915/
H A Di915_reg_defs.h197 BUILD_BUG_ON_MSG(((mask) & 0xffff0000), "Incorrect mask"); \
199 BUILD_BUG_ON_MSG((value) & 0xffff0000, "Incorrect value"); \
201 BUILD_BUG_ON_MSG((value) & ~(mask), \
H A Di915_utils.h167 BUILD_BUG_ON_MSG(!__same_type(*(ptr), typeof_member(type, member)) && \
/linux-master/arch/x86/include/asm/
H A Defi.h59 ({ BUILD_BUG_ON_MSG(1, "__efi_nargs limit exceeded"); 10; }))
71 BUILD_BUG_ON_MSG( \
/linux-master/net/smc/
H A Dsmc_cdc.c96 BUILD_BUG_ON_MSG(
99 BUILD_BUG_ON_MSG(
102 BUILD_BUG_ON_MSG(
H A Dsmc_llc.c410 BUILD_BUG_ON_MSG(
413 BUILD_BUG_ON_MSG(
416 BUILD_BUG_ON_MSG(
/linux-master/sound/usb/line6/
H A Dcapture.c182 BUILD_BUG_ON_MSG(LINE6_ISO_PACKETS != 1,
/linux-master/drivers/usb/usbip/
H A Dvudc_rx.c152 BUILD_BUG_ON_MSG(PIPE_BULK != 3, "PIPE_* doesn't range from 0 to 3");
/linux-master/drivers/clocksource/
H A Dexynos_mct.c232 BUILD_BUG_ON_MSG(sizeof(cycles_t) != sizeof(u32),
/linux-master/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.c420 BUILD_BUG_ON_MSG(sizeof(struct wfx_tx_priv) > driver_data_room,
/linux-master/arch/arc/mm/
H A Dcache.c1037 BUILD_BUG_ON_MSG(L1_CACHE_BYTES > SMP_CACHE_BYTES,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c57 BUILD_BUG_ON_MSG(ARRAY_SIZE(sq_sw_state_type_name) != MLX5E_NUM_SQ_STATES,
H A Dreporter_rx.c225 BUILD_BUG_ON_MSG(ARRAY_SIZE(rq_sw_state_type_name) != MLX5E_NUM_RQ_STATES,

Completed in 312 milliseconds

12