/linux-4.1.27/include/net/netfilter/ |
H A D | nf_tables_core.h | 22 return cpu_to_le32(~0U >> (FIELD_SIZEOF(struct nft_cmp_fast_expr, nft_cmp_fast_mask()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
H A D | util.h | 39 #define item_size(n) (FIELD_SIZEOF(struct mwifiex_debug_info, n)) 43 #define adapter_item_size(n) (FIELD_SIZEOF(struct mwifiex_adapter, n))
|
/linux-4.1.27/include/net/ |
H A D | garp.h | 39 FIELD_SIZEOF(struct sk_buff, cb)); garp_cb()
|
H A D | mrp.h | 41 FIELD_SIZEOF(struct sk_buff, cb)); mrp_cb()
|
H A D | sock.h | 2101 #define SOCK_SKB_CB_OFFSET ((FIELD_SIZEOF(struct sk_buff, cb) - \
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
H A D | dm365_ipipe.c | 1154 FIELD_SIZEOF(struct ipipe_module_params, input_config), 1160 FIELD_SIZEOF(struct ipipe_module_params, lutdpc), 1166 FIELD_SIZEOF(struct ipipe_module_params, otfdpc), 1172 FIELD_SIZEOF(struct ipipe_module_params, nf1), 1178 FIELD_SIZEOF(struct ipipe_module_params, nf2), 1184 FIELD_SIZEOF(struct ipipe_module_params, wbal), 1190 FIELD_SIZEOF(struct ipipe_module_params, rgb2rgb1), 1196 FIELD_SIZEOF(struct ipipe_module_params, rgb2rgb2), 1202 FIELD_SIZEOF(struct ipipe_module_params, gamma), 1208 FIELD_SIZEOF(struct ipipe_module_params, lut), 1214 FIELD_SIZEOF(struct ipipe_module_params, rgb2yuv), 1220 FIELD_SIZEOF(struct ipipe_module_params, yuv422_conv), 1226 FIELD_SIZEOF(struct ipipe_module_params, yee), 1232 FIELD_SIZEOF(struct ipipe_module_params, gic), 1238 FIELD_SIZEOF(struct ipipe_module_params, cfa), 1244 FIELD_SIZEOF(struct ipipe_module_params, car), 1250 FIELD_SIZEOF(struct ipipe_module_params, cgs), 1256 FIELD_SIZEOF(struct ipipe_module_params, gbce),
|
/linux-4.1.27/arch/powerpc/net/ |
H A D | bpf_jit_comp.c | 329 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); bpf_jit_build_body() 338 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, bpf_jit_build_body() 345 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, bpf_jit_build_body() 347 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, bpf_jit_build_body() 370 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); bpf_jit_build_body() 375 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); bpf_jit_build_body() 381 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); bpf_jit_build_body() 394 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, bpf_jit_build_body()
|
H A D | bpf_jit.h | 160 do { BUILD_BUG_ON(FIELD_SIZEOF(struct paca_struct, paca_index) != 2); \ 165 do { BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, cpu) != 4); \
|
/linux-4.1.27/net/netfilter/ |
H A D | nft_ct.c | 276 len = FIELD_SIZEOF(struct nf_conntrack_tuple, nft_ct_get_init() 281 len = FIELD_SIZEOF(struct nf_conntrack_tuple, nft_ct_get_init() 292 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u.all); nft_ct_get_init() 334 len = FIELD_SIZEOF(struct nf_conn, mark); nft_ct_set_init()
|
H A D | nft_redir.c | 54 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); nft_redir_init()
|
H A D | nft_nat.c | 154 alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip); nft_nat_init() 157 alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip6); nft_nat_init() 184 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); nft_nat_init()
|
H A D | xt_RATEEST.c | 31 return jhash(name, FIELD_SIZEOF(struct xt_rateest, name), jhash_rnd) & xt_rateest_hash()
|
H A D | nf_tables_api.c | 4243 if (reg * NFT_REG32_SIZE + len > FIELD_SIZEOF(struct nft_regs, data)) nft_validate_register_load() 4298 FIELD_SIZEOF(struct nft_regs, data)) nft_validate_register_store()
|
/linux-4.1.27/net/openvswitch/ |
H A D | flow.h | 41 FIELD_SIZEOF(struct ovs_key_ipv4_tunnel, tp_dst)) 65 (FIELD_SIZEOF(struct sw_flow_key, tun_opts) - opt_len) 120 FIELD_SIZEOF(struct sw_flow_key, recirc_id))
|
H A D | datapath.c | 2257 BUILD_BUG_ON(sizeof(struct ovs_skb_cb) > FIELD_SIZEOF(struct sk_buff, cb)); dp_init()
|
/linux-4.1.27/net/core/ |
H A D | filter.c | 160 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); convert_skb_access() 175 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, queue_mapping) != 2); convert_skb_access() 183 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); convert_skb_access() 212 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); convert_bpf_extensions() 228 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); convert_bpf_extensions() 229 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, type) != 2); convert_bpf_extensions() 230 BUILD_BUG_ON(bytes_to_bpf_size(FIELD_SIZEOF(struct sk_buff, dev)) < 0); convert_bpf_extensions() 232 *insn++ = BPF_LDX_MEM(bytes_to_bpf_size(FIELD_SIZEOF(struct sk_buff, dev)), convert_bpf_extensions() 252 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); convert_bpf_extensions() 276 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); convert_bpf_extensions() 1415 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); sk_filter_convert_ctx_access() 1422 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); sk_filter_convert_ctx_access() 1429 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); sk_filter_convert_ctx_access() 1436 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, priority) != 4); sk_filter_convert_ctx_access()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
H A D | netcp_ethss.c | 708 FIELD_SIZEOF(struct gbe_hw_stats, field), \ 715 FIELD_SIZEOF(struct gbe_hw_stats, field), \ 722 FIELD_SIZEOF(struct gbe_hw_stats, field), \ 729 FIELD_SIZEOF(struct gbe_hw_stats, field), \ 882 FIELD_SIZEOF(struct gbenu_hw_stats, field), \ 892 FIELD_SIZEOF(struct gbenu_hw_stats, field), \ 899 FIELD_SIZEOF(struct gbenu_hw_stats, field), \ 906 FIELD_SIZEOF(struct gbenu_hw_stats, field), \ 913 FIELD_SIZEOF(struct gbenu_hw_stats, field), \ 920 FIELD_SIZEOF(struct gbenu_hw_stats, field), \ 927 FIELD_SIZEOF(struct gbenu_hw_stats, field), \ 934 FIELD_SIZEOF(struct gbenu_hw_stats, field), \ 941 FIELD_SIZEOF(struct gbenu_hw_stats, field), \ 1361 FIELD_SIZEOF(struct xgbe_hw_stats, field), \ 1368 FIELD_SIZEOF(struct xgbe_hw_stats, field), \ 1375 FIELD_SIZEOF(struct xgbe_hw_stats, field), \
|
/linux-4.1.27/arch/mips/net/ |
H A D | bpf_jit.c | 764 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); build_body() 1207 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body() 1232 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, build_body() 1248 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, build_body() 1255 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); build_body() 1261 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); build_body() 1268 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body() 1293 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body()
|
/linux-4.1.27/arch/arm/net/ |
H A D | bpf_jit_32.c | 507 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); build_body() 802 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body() 812 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, cpu) != 4); build_body() 825 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, build_body() 832 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); build_body() 838 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); build_body() 845 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); build_body() 855 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, build_body()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
H A D | isppreview.c | 759 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), 834 FIELD_SIZEOF(struct prev_params, nf), 840 FIELD_SIZEOF(struct prev_params, gamma),
|
/linux-4.1.27/arch/sparc/net/ |
H A D | bpf_jit_comp.c | 211 BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(void *)); \ 217 BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(u32)); \ 223 BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(u16)); \ 233 do { BUILD_BUG_ON(FIELD_SIZEOF(STRUCT, FIELD) != sizeof(u8)); \
|
/linux-4.1.27/net/bridge/ |
H A D | br.c | 192 BUILD_BUG_ON(sizeof(struct br_input_skb_cb) > FIELD_SIZEOF(struct sk_buff, cb)); br_init()
|
/linux-4.1.27/net/802/ |
H A D | mrp.c | 530 FIELD_SIZEOF(struct sk_buff, cb)) mrp_request_join() 555 FIELD_SIZEOF(struct sk_buff, cb)) mrp_request_leave() 699 FIELD_SIZEOF(struct sk_buff, cb)) mrp_pdu_parse_vecattr()
|
/linux-4.1.27/net/ipv4/ |
H A D | ip_vti.c | 524 [IFLA_VTI_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) }, 525 [IFLA_VTI_REMOTE] = { .len = FIELD_SIZEOF(struct iphdr, daddr) },
|
H A D | ip_gre.c | 811 [IFLA_GRE_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) }, 812 [IFLA_GRE_REMOTE] = { .len = FIELD_SIZEOF(struct iphdr, daddr) },
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_ethtool.c | 47 FIELD_SIZEOF(struct ixgb_adapter, m), \ 50 FIELD_SIZEOF(struct net_device, m), \
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ethtool.c | 56 .sizeof_stat = FIELD_SIZEOF(struct ixgbevf_adapter, m), \ 63 .sizeof_stat = FIELD_SIZEOF(struct ixgbevf_adapter, m), \
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 47 { #m, FIELD_SIZEOF(struct stmmac_extra_stats, m), \ 144 { #m, FIELD_SIZEOF(struct stmmac_counters, m), \
|
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_ethtool.c | 36 FIELD_SIZEOF(struct sxgbe_extra_stats, m), \
|
/linux-4.1.27/drivers/firmware/efi/ |
H A D | efi.c | 390 FIELD_SIZEOF(struct efi_fdt_params, field) \
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | unwind.c | 48 % FIELD_SIZEOF(struct unwind_frame_info, f)) \ 50 / FIELD_SIZEOF(struct unwind_frame_info, f), \ 51 FIELD_SIZEOF(struct unwind_frame_info, f) \
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 40 .sizeof_stat = FIELD_SIZEOF(_type, _stat), \ 191 (FIELD_SIZEOF(struct i40e_pf, stats.priority_xoff_rx) + \ 192 FIELD_SIZEOF(struct i40e_pf, stats.priority_xon_rx) + \ 193 FIELD_SIZEOF(struct i40e_pf, stats.priority_xoff_tx) + \ 194 FIELD_SIZEOF(struct i40e_pf, stats.priority_xon_tx) + \ 195 FIELD_SIZEOF(struct i40e_pf, stats.priority_xon_2_xoff)) \
|
H A D | i40e_lan_hmc.c | 685 FIELD_SIZEOF(struct _struct, _ele)
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pagealloc.c | 474 FIELD_SIZEOF(struct mlx5_manage_pages_outbox, pas[0]); optimal_reclaimed_pages()
|
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 34 .size = FIELD_SIZEOF(struct pch_gbe_hw_stats, m), \
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_ethtool.c | 33 .sizeof_stat = FIELD_SIZEOF(struct net_device_stats, _net_stat), \ 56 .sizeof_stat = FIELD_SIZEOF(struct fm10k_intfc, _stat), \
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_ethtool.c | 43 #define QL_SIZEOF(m) FIELD_SIZEOF(struct ql_adapter, m)
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | debugfs.c | 828 #define item_size(n) (FIELD_SIZEOF(struct lbs_private, n))
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ethtool.c | 132 FIELD_SIZEOF(struct xgbe_mmc_stats, _var), \
|
/linux-4.1.27/net/rxrpc/ |
H A D | af_rxrpc.c | 797 BUILD_BUG_ON(sizeof(struct rxrpc_skb_priv) > FIELD_SIZEOF(struct sk_buff, cb)); af_rxrpc_init()
|
/linux-4.1.27/net/ipv6/ |
H A D | ip6_gre.c | 1633 [IFLA_GRE_LOCAL] = { .len = FIELD_SIZEOF(struct ipv6hdr, saddr) }, 1634 [IFLA_GRE_REMOTE] = { .len = FIELD_SIZEOF(struct ipv6hdr, daddr) },
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
H A D | be_ethtool.c | 30 #define FIELDINFO(_struct, field) FIELD_SIZEOF(_struct, field), \
|
/linux-4.1.27/drivers/net/usb/ |
H A D | sierra_net.c | 861 BUILD_BUG_ON(FIELD_SIZEOF(struct usbnet, data) sierra_net_tx_fixup()
|
H A D | usbnet.c | 2095 FIELD_SIZEOF(struct sk_buff, cb) < sizeof(struct skb_data)); usbnet_init()
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
H A D | be_cmds.h | 1196 (FIELD_SIZEOF(_type_, _field_)/sizeof((((_type_ *)0)->_field_[0])))\
|
/linux-4.1.27/drivers/usb/atm/ |
H A D | usbatm.c | 1297 if (sizeof(struct usbatm_control) > FIELD_SIZEOF(struct sk_buff, cb)) { usbatm_usb_init()
|
/linux-4.1.27/net/dccp/ |
H A D | proto.c | 1115 FIELD_SIZEOF(struct sk_buff, cb)); dccp_init()
|
/linux-4.1.27/include/linux/ |
H A D | kernel.h | 66 #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f)) macro
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 49 .sizeof_stat = FIELD_SIZEOF(struct igb_adapter, _stat), \ 98 .sizeof_stat = FIELD_SIZEOF(struct rtnl_link_stats64, _net_stat), \
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 1417 { #m, FIELD_SIZEOF(struct net_device_stats, m), \ 1421 { #m, FIELD_SIZEOF(struct mib_counters, m), \
|
/linux-4.1.27/drivers/net/ |
H A D | vxlan.c | 2391 [IFLA_VXLAN_GROUP] = { .len = FIELD_SIZEOF(struct iphdr, daddr) }, 2394 [IFLA_VXLAN_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) },
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 574 (FIELD_SIZEOF(struct mlx4_ptys_reg, eth_proto_cap) * 8)
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ethtool.c | 23 #define QLC_SIZEOF(m) FIELD_SIZEOF(struct qlcnic_adapter, m)
|
/linux-4.1.27/net/unix/ |
H A D | af_unix.c | 2612 BUILD_BUG_ON(sizeof(struct unix_skb_parms) > FIELD_SIZEOF(struct sk_buff, cb)); af_unix_init()
|
/linux-4.1.27/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 3541 BUILD_BUG_ON(FIELD_SIZEOF(struct ib_wc, wr_id) < sizeof(void *)); srp_init_module()
|
/linux-4.1.27/net/netlink/ |
H A D | af_netlink.c | 3219 BUILD_BUG_ON(sizeof(struct netlink_skb_parms) > FIELD_SIZEOF(struct sk_buff, cb)); netlink_proto_init()
|