Home
last modified time | relevance | path

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

12345

/Linux-v5.4/arch/powerpc/net/
Dbpf_jit_comp.c324 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in bpf_jit_build_body()
336 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in bpf_jit_build_body()
343 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in bpf_jit_build_body()
345 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in bpf_jit_build_body()
368 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in bpf_jit_build_body()
373 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in bpf_jit_build_body()
378 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in bpf_jit_build_body()
391 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in bpf_jit_build_body()
Dbpf_jit32.h100 do { BUILD_BUG_ON(FIELD_SIZEOF(struct paca_struct, paca_index) != 2); \
105 do { BUILD_BUG_ON(FIELD_SIZEOF(struct task_struct, cpu) != 4); \
/Linux-v5.4/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-v5.4/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-v5.4/net/core/
Dfilter.c277 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in convert_skb_access()
292 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, queue_mapping) != 2); in convert_skb_access()
299 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in convert_skb_access()
325 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); in convert_bpf_extensions()
341 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); in convert_bpf_extensions()
342 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, type) != 2); in convert_bpf_extensions()
364 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in convert_bpf_extensions()
388 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions()
5579 BUILD_BUG_ON(FIELD_SIZEOF(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
5580 FIELD_SIZEOF(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
[all …]
/Linux-v5.4/include/linux/
Dphy_led_triggers.h17 FIELD_SIZEOF(struct mdio_device, addr)+\
Dfilter.h420 const int __size = bytes_to_bpf_size(FIELD_SIZEOF(type, field)); \
496 BUILD_BUG_ON(FIELD_SIZEOF(TYPE, MEMBER) != (SIZE)); \
605 BUILD_BUG_ON(sizeof(*cb) > FIELD_SIZEOF(struct sk_buff, cb)); in bpf_compute_data_pointers()
643 BUILD_BUG_ON(FIELD_SIZEOF(struct __sk_buff, cb) != BPF_SKB_CB_LEN); in bpf_skb_cb()
644 BUILD_BUG_ON(FIELD_SIZEOF(struct __sk_buff, cb) != in bpf_skb_cb()
645 FIELD_SIZEOF(struct qdisc_skb_cb, data)); in bpf_skb_cb()
/Linux-v5.4/net/netfilter/
Dnft_nat.c144 alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip); in nft_nat_init()
147 alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip6); in nft_nat_init()
174 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_nat_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()
Dnft_ct.c443 len = FIELD_SIZEOF(struct nf_conntrack_tuple, in nft_ct_get_init()
448 len = FIELD_SIZEOF(struct nf_conntrack_tuple, in nft_ct_get_init()
460 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u3.ip); in nft_ct_get_init()
467 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u3.ip6); in nft_ct_get_init()
473 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u.all); in nft_ct_get_init()
554 len = FIELD_SIZEOF(struct nf_conn, mark); in nft_ct_set_init()
/Linux-v5.4/drivers/s390/net/
Dqeth_core_mpc.h438 #define SETASS_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipacmd_setassparms,\
552 #define SETADP_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipacmd_setadpparms,\
665 #define VNICC_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipacmd_vnicc,\
746 #define SBP_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipacmd_setbridgeport,\
807 #define IPA_DATA_SIZEOF(field) FIELD_SIZEOF(struct qeth_ipa_cmd, data.field)
/Linux-v5.4/net/openvswitch/
Dflow.h39 (FIELD_SIZEOF(struct sw_flow_key, tun_opts) - opt_len)
54 FIELD_SIZEOF(struct sw_flow_key, recirc_id))
/Linux-v5.4/drivers/media/platform/omap3isp/
Disppreview.c756 FIELD_SIZEOF(struct prev_params, luma),
765 FIELD_SIZEOF(struct prev_params, hmed),
771 FIELD_SIZEOF(struct prev_params, cfa),
777 FIELD_SIZEOF(struct prev_params, csup),
783 FIELD_SIZEOF(struct prev_params, wbal),
789 FIELD_SIZEOF(struct prev_params, blkadj),
795 FIELD_SIZEOF(struct prev_params, rgb2rgb),
801 FIELD_SIZEOF(struct prev_params, csc),
807 FIELD_SIZEOF(struct prev_params, yclimit),
813 FIELD_SIZEOF(struct prev_params, dcor),
[all …]
/Linux-v5.4/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-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c453 .size = FIELD_SIZEOF(struct hinic_vport_stats, _stat_item), \
480 .size = FIELD_SIZEOF(struct hinic_phy_port_stats, _stat_item), \
574 .size = FIELD_SIZEOF(struct hinic_txq_stats, _stat_item), \
589 .size = FIELD_SIZEOF(struct hinic_rxq_stats, _stat_item), \
/Linux-v5.4/net/bpf/
Dtest_run.c213 FIELD_SIZEOF(struct __sk_buff, priority), in convert___skb_to_skb()
220 FIELD_SIZEOF(struct __sk_buff, cb), in convert___skb_to_skb()
389 FIELD_SIZEOF(struct bpf_flow_keys, flags), in verify_user_bpf_flow_keys()
/Linux-v5.4/include/net/netfilter/
Dnf_tables_core.h44 return cpu_to_le32(~0U >> (FIELD_SIZEOF(struct nft_cmp_fast_expr, in nft_cmp_fast_mask()
Dnf_conntrack_helper.h84 BUILD_BUG_ON((structsize) > FIELD_SIZEOF(struct nf_conn_help, data))
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dverbs.h110 #define LRH_16B_BYTES (FIELD_SIZEOF(struct hfi1_16b_header, lrh))
112 #define LRH_9B_BYTES (FIELD_SIZEOF(struct ib_header, lrh))
/Linux-v5.4/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-v5.4/drivers/net/ethernet/ti/
Dnetcp_ethss.c786 FIELD_SIZEOF(struct gbe_hw_stats, field), \
793 FIELD_SIZEOF(struct gbe_hw_stats, field), \
800 FIELD_SIZEOF(struct gbe_hw_stats, field), \
807 FIELD_SIZEOF(struct gbe_hw_stats, field), \
960 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
970 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
977 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
984 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
991 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
998 FIELD_SIZEOF(struct gbenu_hw_stats, field), \
[all …]
Dcpsw_ethtool.c76 FIELD_SIZEOF(struct cpsw_hw_stats, m), \
79 FIELD_SIZEOF(struct cpdma_chan_stats, m), \
82 FIELD_SIZEOF(struct cpdma_chan_stats, m), \
/Linux-v5.4/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_ethtool.c66 #define VNIC_STAT(m) { FIELD_SIZEOF(struct opa_vnic_stats, m), \

12345