Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/asm-generic/bitops/
H A Dconst_hweight.h34 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w))
35 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w))
36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w))
37 #define HWEIGHT64(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight64(w))
/OK3568_Linux_fs/kernel/tools/include/asm-generic/bitops/
H A Dconst_hweight.h34 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w))
35 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w))
36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w))
37 #define HWEIGHT64(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight64(w))
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dbuild_bug.h8 #define BUILD_BUG_ON_ZERO(e) (0) macro
16 #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) macro
H A Dbug.h9 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
H A Dcompiler-gcc.h24 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
H A Dbits.h24 (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
/OK3568_Linux_fs/kernel/include/linux/
H A Dbuild_bug.h8 #define BUILD_BUG_ON_ZERO(e) (0) macro
16 #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) macro
H A Dkernel.h885 (BUILD_BUG_ON_ZERO((perms) < 0) + \
886 BUILD_BUG_ON_ZERO((perms) > 0777) + \
888 BUILD_BUG_ON_ZERO((((perms) >> 6) & 4) < (((perms) >> 3) & 4)) + \
889 BUILD_BUG_ON_ZERO((((perms) >> 3) & 4) < ((perms) & 4)) + \
891 BUILD_BUG_ON_ZERO((((perms) >> 6) & 2) < (((perms) >> 3) & 2)) + \
893 BUILD_BUG_ON_ZERO((perms) & 2) + \
H A Dbits.h24 (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
H A Dcompiler.h240 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
/OK3568_Linux_fs/u-boot/include/linux/
H A Dbuild_bug.h9 #define BUILD_BUG_ON_ZERO(e) (0) macro
29 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); })) macro
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dmcdi.h205 ((_ofst) + BUILD_BUG_ON_ZERO((_ofst) & (_align - 1)))
210 ((void)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 1), \
213 ((u16)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \
302 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \
306 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 4) + \
314 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 8) + \
H A Dio.h261 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \
276 BUILD_BUG_ON_ZERO((reg) != 0x180 && \
307 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
/OK3568_Linux_fs/kernel/include/rdma/
H A Duverbs_ioctl.h396 BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \
411 BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \
487 BUILD_BUG_ON_ZERO((_min_len) == 0 || \
517 BUILD_BUG_ON_ZERO((_access) != UVERBS_ACCESS_NEW && \
553 sizeof(u64) + BUILD_BUG_ON_ZERO(!sizeof(_enum_type)), \
565 UVERBS_ATTR_SIZE(sizeof(u32) + BUILD_BUG_ON_ZERO( \
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A Dio.h238 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \
253 BUILD_BUG_ON_ZERO((reg) != 0x400 && \
282 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dcpufeature.h93 BUILD_BUG_ON_ZERO(NCAPINTS != 19))
116 BUILD_BUG_ON_ZERO(NCAPINTS != 19))
H A Ddisabled-features.h104 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 19)
H A Drequired-features.h104 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 19)
/OK3568_Linux_fs/kernel/lib/
H A Derrname.c15 #define E(err) [err + BUILD_BUG_ON_ZERO(err <= 0 || err > 300)] = "-" #err
176 #define E(err) [err - 512 + BUILD_BUG_ON_ZERO(err < 512 || err > 550)] = "-" #err
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.h203 BUILD_BUG_ON_ZERO(MLX5_ST_SZ_BYTES(fte_match_param) != \
334 (BUILD_BUG_ON_ZERO(FS_FT_RDMA_TX != FS_FT_MAX_TYPE))\
/OK3568_Linux_fs/kernel/tools/arch/x86/include/asm/
H A Ddisabled-features.h107 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 19)
H A Drequired-features.h104 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 19)
/OK3568_Linux_fs/u-boot/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier.h88 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \
/OK3568_Linux_fs/kernel/drivers/pinctrl/renesas/
H A Dsh_pfc.h49 BUILD_BUG_ON_ZERO(sizeof(n##_pins) != sizeof(n##_mux)), \
143 .field_width = f_width + BUILD_BUG_ON_ZERO(r_width % f_width) + \
144 BUILD_BUG_ON_ZERO(sizeof((const u16 []) { ids }) / sizeof(u16) != \
213 BUILD_BUG_ON_ZERO(sizeof((const u16 []) { ids }) / sizeof(u16) != \
/OK3568_Linux_fs/kernel/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier.h170 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \

12