Searched refs:BUILD_BUG_ON_ZERO (Results 1 – 25 of 34) sorted by relevance
12
| /Linux-v5.4/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-v5.4/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-v5.4/include/linux/ |
| D | build_bug.h | 8 #define BUILD_BUG_ON_ZERO(e) (0) macro 16 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); })) macro
|
| D | kernel.h | 1022 (BUILD_BUG_ON_ZERO((perms) < 0) + \ 1023 BUILD_BUG_ON_ZERO((perms) > 0777) + \ 1025 BUILD_BUG_ON_ZERO((((perms) >> 6) & 4) < (((perms) >> 3) & 4)) + \ 1026 BUILD_BUG_ON_ZERO((((perms) >> 3) & 4) < ((perms) & 4)) + \ 1028 BUILD_BUG_ON_ZERO((((perms) >> 6) & 2) < (((perms) >> 3) & 2)) + \ 1030 BUILD_BUG_ON_ZERO((perms) & 2) + \
|
| D | compiler.h | 357 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
|
| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | mcdi.h | 204 ((_ofst) + BUILD_BUG_ON_ZERO((_ofst) & (_align - 1))) 209 ((void)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 1), \ 212 ((u16)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \ 301 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \ 305 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 4) + \ 313 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 8) + \
|
| D | io.h | 253 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \ 268 BUILD_BUG_ON_ZERO((reg) != 0x400 && \ 297 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
|
| /Linux-v5.4/include/rdma/ |
| D | uverbs_ioctl.h | 423 BUILD_BUG_ON_ZERO( \ 438 BUILD_BUG_ON_ZERO( \ 515 BUILD_BUG_ON_ZERO((_min_len) == 0 || \ 545 BUILD_BUG_ON_ZERO((_access) != UVERBS_ACCESS_NEW && \ 581 sizeof(u64) + BUILD_BUG_ON_ZERO(!sizeof(_enum_type)), \ 593 UVERBS_ATTR_SIZE(sizeof(u32) + BUILD_BUG_ON_ZERO( \
|
| D | ib_verbs.h | 2241 BUILD_BUG_ON_ZERO(offsetof(struct drv_struct, member)) + \ 2242 BUILD_BUG_ON_ZERO( \ 2723 BUILD_BUG_ON_ZERO(offsetof( \ 2941 for (iter = rdma_start_port(device + BUILD_BUG_ON_ZERO(!__same_type( \
|
| /Linux-v5.4/tools/include/linux/ |
| D | bug.h | 9 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
|
| D | compiler-gcc.h | 24 #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-v5.4/drivers/net/ethernet/sfc/falcon/ |
| D | io.h | 238 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \ 253 BUILD_BUG_ON_ZERO((reg) != 0x400 && \ 282 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | cpufeature.h | 92 BUILD_BUG_ON_ZERO(NCAPINTS != 19)) 115 BUILD_BUG_ON_ZERO(NCAPINTS != 19))
|
| D | disabled-features.h | 87 #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-v5.4/tools/arch/x86/include/asm/ |
| D | disabled-features.h | 87 #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-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | fs_core.h | 188 BUILD_BUG_ON_ZERO(MLX5_ST_SZ_BYTES(fte_match_param) != \ 318 (BUILD_BUG_ON_ZERO(FS_FT_RDMA_RX != FS_FT_MAX_TYPE))\
|
| /Linux-v5.4/drivers/pinctrl/uniphier/ |
| D | pinctrl-uniphier.h | 170 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \
|
| /Linux-v5.4/drivers/pinctrl/sh-pfc/ |
| D | sh_pfc.h | 49 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) != \
|
| /Linux-v5.4/drivers/clk/samsung/ |
| D | clk-pll.h | 44 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout)))
|
| /Linux-v5.4/include/trace/ |
| D | bpf_probe.h | 97 (void)BUILD_BUG_ON_ZERO(size != sizeof(*FIRST(args))); \
|
| /Linux-v5.4/tools/lib/subcmd/ |
| D | parse-options.h | 118 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + …
|
| /Linux-v5.4/drivers/gpu/drm/i915/ |
| D | i915_drv.h | 1846 BUILD_BUG_ON_ZERO(!__builtin_constant_p(s)) + \ 1847 BUILD_BUG_ON_ZERO(!__builtin_constant_p(e)) + \ 1855 (BUILD_BUG_ON_ZERO(!__builtin_constant_p(n)) + \
|
12