Searched refs:BUILD_BUG_ON (Results 1 – 25 of 48) sorted by relevance
12
/include/linux/ |
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); \
|
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
|
D | nospec.h | 55 BUILD_BUG_ON(sizeof(_i) > sizeof(long)); \ 56 BUILD_BUG_ON(sizeof(_s) > sizeof(long)); \
|
D | bug.h | 24 BUILD_BUG_ON(cond); \
|
D | virtio_config.h | 109 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()
|
D | generic-radix-tree.h | 102 BUILD_BUG_ON(obj_size > PAGE_SIZE); in __idx_to_offset()
|
D | gfp.h | 311 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()
|
D | netdevice.h | 4510 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 …]
|
D | highmem.h | 151 BUILD_BUG_ON(__same_type((addr), struct page *)); \
|
D | skb_array.h | 205 BUILD_BUG_ON(offsetof(struct skb_array, ring)); in skb_array_resize_multiple()
|
D | filter.h | 414 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/ |
D | flow.h | 213 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()
|
D | garp.h | 39 BUILD_BUG_ON(sizeof(struct garp_skb_cb) > in garp_cb()
|
D | mrp.h | 41 BUILD_BUG_ON(sizeof(struct mrp_skb_cb) > in mrp_cb()
|
D | nexthop.h | 216 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()
|
D | 6lowpan.h | 181 BUILD_BUG_ON(sizeof(struct lowpan_802154_cb) > sizeof(skb->cb)); in lowpan_802154_cb()
|
/include/rdma/ |
D | rdma_netlink.h | 35 BUILD_BUG_ON(_index != _val); \
|
/include/linux/ssb/ |
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/ |
D | fixmap.h | 32 BUILD_BUG_ON(idx >= __end_of_fixed_addresses); in fix_to_virt()
|
/include/linux/mlx5/ |
D | device.h | 75 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/ |
D | nf_conntrack_helper.h | 84 BUILD_BUG_ON((structsize) > FIELD_SIZEOF(struct nf_conn_help, data))
|
/include/scsi/ |
D | fc_frame.h | 87 BUILD_BUG_ON(sizeof(struct fcoe_rcv_info) > sizeof(skb->cb)); in fcoe_dev_from_skb()
|
/include/xen/ |
D | grant_table.h | 257 BUILD_BUG_ON(sizeof(struct xen_page_foreign) > BITS_PER_LONG); in xen_page_foreign()
|
/include/trace/ |
D | trace_events.h | 338 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/ |
D | v4l2-common.h | 411 BUILD_BUG_ON(sizeof((array)->width_field) != sizeof(u32) || \
|
12