Searched refs:BUILD_BUG_ON_ZERO (Results 1 – 15 of 15) sorted by relevance
| /include/asm-generic/bitops/ |
| 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))
|
| /include/linux/ |
| A D | kernel.h | 383 (BUILD_BUG_ON_ZERO((perms) < 0) + \ 384 BUILD_BUG_ON_ZERO((perms) > 0777) + \ 386 BUILD_BUG_ON_ZERO((((perms) >> 6) & 4) < (((perms) >> 3) & 4)) + \ 387 BUILD_BUG_ON_ZERO((((perms) >> 3) & 4) < ((perms) & 4)) + \ 389 BUILD_BUG_ON_ZERO((((perms) >> 6) & 2) < (((perms) >> 3) & 2)) + \ 391 BUILD_BUG_ON_ZERO((perms) & 2) + \
|
| A D | iommufd.h | 333 BUILD_BUG_ON_ZERO(offsetof(drv_struct, member)) + \ 334 BUILD_BUG_ON_ZERO(!__same_type(struct iommufd_viommu, \ 339 BUILD_BUG_ON_ZERO(offsetof(drv_struct, member)) + \ 340 BUILD_BUG_ON_ZERO(!__same_type(struct iommufd_vdevice, \ 345 BUILD_BUG_ON_ZERO(offsetof(drv_struct, member)) + \ 346 BUILD_BUG_ON_ZERO(!__same_type(struct iommufd_hw_queue, \
|
| A D | bits.h | 34 #define GENMASK_INPUT_CHECK(h, l) BUILD_BUG_ON_ZERO(const_true((l) > (h))) 69 BUILD_BUG_ON_ZERO(const_true((nr) >= BITS_PER_TYPE(type)))
|
| A D | bitfield.h | 119 #define __BF_CHECK_POW2(n) BUILD_BUG_ON_ZERO(((n) & ((n) - 1)) != 0) 136 BUILD_BUG_ON_ZERO((_mask) == 0) + \ 138 BUILD_BUG_ON_ZERO(~((_mask) >> __bf_shf(_mask)) & (_val)) + \
|
| A D | build_bug.h | 16 #define BUILD_BUG_ON_ZERO(e, ...) \ macro
|
| A D | vdpa.h | 472 BUILD_BUG_ON_ZERO(offsetof( \
|
| A D | vfio.h | 287 BUILD_BUG_ON_ZERO(offsetof( \
|
| A D | kvm_host.h | 1923 BUILD_BUG_ON_ZERO(type & ~KVM_STATS_TYPE_MASK) | \ 1924 BUILD_BUG_ON_ZERO(unit & ~KVM_STATS_UNIT_MASK) | \ 1925 BUILD_BUG_ON_ZERO(base & ~KVM_STATS_BASE_MASK), \
|
| A D | syscalls.h | 135 #define __SC_TEST(t, a) (void)BUILD_BUG_ON_ZERO(!__TYPE_IS_LL(t) && sizeof(t) > sizeof(long))
|
| /include/rdma/ |
| 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( \
|
| A D | ibta_vol1_c12.h | 36 BUILD_BUG_ON_ZERO((total_len) % 32 != 0)]; \
|
| A D | ib_verbs.h | 2326 BUILD_BUG_ON_ZERO(offsetof(struct drv_struct, member)) + \ 2327 BUILD_BUG_ON_ZERO( \ 2953 BUILD_BUG_ON_ZERO(offsetof( \ 2960 BUILD_BUG_ON_ZERO(offsetof( \ 3165 BUILD_BUG_ON_ZERO(!__same_type(u32, \
|
| /include/trace/ |
| A D | bpf_probe.h | 104 (void)BUILD_BUG_ON_ZERO(size != sizeof(*FIRST(args))); \
|
| /include/net/ |
| A D | netlink.h | 411 #define __NLA_ENSURE(condition) BUILD_BUG_ON_ZERO(!(condition))
|
Completed in 70 milliseconds