/linux-4.1.27/drivers/net/wireless/mwifiex/ |
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/arch/powerpc/net/ |
D | bpf_jit_comp.c | 329 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in bpf_jit_build_body() 338 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in bpf_jit_build_body() 345 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in bpf_jit_build_body() 347 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in bpf_jit_build_body() 370 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in bpf_jit_build_body() 375 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in bpf_jit_build_body() 381 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in bpf_jit_build_body() 394 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in bpf_jit_build_body()
|
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/core/ |
D | filter.c | 160 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in convert_skb_access() 175 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, queue_mapping) != 2); in convert_skb_access() 183 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in convert_skb_access() 212 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); in convert_bpf_extensions() 228 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, ifindex) != 4); in convert_bpf_extensions() 229 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, type) != 2); in convert_bpf_extensions() 230 BUILD_BUG_ON(bytes_to_bpf_size(FIELD_SIZEOF(struct sk_buff, dev)) < 0); in convert_bpf_extensions() 232 *insn++ = BPF_LDX_MEM(bytes_to_bpf_size(FIELD_SIZEOF(struct sk_buff, dev)), in convert_bpf_extensions() 252 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in convert_bpf_extensions() 276 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions() [all …]
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
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), [all …]
|
/linux-4.1.27/net/openvswitch/ |
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))
|
D | datapath.c | 2257 BUILD_BUG_ON(sizeof(struct ovs_skb_cb) > FIELD_SIZEOF(struct sk_buff, cb)); in dp_init()
|
/linux-4.1.27/net/netfilter/ |
D | nft_ct.c | 276 len = FIELD_SIZEOF(struct nf_conntrack_tuple, in nft_ct_get_init() 281 len = FIELD_SIZEOF(struct nf_conntrack_tuple, in nft_ct_get_init() 292 len = FIELD_SIZEOF(struct nf_conntrack_tuple, src.u.all); in nft_ct_get_init() 334 len = FIELD_SIZEOF(struct nf_conn, mark); in nft_ct_set_init()
|
D | nft_nat.c | 154 alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip); in nft_nat_init() 157 alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip6); in nft_nat_init() 184 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_nat_init()
|
D | nft_redir.c | 54 plen = FIELD_SIZEOF(struct nf_nat_range, min_addr.all); in nft_redir_init()
|
D | xt_RATEEST.c | 31 return jhash(name, FIELD_SIZEOF(struct xt_rateest, name), jhash_rnd) & in xt_rateest_hash()
|
D | nf_tables_api.c | 4243 if (reg * NFT_REG32_SIZE + len > FIELD_SIZEOF(struct nft_regs, data)) in nft_validate_register_load() 4298 FIELD_SIZEOF(struct nft_regs, data)) in nft_validate_register_store()
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_tables_core.h | 22 return cpu_to_le32(~0U >> (FIELD_SIZEOF(struct nft_cmp_fast_expr, in nft_cmp_fast_mask()
|
/linux-4.1.27/arch/arm/net/ |
D | bpf_jit_32.c | 507 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in build_body() 802 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 812 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, cpu) != 4); in build_body() 825 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in build_body() 832 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body() 838 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in build_body() 845 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, vlan_tci) != 2); in build_body() 855 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
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), [all …]
|
/linux-4.1.27/arch/mips/net/ |
D | bpf_jit.c | 764 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, len) != 4); in build_body() 1207 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 1232 BUILD_BUG_ON(FIELD_SIZEOF(struct thread_info, in build_body() 1248 BUILD_BUG_ON(FIELD_SIZEOF(struct net_device, in build_body() 1255 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body() 1261 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, hash) != 4); in build_body() 1268 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body() 1293 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, in build_body()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
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), \ [all …]
|
/linux-4.1.27/include/net/ |
D | garp.h | 39 FIELD_SIZEOF(struct sk_buff, cb)); in garp_cb()
|
D | mrp.h | 41 FIELD_SIZEOF(struct sk_buff, cb)); in mrp_cb()
|
D | sock.h | 2101 #define SOCK_SKB_CB_OFFSET ((FIELD_SIZEOF(struct sk_buff, cb) - \
|
/linux-4.1.27/arch/sparc/net/ |
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/ |
D | br.c | 192 BUILD_BUG_ON(sizeof(struct br_input_skb_cb) > FIELD_SIZEOF(struct sk_buff, cb)); in br_init()
|
/linux-4.1.27/net/802/ |
D | mrp.c | 530 FIELD_SIZEOF(struct sk_buff, cb)) in mrp_request_join() 555 FIELD_SIZEOF(struct sk_buff, cb)) in mrp_request_leave() 699 FIELD_SIZEOF(struct sk_buff, cb)) in mrp_pdu_parse_vecattr()
|
/linux-4.1.27/net/ipv4/ |
D | ip_vti.c | 524 [IFLA_VTI_LOCAL] = { .len = FIELD_SIZEOF(struct iphdr, saddr) }, 525 [IFLA_VTI_REMOTE] = { .len = FIELD_SIZEOF(struct iphdr, daddr) },
|
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/i40e/ |
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)) \
|
D | i40e_lan_hmc.c | 685 FIELD_SIZEOF(struct _struct, _ele)
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
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/stmicro/stmmac/ |
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/arch/arc/kernel/ |
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/ixgbevf/ |
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/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 34 .size = FIELD_SIZEOF(struct pch_gbe_hw_stats, m), \
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 132 FIELD_SIZEOF(struct xgbe_mmc_stats, _var), \
|
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_ethtool.c | 36 FIELD_SIZEOF(struct sxgbe_extra_stats, m), \
|
/linux-4.1.27/drivers/firmware/efi/ |
D | efi.c | 390 FIELD_SIZEOF(struct efi_fdt_params, field) \
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 474 FIELD_SIZEOF(struct mlx5_manage_pages_outbox, pas[0]); in optimal_reclaimed_pages()
|
/linux-4.1.27/Documentation/zh_CN/ |
D | CodingStyle | 644 #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
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/include/linux/ |
D | kernel.h | 66 #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f)) macro
|
/linux-4.1.27/net/rxrpc/ |
D | af_rxrpc.c | 797 BUILD_BUG_ON(sizeof(struct rxrpc_skb_priv) > FIELD_SIZEOF(struct sk_buff, cb)); in af_rxrpc_init()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_ethtool.c | 43 #define QL_SIZEOF(m) FIELD_SIZEOF(struct ql_adapter, m)
|
/linux-4.1.27/drivers/net/usb/ |
D | sierra_net.c | 861 BUILD_BUG_ON(FIELD_SIZEOF(struct usbnet, data) in sierra_net_tx_fixup()
|
D | usbnet.c | 2094 FIELD_SIZEOF(struct sk_buff, cb) < sizeof(struct skb_data)); in usbnet_init()
|
/linux-4.1.27/net/ipv6/ |
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/scsi/be2iscsi/ |
D | be_cmds.h | 1196 (FIELD_SIZEOF(_type_, _field_)/sizeof((((_type_ *)0)->_field_[0])))\
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | debugfs.c | 828 #define item_size(n) (FIELD_SIZEOF(struct lbs_private, n))
|
/linux-4.1.27/net/dccp/ |
D | proto.c | 1115 FIELD_SIZEOF(struct sk_buff, cb)); in dccp_init()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 30 #define FIELDINFO(_struct, field) FIELD_SIZEOF(_struct, field), \
|
/linux-4.1.27/drivers/usb/atm/ |
D | usbatm.c | 1297 if (sizeof(struct usbatm_control) > FIELD_SIZEOF(struct sk_buff, cb)) { in usbatm_usb_init()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
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/ethernet/intel/igb/ |
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/ |
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/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 23 #define QLC_SIZEOF(m) FIELD_SIZEOF(struct qlcnic_adapter, m)
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 574 (FIELD_SIZEOF(struct mlx4_ptys_reg, eth_proto_cap) * 8)
|
/linux-4.1.27/net/unix/ |
D | af_unix.c | 2612 BUILD_BUG_ON(sizeof(struct unix_skb_parms) > FIELD_SIZEOF(struct sk_buff, cb)); in af_unix_init()
|
/linux-4.1.27/net/netlink/ |
D | af_netlink.c | 3219 BUILD_BUG_ON(sizeof(struct netlink_skb_parms) > FIELD_SIZEOF(struct sk_buff, cb)); in netlink_proto_init()
|
/linux-4.1.27/Documentation/ |
D | CodingStyle | 819 #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))
|
/linux-4.1.27/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 3541 BUILD_BUG_ON(FIELD_SIZEOF(struct ib_wc, wr_id) < sizeof(void *)); in srp_init_module()
|