Searched refs:BUILD_BUG_ON (Results 1 – 25 of 71) sorted by relevance
123
| /include/linux/ |
| A D | average.h | 34 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 D | build_bug.h | 21 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 D | nospec.h | 61 BUILD_BUG_ON(sizeof(_i) > sizeof(long)); \ 62 BUILD_BUG_ON(sizeof(_s) > sizeof(long)); \
|
| A D | cache.h | 152 BUILD_BUG_ON(!(offsetof(TYPE, MEMBER) >= \ 160 BUILD_BUG_ON(offsetof(TYPE, __cacheline_group_end__##GROUP) - \
|
| A D | icmpv6.h | 32 BUILD_BUG_ON(fn != icmp6_send); in inet6_register_icmp_sender() 37 BUILD_BUG_ON(fn != icmp6_send); in inet6_unregister_icmp_sender()
|
| A D | bug.h | 24 BUILD_BUG_ON(cond); \
|
| A D | gfp.h | 22 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 D | highmem-internal.h | 278 BUILD_BUG_ON(__same_type((__addr), struct page *)); \ 294 BUILD_BUG_ON(__same_type((__addr), struct page *)); \
|
| A D | virtio_features.h | 25 BUILD_BUG_ON(bit >= VIRTIO_FEATURES_MAX); in virtio_features_chk_bit()
|
| A D | string.h | 413 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 D | bpf_mprog.h | 169 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 D | netlink.h | 215 BUILD_BUG_ON(sizeof(extack->cookie) < sizeof(cookie)); in nl_set_extack_cookie_u64() 308 BUILD_BUG_ON(sizeof(type_name) > \
|
| A D | netdevice.h | 5296 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 D | ttm_range_manager.h | 46 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 D | ttm_device.h | 280 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 D | ssb_driver_extif.h | 37 BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \ 41 BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \
|
| /include/asm-generic/ |
| A D | fixmap.h | 32 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); in fix_to_virt()
|
| A D | uaccess.h | 19 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 D | rdma_netlink.h | 37 BUILD_BUG_ON(_index != _val); \
|
| /include/net/ |
| A D | garp.h | 41 BUILD_BUG_ON(sizeof(struct garp_skb_cb) > in garp_cb()
|
| A D | mrp.h | 45 BUILD_BUG_ON(sizeof(struct mrp_skb_cb) > in mrp_cb()
|
| A D | xsk_buff_pool.h | 34 #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 D | blake2b.h | 51 BUILD_BUG_ON(BLAKE2B_KEY_SIZE > BLAKE2B_BLOCK_SIZE); in crypto_blake2b_setkey()
|
| /include/linux/io_uring/ |
| A D | cmd.h | 31 BUILD_BUG_ON(cmd_sz > sizeof_field(struct io_uring_cmd, pdu)); in io_uring_cmd_private_sz_check()
|
| /include/linux/mlx5/ |
| A D | device.h | 76 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 62 milliseconds
123