Home
last modified time | relevance | path

Searched refs:FIELD_SIZEOF (Results 1 – 25 of 93) sorted by relevance

1234

/Linux-v4.19/arch/powerpc/net/
Dbpf_jit_comp.c328 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in bpf_jit_build_body()
340 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in bpf_jit_build_body()
347 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in bpf_jit_build_body()
349 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in bpf_jit_build_body()
372 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in bpf_jit_build_body()
377 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in bpf_jit_build_body()
383 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in bpf_jit_build_body()
396 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in bpf_jit_build_body()
Dbpf_jit32.h104 do { BUILD_BUG_ON(FIELD_SIZEOF(struct paca_struct, paca_index) != 2); \
109 do { BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, cpu) != 4); \
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dutil.h39 #define item_size(n) (FIELD_SIZEOF(struct mwifiex_debug_info, n))
43 #define adapter_item_size(n) (FIELD_SIZEOF(struct mwifiex_adapter, n))
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Ddm365_ipipe.c1143 FIELD_SIZEOF(struct ipipe_module_params, input_config),
1149 FIELD_SIZEOF(struct ipipe_module_params, lutdpc),
1155 FIELD_SIZEOF(struct ipipe_module_params, otfdpc),
1161 FIELD_SIZEOF(struct ipipe_module_params, nf1),
1167 FIELD_SIZEOF(struct ipipe_module_params, nf2),
1173 FIELD_SIZEOF(struct ipipe_module_params, wbal),
1179 FIELD_SIZEOF(struct ipipe_module_params, rgb2rgb1),
1185 FIELD_SIZEOF(struct ipipe_module_params, rgb2rgb2),
1191 FIELD_SIZEOF(struct ipipe_module_params, gamma),
1197 FIELD_SIZEOF(struct ipipe_module_params, lut),
[all …]
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Docteon_console.c208 FIELD_SIZEOF(struct cvmx_bootmem_desc, major_version)); in __cvmx_bootmem_check_version()
212 FIELD_SIZEOF(struct cvmx_bootmem_desc, minor_version)); in __cvmx_bootmem_check_version()
240 FIELD_SIZEOF( in __cvmx_bootmem_find_named_block_flags()
246 FIELD_SIZEOF( in __cvmx_bootmem_find_named_block_flags()
271 FIELD_SIZEOF(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
277 FIELD_SIZEOF(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
284 FIELD_SIZEOF(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
295 FIELD_SIZEOF( in cvmx_bootmem_phy_named_block_find()
/Linux-v4.19/net/core/
Dfilter.c272 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in convert_skb_access()
287 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, queue_mapping) != 2); in convert_skb_access()
295 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in convert_skb_access()
324 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); in convert_bpf_extensions()
340 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); in convert_bpf_extensions()
341 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, type) != 2); in convert_bpf_extensions()
363 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in convert_bpf_extensions()
387 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions()
5844 BUILD_BUG_ON(FIELD_SIZEOF(struct qdisc_skb_cb, data) < 20); in bpf_convert_ctx_access()
5863 BUILD_BUG_ON(FIELD_SIZEOF(struct qdisc_skb_cb, tc_classid) != 2); in bpf_convert_ctx_access()
[all …]
Dxdp.c48 BUILD_BUG_ON(FIELD_SIZEOF(struct xdp_mem_allocator, mem.id) in xdp_mem_id_hashfn()
68 .key_len = FIELD_SIZEOF(struct xdp_mem_allocator, mem.id),
/Linux-v4.19/net/netfilter/
Dnft_nat.c150 alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip); in nft_nat_init()
153 alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip6); in nft_nat_init()
180 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_nat_init()
Dnft_ct.c432 len = FIELD_SIZEOF(struct nf_conntrack_tuple, in nft_ct_get_init()
437 len = FIELD_SIZEOF(struct nf_conntrack_tuple, in nft_ct_get_init()
449 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init()
456 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init()
462 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u.all); in nft_ct_get_init()
540 len = FIELD_SIZEOF(struct nf_conn, mark); in nft_ct_set_init()
Dnft_masq.c45 u32 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_masq_init()
Dnft_redir.c50 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_redir_init()
Dnft_tproxy.c221 alen = FIELD_SIZEOF(union nf_inet_addr, in); in nft_tproxy_init()
228 alen = FIELD_SIZEOF(union nf_inet_addr, in6); in nft_tproxy_init()
/Linux-v4.19/include/linux/
Dphy_led_triggers.h26 FIELD_SIZEOF(struct mdio_device, addr)+\
Dfilter.h386 const int __size = bytes_to_bpf_size(FIELD_SIZEOF(type, field)); \
455 BUILD_BUG_ON(FIELD_SIZEOF(TYPE, MEMBER) != (SIZE)); \
564 BUILD_BUG_ON(sizeof(*cb) > FIELD_SIZEOF(struct sk_buff, cb)); in bpf_compute_data_pointers()
581 BUILD_BUG_ON(FIELD_SIZEOF(struct __sk_buff, cb) != BPF_SKB_CB_LEN); in bpf_skb_cb()
582 BUILD_BUG_ON(FIELD_SIZEOF(struct __sk_buff, cb) != in bpf_skb_cb()
583 FIELD_SIZEOF(struct qdisc_skb_cb, data)); in bpf_skb_cb()
/Linux-v4.19/arch/mips/net/
Dbpf_jit.c692 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in build_body()
1096 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body()
1121 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, in build_body()
1140 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); in build_body()
1144 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, type) != 2); in build_body()
1151 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body()
1157 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in build_body()
1164 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body()
1189 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body()
/Linux-v4.19/net/openvswitch/
Dflow.h53 (FIELD_SIZEOF(struct sw_flow_key, tun_opts) - opt_len)
68 FIELD_SIZEOF(struct sw_flow_key, recirc_id))
/Linux-v4.19/drivers/media/platform/omap3isp/
Disppreview.c759 FIELD_SIZEOF(struct prev_params, luma),
768 FIELD_SIZEOF(struct prev_params, hmed),
774 FIELD_SIZEOF(struct prev_params, cfa),
780 FIELD_SIZEOF(struct prev_params, csup),
786 FIELD_SIZEOF(struct prev_params, wbal),
792 FIELD_SIZEOF(struct prev_params, blkadj),
798 FIELD_SIZEOF(struct prev_params, rgb2rgb),
804 FIELD_SIZEOF(struct prev_params, csc),
810 FIELD_SIZEOF(struct prev_params, yclimit),
816 FIELD_SIZEOF(struct prev_params, dcor),
[all …]
/Linux-v4.19/include/net/netfilter/
Dnf_tables_core.h40 return cpu_to_le32(~0U >> (FIELD_SIZEOF(struct nft_cmp_fast_expr, in nft_cmp_fast_mask()
Dnf_conntrack_helper.h77 BUILD_BUG_ON((structsize) > FIELD_SIZEOF(struct nf_conn_help, data))
/Linux-v4.19/include/net/
Dip_tunnels.h36 (FIELD_SIZEOF(struct ip_tunnel_key, u) - \
37 FIELD_SIZEOF(struct ip_tunnel_key, u.ipv4))
66 GENMASK((FIELD_SIZEOF(struct ip_tunnel_info, \
Dgarp.h40 FIELD_SIZEOF(struct sk_buff, cb)); in garp_cb()
Dmrp.h42 FIELD_SIZEOF(struct sk_buff, cb)); in mrp_cb()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dverbs.h108 #define LRH_16B_BYTES (FIELD_SIZEOF(struct hfi1_16b_header, lrh))
110 #define LRH_9B_BYTES (FIELD_SIZEOF(struct ib_header, lrh))
/Linux-v4.19/arch/sparc/net/
Dbpf_jit_comp_32.c183 BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(void *)); \
189 BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(u32)); \
195 BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(u16)); \
205 do { BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(u8)); \
/Linux-v4.19/drivers/net/ethernet/ti/
Dnetcp_ethss.c792 FIELD_SIZEOF(struct gbe_hw_stats, field), \
799 FIELD_SIZEOF(struct gbe_hw_stats, field), \
806 FIELD_SIZEOF(struct gbe_hw_stats, field), \
813 FIELD_SIZEOF(struct gbe_hw_stats, field), \
966 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
976 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
983 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
990 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
997 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
1004 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
[all …]

1234