Home
last modified time | relevance | path

Searched refs:BUILD_BUG_ON (Results 1 – 25 of 71) sorted by relevance

123

/include/linux/
A Daverage.h34 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \
35 BUILD_BUG_ON(!__builtin_constant_p(_weight_rcp)); \
40 BUILD_BUG_ON((_precision) > 30); \
47 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \
48 BUILD_BUG_ON(!__builtin_constant_p(_weight_rcp)); \
49 BUILD_BUG_ON((_precision) > 30); \
60 BUILD_BUG_ON(!__builtin_constant_p(_precision)); \
61 BUILD_BUG_ON(!__builtin_constant_p(_weight_rcp)); \
62 BUILD_BUG_ON((_precision) > 30); \
A Dbuild_bug.h21 BUILD_BUG_ON(((n) & ((n) - 1)) != 0)
23 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))
49 #define BUILD_BUG_ON(condition) \ macro
A Dnospec.h61 BUILD_BUG_ON(sizeof(_i) > sizeof(long)); \
62 BUILD_BUG_ON(sizeof(_s) > sizeof(long)); \
A Dcache.h152 BUILD_BUG_ON(!(offsetof(TYPE, MEMBER) >= \
160 BUILD_BUG_ON(offsetof(TYPE, __cacheline_group_end__##GROUP) - \
A Dicmpv6.h32 BUILD_BUG_ON(fn != icmp6_send); in inet6_register_icmp_sender()
37 BUILD_BUG_ON(fn != icmp6_send); in inet6_unregister_icmp_sender()
A Dbug.h24 BUILD_BUG_ON(cond); \
A Dgfp.h22 BUILD_BUG_ON((1UL << GFP_MOVABLE_SHIFT) != ___GFP_MOVABLE); in gfp_migratetype()
23 BUILD_BUG_ON((___GFP_MOVABLE >> GFP_MOVABLE_SHIFT) != MIGRATE_MOVABLE); in gfp_migratetype()
24 BUILD_BUG_ON((___GFP_RECLAIMABLE >> GFP_MOVABLE_SHIFT) != MIGRATE_RECLAIMABLE); in gfp_migratetype()
25 BUILD_BUG_ON(((___GFP_MOVABLE | ___GFP_RECLAIMABLE) >> in gfp_migratetype()
A Dhighmem-internal.h278 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
294 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
A Dvirtio_features.h25 BUILD_BUG_ON(bit >= VIRTIO_FEATURES_MAX); in virtio_features_chk_bit()
A Dstring.h413 BUILD_BUG_ON(!__builtin_constant_p(_dest_len) || \
439 BUILD_BUG_ON(!__builtin_constant_p(_dest_len) || \
463 BUILD_BUG_ON(!__builtin_constant_p(_dest_len) || \
491 BUILD_BUG_ON(!__builtin_constant_p(_dest_len) || \
A Dbpf_mprog.h169 BUILD_BUG_ON(sizeof(bundle->a.fp_items[0]) > sizeof(u64)); in bpf_mprog_bundle_init()
170 BUILD_BUG_ON(ARRAY_SIZE(bundle->a.fp_items) != in bpf_mprog_bundle_init()
A Dnetlink.h215 BUILD_BUG_ON(sizeof(extack->cookie) < sizeof(cookie)); in nl_set_extack_cookie_u64()
308 BUILD_BUG_ON(sizeof(type_name) > \
A Dnetdevice.h5296 BUILD_BUG_ON(SKB_GSO_TCPV4 != (NETIF_F_TSO >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
5297 BUILD_BUG_ON(SKB_GSO_DODGY != (NETIF_F_GSO_ROBUST >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
5298 BUILD_BUG_ON(SKB_GSO_TCP_ECN != (NETIF_F_TSO_ECN >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
5300 BUILD_BUG_ON(SKB_GSO_TCPV6 != (NETIF_F_TSO6 >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
5301 BUILD_BUG_ON(SKB_GSO_FCOE != (NETIF_F_FSO >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
5302 BUILD_BUG_ON(SKB_GSO_GRE != (NETIF_F_GSO_GRE >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
5310 BUILD_BUG_ON(SKB_GSO_SCTP != (NETIF_F_GSO_SCTP >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
5311 BUILD_BUG_ON(SKB_GSO_ESP != (NETIF_F_GSO_ESP >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
5312 BUILD_BUG_ON(SKB_GSO_UDP != (NETIF_F_GSO_UDP >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
5313 BUILD_BUG_ON(SKB_GSO_UDP_L4 != (NETIF_F_GSO_UDP_L4 >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
[all …]
/include/drm/ttm/
A Dttm_range_manager.h46 BUILD_BUG_ON(__builtin_constant_p(type) && type >= TTM_NUM_MEM_TYPES); in ttm_range_man_init()
53 BUILD_BUG_ON(__builtin_constant_p(type) && type >= TTM_NUM_MEM_TYPES); in ttm_range_man_fini()
A Dttm_device.h280 BUILD_BUG_ON(__builtin_constant_p(mem_type) in ttm_manager_type()
288 BUILD_BUG_ON(__builtin_constant_p(type) && type >= TTM_NUM_MEM_TYPES); in ttm_set_driver_manager()
/include/linux/ssb/
A Dssb_driver_extif.h37 BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \
41 BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \
/include/asm-generic/
A Dfixmap.h32 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); in fix_to_virt()
A Duaccess.h19 BUILD_BUG_ON(!__builtin_constant_p(size)); in __get_user_fn()
45 BUILD_BUG_ON(!__builtin_constant_p(size)); in __put_user_fn()
/include/rdma/
A Drdma_netlink.h37 BUILD_BUG_ON(_index != _val); \
/include/net/
A Dgarp.h41 BUILD_BUG_ON(sizeof(struct garp_skb_cb) > in garp_cb()
A Dmrp.h45 BUILD_BUG_ON(sizeof(struct mrp_skb_cb) > in mrp_cb()
A Dxsk_buff_pool.h34 #define XSK_CHECK_PRIV_TYPE(t) BUILD_BUG_ON(sizeof(t) > offsetofend(struct xdp_buff_xsk, cb))
35 #define XSK_TX_COMPL_FITS(t) BUILD_BUG_ON(sizeof(struct xsk_tx_metadata_compl) > sizeof(t))
/include/crypto/internal/
A Dblake2b.h51 BUILD_BUG_ON(BLAKE2B_KEY_SIZE > BLAKE2B_BLOCK_SIZE); in crypto_blake2b_setkey()
/include/linux/io_uring/
A Dcmd.h31 BUILD_BUG_ON(cmd_sz > sizeof_field(struct io_uring_cmd, pdu)); in io_uring_cmd_private_sz_check()
/include/linux/mlx5/
A Ddevice.h76 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \
84 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 32); \
89 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \
107 BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) != 64); \
112 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
117 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
135 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 16); \

Completed in 61 milliseconds

123