Home
last modified time | relevance | path

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

12

/include/linux/
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); \
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
Dnospec.h55 BUILD_BUG_ON(sizeof(_i) > sizeof(long)); \
56 BUILD_BUG_ON(sizeof(_s) > sizeof(long)); \
Dbug.h24 BUILD_BUG_ON(cond); \
Dvirtio_config.h109 BUILD_BUG_ON(fbit >= 64); in __virtio_test_bit()
126 BUILD_BUG_ON(fbit >= 64); in __virtio_set_bit()
143 BUILD_BUG_ON(fbit >= 64); in __virtio_clear_bit()
Dgeneric-radix-tree.h102 BUILD_BUG_ON(obj_size > PAGE_SIZE); in __idx_to_offset()
Dgfp.h311 BUILD_BUG_ON((1UL << GFP_MOVABLE_SHIFT) != ___GFP_MOVABLE); in gfpflags_to_migratetype()
312 BUILD_BUG_ON((___GFP_MOVABLE >> GFP_MOVABLE_SHIFT) != MIGRATE_MOVABLE); in gfpflags_to_migratetype()
Dnetdevice.h4510 BUILD_BUG_ON(SKB_GSO_TCPV4 != (NETIF_F_TSO >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
4511 BUILD_BUG_ON(SKB_GSO_DODGY != (NETIF_F_GSO_ROBUST >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
4512 BUILD_BUG_ON(SKB_GSO_TCP_ECN != (NETIF_F_TSO_ECN >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
4513 BUILD_BUG_ON(SKB_GSO_TCP_FIXEDID != (NETIF_F_TSO_MANGLEID >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
4514 BUILD_BUG_ON(SKB_GSO_TCPV6 != (NETIF_F_TSO6 >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
4515 BUILD_BUG_ON(SKB_GSO_FCOE != (NETIF_F_FSO >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
4516 BUILD_BUG_ON(SKB_GSO_GRE != (NETIF_F_GSO_GRE >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
4517 BUILD_BUG_ON(SKB_GSO_GRE_CSUM != (NETIF_F_GSO_GRE_CSUM >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
4518 BUILD_BUG_ON(SKB_GSO_IPXIP4 != (NETIF_F_GSO_IPXIP4 >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
4519 BUILD_BUG_ON(SKB_GSO_IPXIP6 != (NETIF_F_GSO_IPXIP6 >> NETIF_F_GSO_SHIFT)); in net_gso_ok()
[all …]
Dhighmem.h151 BUILD_BUG_ON(__same_type((addr), struct page *)); \
Dskb_array.h205 BUILD_BUG_ON(offsetof(struct skb_array, ring)); in skb_array_resize_multiple()
Dfilter.h414 BUILD_BUG_ON(__size < 0); \
421 BUILD_BUG_ON(__size < 0); \
496 BUILD_BUG_ON(FIELD_SIZEOF(TYPE, MEMBER) != (SIZE)); \
665 BUILD_BUG_ON(sizeof(*cb) > FIELD_SIZEOF(struct sk_buff, cb)); in bpf_compute_data_pointers()
703 BUILD_BUG_ON(FIELD_SIZEOF(struct __sk_buff, cb) != BPF_SKB_CB_LEN); in bpf_skb_cb()
704 BUILD_BUG_ON(FIELD_SIZEOF(struct __sk_buff, cb) != in bpf_skb_cb()
/include/net/
Dflow.h213 BUILD_BUG_ON(sizeof(struct flowi4) % sizeof(flow_compare_t)); in flow_key_size()
216 BUILD_BUG_ON(sizeof(struct flowi6) % sizeof(flow_compare_t)); in flow_key_size()
219 BUILD_BUG_ON(sizeof(struct flowidn) % sizeof(flow_compare_t)); in flow_key_size()
Dgarp.h39 BUILD_BUG_ON(sizeof(struct garp_skb_cb) > in garp_cb()
Dmrp.h41 BUILD_BUG_ON(sizeof(struct mrp_skb_cb) > in mrp_cb()
Dnexthop.h216 BUILD_BUG_ON(offsetof(struct fib_nh, nh_common) != 0); in nexthop_fib_nhc()
217 BUILD_BUG_ON(offsetof(struct fib6_nh, nh_common) != 0); in nexthop_fib_nhc()
D6lowpan.h181 BUILD_BUG_ON(sizeof(struct lowpan_802154_cb) > sizeof(skb->cb)); in lowpan_802154_cb()
/include/rdma/
Drdma_netlink.h35 BUILD_BUG_ON(_index != _val); \
/include/linux/ssb/
Dssb_driver_extif.h37 BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \
41 BUILD_BUG_ON(index >= SSB_EXTIF_NR_GPIOOUT); \
/include/asm-generic/
Dfixmap.h32 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); in fix_to_virt()
/include/linux/mlx5/
Ddevice.h75 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \
83 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 32); \
88 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 32); \
106 BUILD_BUG_ON(__mlx5_bit_sz(typ, fld) != 64); \
111 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
116 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
134 BUILD_BUG_ON(__mlx5_st_sz_bits(typ) % 16); \
/include/net/netfilter/
Dnf_conntrack_helper.h84 BUILD_BUG_ON((structsize) > FIELD_SIZEOF(struct nf_conn_help, data))
/include/scsi/
Dfc_frame.h87 BUILD_BUG_ON(sizeof(struct fcoe_rcv_info) > sizeof(skb->cb)); in fcoe_dev_from_skb()
/include/xen/
Dgrant_table.h257 BUILD_BUG_ON(sizeof(struct xen_page_foreign) > BITS_PER_LONG); in xen_page_foreign()
/include/trace/
Dtrace_events.h338 BUILD_BUG_ON(el_size != 1 && el_size != 2 && \
424 BUILD_BUG_ON(len > MAX_FILTER_STR_VAL); \
425 BUILD_BUG_ON(len <= 0); \
/include/media/
Dv4l2-common.h411 BUILD_BUG_ON(sizeof((array)->width_field) != sizeof(u32) || \

12