Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.h823 (BUILD_BUG_ON_ZERO((perms) < 0) + \
824 BUILD_BUG_ON_ZERO((perms) > 0777) + \
826 BUILD_BUG_ON_ZERO((((perms) >> 6) & 4) < (((perms) >> 3) & 4)) + \
827 BUILD_BUG_ON_ZERO((((perms) >> 3) & 4) < ((perms) & 4)) + \
829 BUILD_BUG_ON_ZERO((((perms) >> 6) & 2) < (((perms) >> 3) & 2)) + \
831 BUILD_BUG_ON_ZERO((perms) & 2) + \
Dcompiler-gcc.h64 #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.4.14/drivers/net/ethernet/sfc/
Dmcdi.h196 ((_ofst) + BUILD_BUG_ON_ZERO((_ofst) & (_align - 1)))
201 ((u16)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \
290 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \
294 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 4) + \
302 (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.4.14/tools/include/linux/
Dkernel.h31 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
/linux-4.4.14/drivers/pinctrl/uniphier/
Dpinctrl-uniphier.h179 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \
/linux-4.4.14/tools/perf/util/
Dparse-options.h107 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + …
/linux-4.4.14/arch/arc/kernel/
Dunwind.c47 BUILD_BUG_ON_ZERO(offsetof(struct unwind_frame_info, f) \
/linux-4.4.14/drivers/input/touchscreen/
Delants_i2c.c1006 (BUILD_BUG_ON_ZERO(__ELANTS_FIELD_SIZE(_field) > 2) + \