Home
last modified time | relevance | path

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

/include/asm-generic/bitops/
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))
/include/linux/
A Dkernel.h383 (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 Diommufd.h333 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 Dbits.h34 #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 Dbitfield.h119 #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 Dbuild_bug.h16 #define BUILD_BUG_ON_ZERO(e, ...) \ macro
A Dvdpa.h472 BUILD_BUG_ON_ZERO(offsetof( \
A Dvfio.h287 BUILD_BUG_ON_ZERO(offsetof( \
A Dkvm_host.h1923 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 Dsyscalls.h135 #define __SC_TEST(t, a) (void)BUILD_BUG_ON_ZERO(!__TYPE_IS_LL(t) && sizeof(t) > sizeof(long))
/include/rdma/
A Duverbs_ioctl.h397 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 Dibta_vol1_c12.h36 BUILD_BUG_ON_ZERO((total_len) % 32 != 0)]; \
A Dib_verbs.h2326 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 Dbpf_probe.h104 (void)BUILD_BUG_ON_ZERO(size != sizeof(*FIRST(args))); \
/include/net/
A Dnetlink.h411 #define __NLA_ENSURE(condition) BUILD_BUG_ON_ZERO(!(condition))

Completed in 70 milliseconds