Home
last modified time | relevance | path

Searched refs:BUILD_BUG_ON_ZERO (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/include/asm-generic/bitops/
Dconst_hweight.h33 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w))
34 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w))
35 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w))
36 #define HWEIGHT64(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight64(w))
/linux-4.1.27/include/linux/
Dbug.h17 #define BUILD_BUG_ON_ZERO(e) (0) macro
33 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
Dkernel.h822 (BUILD_BUG_ON_ZERO((perms) < 0) + \
823 BUILD_BUG_ON_ZERO((perms) > 0777) + \
825 BUILD_BUG_ON_ZERO(((perms) >> 6) < (((perms) >> 3) & 7)) + \
826 BUILD_BUG_ON_ZERO((((perms) >> 3) & 7) < ((perms) & 7)) + \
828 BUILD_BUG_ON_ZERO((perms) & 2) + \
Dcompiler-gcc.h61 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
Dgenl_magic_func.h136 #define BUILD_BUG_ON(condition) ((void)BUILD_BUG_ON_ZERO(condition))
141 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
Dsyscalls.h108 #define __SC_TEST(t, a) (void)BUILD_BUG_ON_ZERO(!__TYPE_IS_LL(t) && sizeof(t) > sizeof(long))
/linux-4.1.27/drivers/net/ethernet/sfc/
Dmcdi.h188 ((_ofst) + BUILD_BUG_ON_ZERO((_ofst) & (_align - 1)))
193 ((u16)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \
282 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \
286 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 4) + \
294 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 8) + \
Dio.h255 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \
270 BUILD_BUG_ON_ZERO((reg) != 0x400 && \
299 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
Dfarch_regs.h2845 (BUILD_BUG_ON_ZERO(FR_AA_RX_DESC_UPD_KER != FR_BZ_RX_DESC_UPD_P0) + \
2852 (BUILD_BUG_ON_ZERO(FR_AA_TX_DESC_UPD_KER != FR_BZ_TX_DESC_UPD_P0) + \
/linux-4.1.27/tools/perf/util/include/linux/
Dkernel.h31 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
/linux-4.1.27/tools/perf/util/
Dparse-options.h107 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + …
/linux-4.1.27/drivers/input/touchscreen/
Delants_i2c.c990 (BUILD_BUG_ON_ZERO(__ELANTS_FIELD_SIZE(_field) > 2) + \
/linux-4.1.27/arch/arc/kernel/
Dunwind.c47 BUILD_BUG_ON_ZERO(offsetof(struct unwind_frame_info, f) \