Searched refs:BUILD_BUG_ON_ZERO (Results 1 – 25 of 29) sorted by relevance
12
/Linux-v4.19/tools/include/asm-generic/bitops/ |
D | const_hweight.h | 34 #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))
|
/Linux-v4.19/include/asm-generic/bitops/ |
D | const_hweight.h | 34 #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))
|
/Linux-v4.19/include/linux/ |
D | build_bug.h | 10 #define BUILD_BUG_ON_ZERO(e) (0) macro 29 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); })) macro
|
D | compiler-clang.h | 44 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
D | kernel.h | 1025 (BUILD_BUG_ON_ZERO((perms) < 0) + \ 1026 BUILD_BUG_ON_ZERO((perms) > 0777) + \ 1028 BUILD_BUG_ON_ZERO((((perms) >> 6) & 4) < (((perms) >> 3) & 4)) + \ 1029 BUILD_BUG_ON_ZERO((((perms) >> 3) & 4) < ((perms) & 4)) + \ 1031 BUILD_BUG_ON_ZERO((((perms) >> 6) & 2) < (((perms) >> 3) & 2)) + \ 1033 BUILD_BUG_ON_ZERO((perms) & 2) + \
|
D | compiler-gcc.h | 75 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | mcdi.h | 207 ((_ofst) + BUILD_BUG_ON_ZERO((_ofst) & (_align - 1))) 212 ((void)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 1), \ 215 ((u16)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \ 304 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \ 308 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 4) + \ 316 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 8) + \
|
D | io.h | 258 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \ 273 BUILD_BUG_ON_ZERO((reg) != 0x400 && \ 302 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
|
D | farch_regs.h | 2845 (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-v4.19/tools/include/linux/ |
D | bug.h | 9 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
|
D | compiler-gcc.h | 22 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
D | kernel.h | 39 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
|
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/ |
D | io.h | 243 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \ 258 BUILD_BUG_ON_ZERO((reg) != 0x400 && \ 287 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
|
D | farch_regs.h | 2845 (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-v4.19/arch/x86/include/asm/ |
D | cpufeature.h | 85 BUILD_BUG_ON_ZERO(NCAPINTS != 19)) 108 BUILD_BUG_ON_ZERO(NCAPINTS != 19))
|
D | disabled-features.h | 81 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 19)
|
D | required-features.h | 104 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 19)
|
/Linux-v4.19/tools/arch/x86/include/asm/ |
D | disabled-features.h | 81 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 19)
|
D | required-features.h | 104 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 19)
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.h | 168 BUILD_BUG_ON_ZERO(MLX5_ST_SZ_BYTES(fte_match_param) != \ 282 (BUILD_BUG_ON_ZERO(FS_FT_SNIFFER_TX != FS_FT_MAX_TYPE))\
|
/Linux-v4.19/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier.h | 179 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \
|
/Linux-v4.19/drivers/clk/samsung/ |
D | clk-pll.h | 47 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout)))
|
/Linux-v4.19/include/rdma/ |
D | uverbs_ioctl.h | 337 BUILD_BUG_ON_ZERO((_access) != UVERBS_ACCESS_NEW && \ 376 UVERBS_ATTR_SIZE(sizeof(u32) + BUILD_BUG_ON_ZERO( \
|
/Linux-v4.19/tools/lib/subcmd/ |
D | parse-options.h | 117 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + …
|
/Linux-v4.19/net/ipv6/ |
D | mcast.c | 69 BUILD_BUG_ON_ZERO(offsetof(struct mld2_query, mld2q_srcs) % 4), 70 BUILD_BUG_ON_ZERO(offsetof(struct mld2_report, mld2r_grec) % 4), 71 BUILD_BUG_ON_ZERO(offsetof(struct mld2_grec, grec_mca) % 4)
|
12