Home
last modified time | relevance | path

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

/include/asm-generic/bitops/
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/
Dbuild_bug.h8 #define BUILD_BUG_ON_ZERO(e) (0) macro
16 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); })) macro
Dkernel.h1022 (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) + \
Dcompiler.h357 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
Dsyscalls.h124 #define __SC_TEST(t, a) (void)BUILD_BUG_ON_ZERO(!__TYPE_IS_LL(t) && sizeof(t) > sizeof(long))
/include/rdma/
Duverbs_ioctl.h423 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( \
Dib_verbs.h2241 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( \
/include/trace/
Dbpf_probe.h97 (void)BUILD_BUG_ON_ZERO(size != sizeof(*FIRST(args))); \
/include/net/
Dnetlink.h340 #define __NLA_ENSURE(condition) BUILD_BUG_ON_ZERO(!(condition))