/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_reg_defs.h | 22 BUILD_BUG_ON_ZERO(__is_constexpr(__n) && \ 35 BUILD_BUG_ON_ZERO(__is_constexpr(__n) && \ 49 BUILD_BUG_ON_ZERO(__is_constexpr(__high) && \ 64 BUILD_BUG_ON_ZERO(__is_constexpr(__high) && \ 79 BUILD_BUG_ON_ZERO(__is_constexpr(__high) && \ 100 BUILD_BUG_ON_ZERO(!__is_constexpr(__mask)) + \ 101 BUILD_BUG_ON_ZERO((__mask) == 0 || (__mask) > U32_MAX) + \ 102 BUILD_BUG_ON_ZERO(!IS_POWER_OF_2((__mask) + (1ULL << __bf_shf(__mask)))) + \ 103 BUILD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__val)), 0)))) 117 BUILD_BUG_ON_ZERO(!__is_constexp [all...] |
/kernel/linux/linux-5.10/tools/include/asm-generic/bitops/ |
H A 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))
|
/kernel/linux/linux-5.10/include/asm-generic/bitops/ |
H A 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))
|
/kernel/linux/linux-6.6/include/asm-generic/bitops/ |
H A 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))
|
/kernel/linux/linux-6.6/tools/include/asm-generic/bitops/ |
H A 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))
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | kernel.h | 439 (BUILD_BUG_ON_ZERO((perms) < 0) + \ 440 BUILD_BUG_ON_ZERO((perms) > 0777) + \ 442 BUILD_BUG_ON_ZERO((((perms) >> 6) & 4) < (((perms) >> 3) & 4)) + \ 443 BUILD_BUG_ON_ZERO((((perms) >> 3) & 4) < ((perms) & 4)) + \ 445 BUILD_BUG_ON_ZERO((((perms) >> 6) & 2) < (((perms) >> 3) & 2)) + \ 447 BUILD_BUG_ON_ZERO((perms) & 2) + \
|
H A D | build_bug.h | 8 #define BUILD_BUG_ON_ZERO(e) (0) macro 16 #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) macro
|
H A D | bitfield.h | 118 #define __BF_CHECK_POW2(n) BUILD_BUG_ON_ZERO(((n) & ((n) - 1)) != 0) 135 BUILD_BUG_ON_ZERO((_mask) == 0) + \ 137 BUILD_BUG_ON_ZERO(~((_mask) >> __bf_shf(_mask)) & (_val)) + \
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | build_bug.h | 8 #define BUILD_BUG_ON_ZERO(e) (0) macro 16 #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) macro
|
H A D | bug.h | 9 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | build_bug.h | 8 #define BUILD_BUG_ON_ZERO(e) (0) macro 16 #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) macro
|
H A D | kernel.h | 737 (BUILD_BUG_ON_ZERO((perms) < 0) + \ 738 BUILD_BUG_ON_ZERO((perms) > 0777) + \ 740 BUILD_BUG_ON_ZERO((((perms) >> 6) & 4) < (((perms) >> 3) & 4)) + \ 741 BUILD_BUG_ON_ZERO((((perms) >> 3) & 4) < ((perms) & 4)) + \ 743 BUILD_BUG_ON_ZERO((((perms) >> 6) & 2) < (((perms) >> 3) & 2)) + \ 745 BUILD_BUG_ON_ZERO((perms) & 2) + \
|
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | build_bug.h | 8 #define BUILD_BUG_ON_ZERO(e) (0) macro 16 #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); }))) macro
|
H A D | bug.h | 9 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
|
/kernel/linux/linux-6.6/drivers/cdx/controller/ |
H A D | mcdi.h | 213 ((void)BUILD_BUG_ON_ZERO((_ofst) & ((_align) - 1)), \ 219 ((void)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 1), \ 222 ((void)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2), \
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | mcdi.h | 211 ((_ofst) + BUILD_BUG_ON_ZERO((_ofst) & (_align - 1))) 228 ((void)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 1), \ 231 ((void)BUILD_BUG_ON_ZERO(_field ## _LEN != 1), \ 244 ((u16)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \ 247 ((void)BUILD_BUG_ON_ZERO(_field ## _LEN != 2), \ 357 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2) + \ 361 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 4) + \ 369 (BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 8) + \
|
H A D | io.h | 195 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \ 210 BUILD_BUG_ON_ZERO((reg) != 0x180 && \ 241 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
|
H A D | tc_counters.c | 401 ((void)BUILD_BUG_ON_ZERO(ERF_SC_PACKETISER_HEADER_##field##_LBN & 7), \ 404 ((void)BUILD_BUG_ON_ZERO(ERF_SC_PACKETISER_HEADER_##field##_WIDTH != 8),\ 407 ((void)BUILD_BUG_ON_ZERO(ERF_SC_PACKETISER_HEADER_##field##_WIDTH != 16),\ 408 (void)BUILD_BUG_ON_ZERO(ERF_SC_PACKETISER_HEADER_##field##_LBN & 15), \ 411 ((void)BUILD_BUG_ON_ZERO(ERF_SC_PACKETISER_PAYLOAD_##field##_LBN & 7), \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | mcdi.h | 205 ((_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 D | io.h | 261 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \ 276 BUILD_BUG_ON_ZERO((reg) != 0x180 && \ 307 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A 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) + \
|
/kernel/linux/linux-5.10/include/rdma/ |
H A D | uverbs_ioctl.h | 396 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( \
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | uverbs_ioctl.h | 397 BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \ 412 BUILD_BUG_ON_ZERO(sizeof_field(struct ib_device_ops, \ 490 BUILD_BUG_ON_ZERO((_min_len) == 0 || \ 520 BUILD_BUG_ON_ZERO((_access) != UVERBS_ACCESS_NEW && \ 561 sizeof(u64) + BUILD_BUG_ON_ZERO(!sizeof(_enum_type)), \ 573 UVERBS_ATTR_SIZE(sizeof(u32) + BUILD_BUG_ON_ZERO( \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A 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), \
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A 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), \
|