Home
last modified time | relevance | path

Searched refs:net_device_stats (Results 1 – 200 of 235) sorted by relevance

12

/linux-4.4.14/net/irda/
Dwrapper.c209 struct net_device_stats *stats, in async_bump()
281 struct net_device_stats *stats, in async_unwrap_bof()
321 struct net_device_stats *stats, in async_unwrap_eof()
379 struct net_device_stats *stats, in async_unwrap_ce()
409 struct net_device_stats *stats, in async_unwrap_other()
473 struct net_device_stats *stats, in async_unwrap_char()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_stats.h112 #define MLX4_FIND_NETDEV_STAT(n) (offsetof(struct net_device_stats, n) / \
113 sizeof(((struct net_device_stats *)0)->n))
Dmlx4_en.h501 struct net_device_stats stats;
502 struct net_device_stats ret_stats;
Den_port.c156 struct net_device_stats *stats = &priv->stats; in mlx4_en_DUMP_ETH_STATS()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dnorm_desc.c33 struct net_device_stats *stats = (struct net_device_stats *)data; in ndesc_get_tx_status()
77 struct net_device_stats *stats = (struct net_device_stats *)data; in ndesc_get_rx_status()
Ddwmac100_dma.c108 struct net_device_stats *stats = (struct net_device_stats *)data; in dwmac100_dma_diagnostic_fr()
Denh_desc.c33 struct net_device_stats *stats = (struct net_device_stats *)data; in enh_desc_get_tx_status()
181 struct net_device_stats *stats = (struct net_device_stats *)data; in enh_desc_get_rx_status()
/linux-4.4.14/drivers/net/can/
Dvcan.c72 struct net_device_stats *stats = &dev->stats; in vcan_rx()
87 struct net_device_stats *stats = &dev->stats; in vcan_tx()
Dxilinx_can.c391 struct net_device_stats *stats = &ndev->stats; in xcan_start_xmit()
476 struct net_device_stats *stats = &ndev->stats; in xcan_rx()
543 struct net_device_stats *stats = &ndev->stats; in xcan_err_interrupt()
744 struct net_device_stats *stats = &ndev->stats; in xcan_tx_interrupt()
Dsun4i_can.c464 struct net_device_stats *stats = &dev->stats; in sun4i_can_rx()
513 struct net_device_stats *stats = &dev->stats; in sun4i_can_err()
634 struct net_device_stats *stats = &dev->stats; in sun4i_can_interrupt()
Dbfin_can.c388 struct net_device_stats *stats = &dev->stats; in bfin_can_rx()
436 struct net_device_stats *stats = &dev->stats; in bfin_can_err()
520 struct net_device_stats *stats = &dev->stats; in bfin_can_interrupt()
Dpch_can.c496 struct net_device_stats *stats = &(priv->ndev->stats); in pch_can_error()
618 struct net_device_stats *stats = &(priv->ndev->stats); in pch_can_rx_msg_lost()
649 struct net_device_stats *stats = &(priv->ndev->stats); in pch_can_rx_normal()
722 struct net_device_stats *stats = &(priv->ndev->stats); in pch_can_tx_complete()
Drcar_can.c221 struct net_device_stats *stats = &ndev->stats; in rcar_can_error()
370 struct net_device_stats *stats = &ndev->stats; in rcar_can_tx_done()
638 struct net_device_stats *stats = &priv->ndev->stats; in rcar_can_rx_pkt()
Dti_hecc.c546 struct net_device_stats *stats = &priv->ndev->stats; in ti_hecc_rx_pkt()
664 struct net_device_stats *stats = &ndev->stats; in ti_hecc_error()
758 struct net_device_stats *stats = &ndev->stats; in ti_hecc_interrupt()
Dat91_can.c456 struct net_device_stats *stats = &dev->stats; in at91_start_xmit()
545 struct net_device_stats *stats = &dev->stats; in at91_rx_overflow_err()
613 struct net_device_stats *stats = &dev->stats; in at91_read_msg()
Ddev.c369 struct net_device_stats *stats = &dev->stats; in can_flush_echo_skb()
478 struct net_device_stats *stats = &dev->stats; in can_restart()
Djanz-ican3.c949 struct net_device_stats *stats = &dev->stats; in ican3_handle_msglost()
991 struct net_device_stats *stats = &dev->stats; in ican3_handle_cevtind()
1293 struct net_device_stats *stats = &ndev->stats; in ican3_recv_skb()
Dgrcan.c506 struct net_device_stats *stats = &dev->stats; in catch_up_echo_skb()
581 struct net_device_stats *stats = &dev->stats; in grcan_err()
1172 struct net_device_stats *stats = &dev->stats; in grcan_receive()
Dflexcan.c656 struct net_device_stats *stats = &dev->stats; in flexcan_read_frame()
718 struct net_device_stats *stats = &dev->stats; in flexcan_irq()
/linux-4.4.14/net/netrom/
Dnr_dev.c45 struct net_device_stats *stats = &dev->stats; in nr_rx_ip()
144 struct net_device_stats *stats = &dev->stats; in nr_xmit()
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_wfi_netdevice.h112 struct net_device_stats stats;
201 struct net_device_stats netstats;
Dlinux_wlan.c107 static struct net_device_stats *mac_stats(struct net_device *dev);
1284 struct net_device_stats *mac_stats(struct net_device *dev) in mac_stats()
/linux-4.4.14/arch/ia64/hp/sim/
Dsimeth.c43 struct net_device_stats stats;
52 static struct net_device_stats *simeth_get_stats(struct net_device *dev);
494 static struct net_device_stats *
/linux-4.4.14/include/net/irda/
Dwrapper.h55 void async_unwrap_char(struct net_device *dev, struct net_device_stats *stats,
Dirttp.h129 struct net_device_stats stats;
/linux-4.4.14/drivers/net/ethernet/arc/
Demac_main.c156 struct net_device_stats *stats = &ndev->stats; in arc_emac_tx_clean()
223 struct net_device_stats *stats = &ndev->stats; in arc_emac_rx()
339 struct net_device_stats *stats = &ndev->stats; in arc_emac_intr()
547 static struct net_device_stats *arc_emac_stats(struct net_device *ndev) in arc_emac_stats()
550 struct net_device_stats *stats = &ndev->stats; in arc_emac_stats()
586 struct net_device_stats *stats = &ndev->stats; in arc_emac_tx()
/linux-4.4.14/drivers/net/ethernet/8390/
D8390.h38 struct net_device_stats *ei_get_stats(struct net_device *dev);
56 struct net_device_stats *eip_get_stats(struct net_device *dev);
D8390.c26 struct net_device_stats *ei_get_stats(struct net_device *dev) in ei_get_stats()
D8390p.c31 struct net_device_stats *eip_get_stats(struct net_device *dev) in eip_get_stats()
Daxnet_cs.c84 static struct net_device_stats *get_stats(struct net_device *dev);
1516 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
Dlib8390.c850 static struct net_device_stats *__ei_get_stats(struct net_device *dev) in __ei_get_stats()
/linux-4.4.14/drivers/net/wireless/orinoco/
Dorinoco.h87 struct net_device_stats stats;
209 struct net_device_stats *orinoco_get_stats(struct net_device *dev);
Dmain.c297 struct net_device_stats *orinoco_get_stats(struct net_device *dev) in orinoco_get_stats()
439 struct net_device_stats *stats = &priv->stats; in orinoco_xmit()
600 struct net_device_stats *stats = &priv->stats; in __orinoco_ev_tx()
612 struct net_device_stats *stats = &priv->stats; in __orinoco_ev_txexc()
668 struct net_device_stats *stats = &priv->stats; in orinoco_tx_timeout()
755 struct net_device_stats *stats = &priv->stats; in orinoco_rx_monitor()
846 struct net_device_stats *stats = &priv->stats; in __orinoco_ev_rx()
965 struct net_device_stats *stats = &priv->stats; in orinoco_rx()
Dorinoco_usb.c407 struct net_device_stats *stats = &priv->stats; in ezusb_ctx_complete()
1186 struct net_device_stats *stats = &priv->stats; in ezusb_xmit()
/linux-4.4.14/include/linux/
Dif_frad.h69 struct net_device_stats stats;
Dscc.h52 struct net_device_stats dev_stat;/* device statistics */
Dif_fddi.h35 struct net_device_stats gen;
Disdn.h159 struct net_device_stats stats; /* Ethernet Statistics */
Dnetdevice.h157 struct net_device_stats { struct
1094 struct net_device_stats* (*ndo_get_stats)(struct net_device *dev);
1588 struct net_device_stats stats;
3558 const struct net_device_stats *netdev_stats);
/linux-4.4.14/drivers/net/irda/
Dbfin_sir.h71 struct net_device_stats stats;
Dau1k_ir.c388 struct net_device_stats *ps = &dev->stats; in update_rx_stats()
406 struct net_device_stats *ps = &dev->stats; in update_tx_stats()
Dsh_sir.c627 static struct net_device_stats *sh_sir_stats(struct net_device *ndev) in sh_sir_stats()
Dsh_irda.c682 static struct net_device_stats *sh_irda_stats(struct net_device *ndev) in sh_irda_stats()
Dbfin_sir.c601 static struct net_device_stats *bfin_sir_stats(struct net_device *dev) in bfin_sir_stats()
/linux-4.4.14/drivers/net/ethernet/adi/
Dbfin_mac.h76 struct net_device_stats stats;
/linux-4.4.14/drivers/net/wireless/
Dray_cs.h51 struct net_device_stats stats;
Dray_cs.c76 static struct net_device_stats *ray_get_stats(struct net_device *dev);
1687 static struct net_device_stats *ray_get_stats(struct net_device *dev) in ray_get_stats()
/linux-4.4.14/drivers/staging/octeon/
Docteon-ethernet.h42 struct net_device_stats stats;
Dethernet.c206 static struct net_device_stats *cvm_oct_common_get_stats(struct net_device *dev) in cvm_oct_common_get_stats()
467 sizeof(struct net_device_stats)); in cvm_oct_common_init()
/linux-4.4.14/drivers/staging/gdm724x/
Dgdm_lte.h65 struct net_device_stats stats;
Dgdm_lte.c507 static struct net_device_stats *gdm_lte_stats(struct net_device *dev) in gdm_lte_stats()
/linux-4.4.14/drivers/net/can/cc770/
Dcc770.c396 struct net_device_stats *stats = &dev->stats; in cc770_start_xmit()
465 struct net_device_stats *stats = &dev->stats; in cc770_rx()
516 struct net_device_stats *stats = &dev->stats; in cc770_err()
616 struct net_device_stats *stats = &dev->stats; in cc770_rx_interrupt()
681 struct net_device_stats *stats = &dev->stats; in cc770_tx_interrupt()
/linux-4.4.14/drivers/net/ethernet/natsemi/
Dsonic.h322 struct net_device_stats stats;
334 static struct net_device_stats *sonic_get_stats(struct net_device *dev);
Dsonic.c508 static struct net_device_stats *sonic_get_stats(struct net_device *dev) in sonic_get_stats()
Dnatsemi.c637 static struct net_device_stats *get_stats(struct net_device *dev);
2466 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
/linux-4.4.14/net/rose/
Drose_dev.c102 struct net_device_stats *stats = &dev->stats; in rose_xmit()
/linux-4.4.14/include/net/
Dip6_tunnel.h86 struct net_device_stats *stats = &dev->stats; in ip6tunnel_xmit()
Dip_tunnels.h287 struct net_device_stats *err_stats, in iptunnel_xmit_stats()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcore.h188 struct net_device_stats stats;
Dcore.c601 static struct net_device_stats *brcmf_netdev_get_stats(struct net_device *ndev) in brcmf_netdev_get_stats()
/linux-4.4.14/drivers/staging/rtl8712/
Ddrv_types.h174 struct net_device_stats stats;
Dos_intfs.c185 static struct net_device_stats *r871x_net_get_stats(struct net_device *pnetdev) in r871x_net_get_stats()
/linux-4.4.14/drivers/net/wireless/hostap/
Dhostap.h35 struct net_device_stats *hostap_get_stats(struct net_device *dev);
Dhostap_wlan.h759 struct net_device_stats apdevstats;
763 struct net_device_stats stadevstats;
895 struct net_device_stats stats;
/linux-4.4.14/drivers/net/can/c_can/
Dc_can.c353 struct net_device_stats *stats = &dev->stats; in c_can_handle_lost_msg_obj()
379 struct net_device_stats *stats = &dev->stats; in c_can_read_msg_object()
682 struct net_device_stats *stats = &dev->stats; in c_can_do_tx()
859 struct net_device_stats *stats = &dev->stats; in c_can_handle_state_change()
936 struct net_device_stats *stats = &dev->stats; in c_can_handle_bus_err()
/linux-4.4.14/drivers/net/can/sja1000/
Dsja1000.c340 struct net_device_stats *stats = &dev->stats; in sja1000_rx()
393 struct net_device_stats *stats = &dev->stats; in sja1000_err()
499 struct net_device_stats *stats = &dev->stats; in sja1000_interrupt()
/linux-4.4.14/drivers/net/cris/
Deth_v10.c198 static struct net_device_stats *e100_get_stats(struct net_device *dev);
201 static void update_rx_stats(struct net_device_stats *);
202 static void update_tx_stats(struct net_device_stats *);
1509 update_rx_stats(struct net_device_stats *es) in update_rx_stats()
1520 update_tx_stats(struct net_device_stats *es) in update_tx_stats()
1533 static struct net_device_stats *
/linux-4.4.14/drivers/net/can/m_can/
Dm_can.c362 struct net_device_stats *stats = &dev->stats; in m_can_read_fifo()
449 struct net_device_stats *stats = &dev->stats; in m_can_handle_lost_msg()
474 struct net_device_stats *stats = &dev->stats; in m_can_handle_lec_err()
568 struct net_device_stats *stats = &dev->stats; in m_can_handle_state_change()
745 struct net_device_stats *stats = &dev->stats; in m_can_isr()
/linux-4.4.14/drivers/net/can/mscan/
Dmscan.c348 struct net_device_stats *stats = &dev->stats; in mscan_get_err_frame()
394 struct net_device_stats *stats = &dev->stats; in mscan_rx_poll()
441 struct net_device_stats *stats = &dev->stats; in mscan_isr()
/linux-4.4.14/drivers/net/ethernet/ibm/
Dibmveth.h149 struct net_device_stats stats;
/linux-4.4.14/drivers/staging/rtl8723au/include/
Ddrv_types.h252 struct net_device_stats stats;
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcmsysport.h579 .stat_sizeof = sizeof(((struct net_device_stats *)0)->m), \
580 .stat_offset = offsetof(struct net_device_stats, m), \
Dbcm63xx_enet.c1258 #define DEV_STAT(m) sizeof(((struct net_device_stats *)0)->m), \
1259 offsetof(struct net_device_stats, m)
/linux-4.4.14/drivers/net/ethernet/smsc/
Depic100.c305 static struct net_device_stats *epic_get_stats(struct net_device *dev);
758 struct net_device_stats *stats = &dev->stats; in epic_pause()
1000 struct net_device_stats *stats = &dev->stats; in epic_tx_error()
1103 struct net_device_stats *stats = &dev->stats; in epic_interrupt()
1340 static struct net_device_stats *epic_get_stats(struct net_device *dev) in epic_get_stats()
1346 struct net_device_stats *stats = &dev->stats; in epic_get_stats()
/linux-4.4.14/drivers/net/ethernet/hisilicon/
Dhip04_eth.c428 struct net_device_stats *stats = &ndev->stats; in hip04_mac_start_xmit()
488 struct net_device_stats *stats = &ndev->stats; in hip04_rx_poll()
569 struct net_device_stats *stats = &ndev->stats; in hip04_mac_interrupt()
701 static struct net_device_stats *hip04_get_stats(struct net_device *ndev) in hip04_get_stats()
/linux-4.4.14/drivers/net/ethernet/amd/
Dnmclan_cs.c362 struct net_device_stats linux_stats; /* Linux statistics counters */
413 static struct net_device_stats *mace_get_stats(struct net_device *dev);
1137 static void pr_linux_stats(struct net_device_stats *pstats) in pr_linux_stats()
1271 static struct net_device_stats *mace_get_stats(struct net_device *dev) in mace_get_stats()
Dau1000_eth.c804 struct net_device_stats *ps = &dev->stats; in au1000_update_rx_stats()
899 struct net_device_stats *ps = &dev->stats; in au1000_update_tx_stats()
1025 struct net_device_stats *ps = &dev->stats; in au1000_tx()
Dlance.c307 static struct net_device_stats *lance_get_stats(struct net_device *dev);
1260 static struct net_device_stats *lance_get_stats(struct net_device *dev) in lance_get_stats()
Dariadne.c621 static struct net_device_stats *ariadne_get_stats(struct net_device *dev) in ariadne_get_stats()
Damd8111e.c885 static struct net_device_stats *amd8111e_get_stats(struct net_device *dev) in amd8111e_get_stats()
890 struct net_device_stats *new_stats = &dev->stats; in amd8111e_get_stats()
Dpcnet32.c317 static struct net_device_stats *pcnet32_get_stats(struct net_device *);
2606 static struct net_device_stats *pcnet32_get_stats(struct net_device *dev) in pcnet32_get_stats()
/linux-4.4.14/drivers/s390/net/
Dctcm_main.h202 struct net_device_stats stats;
Dlcs.h305 struct net_device_stats stats;
Dqeth_core.h788 struct net_device_stats stats;
935 struct net_device_stats *qeth_get_stats(struct net_device *);
Dnetiucv.c225 struct net_device_stats stats;
1424 static struct net_device_stats *netiucv_stats (struct net_device * dev) in netiucv_stats()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Ddrv_types.h224 struct net_device_stats stats;
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Digbvf.h244 struct net_device_stats net_stats;
/linux-4.4.14/drivers/net/ethernet/cirrus/
Dmac89x0.c132 static struct net_device_stats *net_get_stats(struct net_device *dev);
550 static struct net_device_stats *
Dcs89x0.c1115 static struct net_device_stats *
/linux-4.4.14/drivers/net/can/usb/
Dusb_8dev.c351 struct net_device_stats *stats = &priv->netdev->stats; in usb_8dev_rx_err_msg()
473 struct net_device_stats *stats = &priv->netdev->stats; in usb_8dev_rx_can_msg()
612 struct net_device_stats *stats = &netdev->stats; in usb_8dev_start_xmit()
Desd_usb2.c229 struct net_device_stats *stats = &priv->netdev->stats; in esd_usb2_rx_event()
315 struct net_device_stats *stats = &priv->netdev->stats; in esd_usb2_rx_can_msg()
359 struct net_device_stats *stats = &priv->netdev->stats; in esd_usb2_tx_done_msg()
718 struct net_device_stats *stats = &netdev->stats; in esd_usb2_start_xmit()
Dems_usb.c314 struct net_device_stats *stats = &dev->netdev->stats; in ems_usb_rx_can_msg()
344 struct net_device_stats *stats = &dev->netdev->stats; in ems_usb_rx_err()
743 struct net_device_stats *stats = &netdev->stats; in ems_usb_start_xmit()
Dkvaser_usb.c702 struct net_device_stats *stats; in kvaser_usb_tx_acknowledge()
825 struct net_device_stats *stats = &priv->netdev->stats; in kvaser_usb_rx_error_update_can_state()
891 struct net_device_stats *stats; in kvaser_usb_rx_error()
1100 struct net_device_stats *stats = &priv->netdev->stats; in kvaser_usb_rx_can_err()
1136 struct net_device_stats *stats; in kvaser_usb_rx_can_msg()
1652 struct net_device_stats *stats = &netdev->stats; in kvaser_usb_start_xmit()
Dgs_usb.c283 struct net_device_stats *stats; in gs_usb_receive_bulk_callback()
458 struct net_device_stats *stats = &dev->netdev->stats; in gs_can_start_xmit()
/linux-4.4.14/drivers/net/ethernet/3com/
Dtyphoon.c286 struct net_device_stats stats;
287 struct net_device_stats stats_saved;
901 struct net_device_stats *stats = &tp->stats; in typhoon_do_get_stats()
902 struct net_device_stats *saved = &tp->stats_saved; in typhoon_do_get_stats()
950 static struct net_device_stats *
954 struct net_device_stats *stats = &tp->stats; in typhoon_get_stats()
955 struct net_device_stats *saved = &tp->stats_saved; in typhoon_get_stats()
1989 memcpy(&tp->stats_saved, &tp->stats, sizeof(struct net_device_stats)); in typhoon_stop_runtime()
D3c589_cs.c173 static struct net_device_stats *el3_get_stats(struct net_device *dev);
767 static struct net_device_stats *el3_get_stats(struct net_device *dev) in el3_get_stats()
D3c574_cs.c234 static struct net_device_stats *el3_get_stats(struct net_device *dev);
937 static struct net_device_stats *el3_get_stats(struct net_device *dev) in el3_get_stats()
D3c509.c195 static struct net_device_stats *el3_get_stats(struct net_device *dev);
866 static struct net_device_stats *
D3c515.c379 static struct net_device_stats *corkscrew_get_stats(struct net_device *dev);
1468 static struct net_device_stats *corkscrew_get_stats(struct net_device *dev) in corkscrew_get_stats()
D3c59x.c775 static struct net_device_stats *vortex_get_stats(struct net_device *dev);
2849 static struct net_device_stats *vortex_get_stats(struct net_device *dev) in vortex_get_stats()
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunbmac.h314 struct net_device_stats enet_stats;
Dsunhme.h421 struct net_device_stats net_stats; /* Statistical counters */
Dsunbmac.c172 struct net_device_stats *stats = &bp->enet_stats; in bigmac_get_counters()
984 static struct net_device_stats *bigmac_get_stats(struct net_device *dev) in bigmac_get_stats()
Dcassini.h2793 struct net_device_stats net_stats[N_TX_RINGS + 1];
Dcassini.c4416 static struct net_device_stats *cas_get_stats(struct net_device *dev) in cas_get_stats()
4419 struct net_device_stats *stats = cp->net_stats; in cas_get_stats()
4480 memset(stats + i, 0, sizeof(struct net_device_stats)); in cas_get_stats()
4736 struct net_device_stats *stats = cas_get_stats(cp->dev); in cas_get_ethtool_stats()
Dsunhme.c936 struct net_device_stats *stats = &hp->net_stats; in happy_meal_get_counters()
2390 static struct net_device_stats *happy_meal_get_stats(struct net_device *dev) in happy_meal_get_stats()
/linux-4.4.14/arch/xtensa/platforms/iss/
Dnetwork.c75 struct net_device_stats stats;
453 static struct net_device_stats *iss_net_get_stats(struct net_device *dev) in iss_net_get_stats()
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h144 struct net_device_stats stats;
Dfs_enet-main.c811 static struct net_device_stats *fs_enet_get_stats(struct net_device *dev) in fs_enet_get_stats()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h221 struct net_device_stats netstats;
Dcxgb2.c295 static struct net_device_stats *t1_get_stats(struct net_device *dev) in t1_get_stats()
299 struct net_device_stats *ns = &p->netstats; in t1_get_stats()
/linux-4.4.14/drivers/net/ethernet/dlink/
Ddl2k.h380 struct net_device_stats stats;
Ddl2k.c82 static struct net_device_stats *get_stats (struct net_device *dev);
1020 static struct net_device_stats *
Dsundance.c448 static struct net_device_stats *get_stats(struct net_device *dev);
1525 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
/linux-4.4.14/drivers/net/ethernet/moxa/
Dmoxart_ether.h295 struct net_device_stats stats;
Dmoxart_ether.c373 static struct net_device_stats *moxart_mac_get_stats(struct net_device *ndev) in moxart_mac_get_stats()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf.h248 struct net_device_stats net_stats;
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h75 struct net_device_stats netstats;
Dcxgb3_main.c1485 static struct net_device_stats *cxgb_get_stats(struct net_device *dev) in cxgb_get_stats()
1489 struct net_device_stats *ns = &pi->netstats; in cxgb_get_stats()
/linux-4.4.14/drivers/net/ethernet/ibm/emac/
Dcore.h264 struct net_device_stats nstats;
Dcore.c1899 static struct net_device_stats *emac_stats(struct net_device *ndev) in emac_stats()
1904 struct net_device_stats *nst = &dev->nstats; in emac_stats()
/linux-4.4.14/drivers/net/usb/
Dpegasus.h86 struct net_device_stats stats;
Dkaweth.c249 struct net_device_stats stats;
926 static struct net_device_stats *kaweth_netdev_stats(struct net_device *dev) in kaweth_netdev_stats()
Dr8152.c1121 struct net_device_stats *stats; in write_bulk_callback()
1412 struct net_device_stats *stats; in r8152_csum_workaround()
1596 struct net_device_stats *stats = &tp->netdev->stats; in r8152_tx_agg_fill()
1684 struct net_device_stats *stats = &netdev->stats; in rx_bottom()
1726 struct net_device_stats *stats = &netdev->stats; in rx_bottom()
1809 struct net_device_stats *stats = &netdev->stats; in tx_bottom()
1897 struct net_device_stats *stats = &tp->netdev->stats; in rtl_drop_queued_tx()
Dpegasus.c725 static struct net_device_stats *pegasus_netdev_stats(struct net_device *dev) in pegasus_netdev_stats()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.h389 struct net_device_stats *bnad_get_netdev_stats(struct net_device *netdev);
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_main.c427 struct net_device_stats *stats = &priv->stats[q]; in ravb_tx_free()
503 struct net_device_stats *stats = &priv->stats[q]; in ravb_rx()
1070 struct net_device_stats *stats = &priv->stats[q]; in ravb_get_ethtool_stats()
1409 static struct net_device_stats *ravb_get_stats(struct net_device *ndev) in ravb_get_stats()
1412 struct net_device_stats *nstats, *stats0, *stats1; in ravb_get_stats()
Dravb.h793 struct net_device_stats stats[NUM_RX_QUEUE];
Dsh_eth.c407 static struct net_device_stats *sh_eth_get_stats(struct net_device *ndev);
2447 static struct net_device_stats *sh_eth_get_stats(struct net_device *ndev) in sh_eth_get_stats()
/linux-4.4.14/net/batman-adv/
Dsoft-interface.c116 static struct net_device_stats *batadv_interface_stats(struct net_device *dev) in batadv_interface_stats()
119 struct net_device_stats *stats = &bat_priv->stats; in batadv_interface_stats()
Dtypes.h781 struct net_device_stats stats;
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c33 .sizeof_stat = FIELD_SIZEOF(struct net_device_stats, _net_stat), \
34 .stat_offset = offsetof(struct net_device_stats, _net_stat) \
278 struct net_device_stats *net_stats = &netdev->stats; in fm10k_get_ethtool_stats()
/linux-4.4.14/drivers/net/ethernet/sis/
Dsis190.c554 static inline int sis190_rx_pkt_err(u32 status, struct net_device_stats *stats) in sis190_rx_pkt_err()
577 struct net_device_stats *stats = &dev->stats; in sis190_rx_interrupt()
662 static inline int sis190_tx_pkt_err(u32 status, struct net_device_stats *stats) in sis190_tx_pkt_err()
686 struct net_device_stats *stats = &dev->stats; in sis190_tx_interrupt()
/linux-4.4.14/drivers/net/fddi/
Ddefxx.c281 static struct net_device_stats *dfx_ctl_get_stats(struct net_device *dev);
2073 static struct net_device_stats *dfx_ctl_get_stats(struct net_device *dev) in dfx_ctl_get_stats()
2096 return (struct net_device_stats *)&bp->stats; in dfx_ctl_get_stats()
2197 return (struct net_device_stats *)&bp->stats; in dfx_ctl_get_stats()
2213 return (struct net_device_stats *)&bp->stats; in dfx_ctl_get_stats()
/linux-4.4.14/drivers/net/ethernet/
Ddnet.c713 static struct net_device_stats *dnet_get_stats(struct net_device *dev) in dnet_get_stats()
717 struct net_device_stats *nstat = &dev->stats; in dnet_get_stats()
Dfealnx.c438 static struct net_device_stats *get_stats(struct net_device *dev);
1747 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
/linux-4.4.14/drivers/net/ethernet/qualcomm/
Dqca_spi.c238 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit()
292 struct net_device_stats *n_stats = &net_dev->stats; in qcaspi_receive()
/linux-4.4.14/drivers/net/ethernet/tundra/
Dtsi108_eth.c135 struct net_device_stats stats;
136 struct net_device_stats tmpstats;
487 static struct net_device_stats *tsi108_get_stats(struct net_device *dev) in tsi108_get_stats()
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dwinbond-840.c304 struct net_device_stats stats;
343 static struct net_device_stats *get_stats(struct net_device *dev);
1328 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
Dtulip_core.c267 static struct net_device_stats *tulip_get_stats(struct net_device *dev);
852 static struct net_device_stats *tulip_get_stats(struct net_device *dev) in tulip_get_stats()
Dde2104x.c315 struct net_device_stats net_stats;
829 static struct net_device_stats *de_get_stats(struct net_device *dev) in de_get_stats()
Dde4x5.c799 struct net_device_stats stats; /* Public stats */
902 static struct net_device_stats *de4x5_get_stats(struct net_device *dev);
1847 static struct net_device_stats *
/linux-4.4.14/drivers/net/fddi/skfp/
Dskfddi.c106 static struct net_device_stats *skfp_ctl_get_stats(struct net_device *dev);
673 static struct net_device_stats *skfp_ctl_get_stats(struct net_device *dev) in skfp_ctl_get_stats()
796 return (struct net_device_stats *)&bp->os.MacStat; in skfp_ctl_get_stats()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c481 static struct net_device_stats *mpc52xx_fec_get_stats(struct net_device *dev) in mpc52xx_fec_get_stats()
484 struct net_device_stats *stats = &dev->stats; in mpc52xx_fec_get_stats()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhnae.h439 struct net_device_stats *net_stats);
Dhns_ae_adapt.c483 struct net_device_stats *net_stats) in hns_ae_update_stats()
/linux-4.4.14/net/caif/
Dchnl_net.c48 struct net_device_stats stats;
/linux-4.4.14/drivers/net/ethernet/nuvoton/
Dw90p910_ether.c155 struct net_device_stats stats;
587 static struct net_device_stats *w90p910_ether_stats(struct net_device *dev) in w90p910_ether_stats()
/linux-4.4.14/net/ipv6/
Dip6_vti.c433 struct net_device_stats *stats = &t->dev->stats; in vti6_xmit()
511 struct net_device_stats *stats = &t->dev->stats; in vti6_tnl_xmit()
Dip6_tunnel.c95 static struct net_device_stats *ip6_get_stats(struct net_device *dev) in ip6_get_stats()
1039 struct net_device_stats *stats = &t->dev->stats; in ip6_tnl_xmit2()
1271 struct net_device_stats *stats = &t->dev->stats; in ip6_tnl_xmit()
Dip6_gre.c618 struct net_device_stats *stats = &tunnel->dev->stats; in ip6gre_xmit2()
900 struct net_device_stats *stats = &t->dev->stats; in ip6gre_tunnel_xmit()
/linux-4.4.14/drivers/net/ethernet/alteon/
Dacenic.h787 static struct net_device_stats *ace_get_stats(struct net_device *dev);
/linux-4.4.14/drivers/net/ethernet/i825xx/
Dsun3_82586.c125 static struct net_device_stats *sun3_82586_get_stats(struct net_device *dev);
1116 static struct net_device_stats *sun3_82586_get_stats(struct net_device *dev) in sun3_82586_get_stats()
/linux-4.4.14/drivers/net/wan/
Dsbni.c1191 memset( &dev->stats, 0, sizeof(struct net_device_stats) ); in sbni_open()
1409 memset( &slave_dev->stats, 0, sizeof(struct net_device_stats) ); in enslave()
Dwanxl.c468 static struct net_device_stats *wanxl_get_stats(struct net_device *dev) in wanxl_get_stats()
/linux-4.4.14/drivers/net/ethernet/cadence/
Dmacb.c1953 static struct net_device_stats *gem_get_stats(struct macb *bp) in gem_get_stats()
1956 struct net_device_stats *nstat = &bp->stats; in gem_get_stats()
2024 static struct net_device_stats *macb_get_stats(struct net_device *dev) in macb_get_stats()
2027 struct net_device_stats *nstat = &bp->stats; in macb_get_stats()
Dmacb.h811 struct net_device_stats stats;
/linux-4.4.14/drivers/net/xen-netback/
Dinterface.c195 static struct net_device_stats *xenvif_get_stats(struct net_device *dev) in xenvif_get_stats()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dpxa168_eth.c781 struct net_device_stats *stats = &dev->stats; in rxq_process()
1276 struct net_device_stats *stats = &dev->stats; in pxa168_eth_start_xmit()
Dmv643xx_eth.c524 struct net_device_stats *stats = &mp->dev->stats; in rxq_process()
1271 static struct net_device_stats *mv643xx_eth_get_stats(struct net_device *dev) in mv643xx_eth_get_stats()
1274 struct net_device_stats *stats = &dev->stats; in mv643xx_eth_get_stats()
1449 { #m, FIELD_SIZEOF(struct net_device_stats, m), \
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.c1909 struct net_device_stats *stats = &vptr->netdev->stats; in velocity_tx_srv()
2044 struct net_device_stats *stats = &vptr->netdev->stats; in velocity_receive_frame()
2103 struct net_device_stats *stats = &vptr->netdev->stats; in velocity_rx_srv()
2466 static struct net_device_stats *velocity_get_stats(struct net_device *dev) in velocity_get_stats()
/linux-4.4.14/drivers/net/can/usb/peak_usb/
Dpcan_usb.c732 struct net_device_stats *stats = &netdev->stats; in pcan_usb_encode_msg()
Dpcan_usb_core.c309 struct net_device_stats *stats = &netdev->stats; in peak_usb_ndo_start_xmit()
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
Dos_intfs.c248 static struct net_device_stats *rtw_net_get_stats(struct net_device *pnetdev) in rtw_net_get_stats()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dcore.h644 struct net_device_stats net_stats;
Dmain.c1116 static struct net_device_stats *ath6kl_get_stats(struct net_device *dev) in ath6kl_get_stats()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c604 struct net_device_stats *stats = &ieee->stats; in ieee80211_xmit()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_hw.h1252 struct net_device_stats netstats;
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_tx.c572 struct net_device_stats *stats = &ieee->stats; in rtllib_xmit_inter()
Drtllib.h1523 struct net_device_stats stats;
/linux-4.4.14/drivers/net/ethernet/seeq/
Dether3.c660 struct net_device_stats *stats = &dev->stats; in ether3_rx()
/linux-4.4.14/drivers/staging/unisys/visornic/
Dvisornic_main.c119 struct net_device_stats net_stats;
982 static struct net_device_stats *
/linux-4.4.14/drivers/net/ethernet/packetengines/
Dhamachi.c560 static struct net_device_stats *hamachi_get_stats(struct net_device *dev);
1734 static struct net_device_stats *hamachi_get_stats(struct net_device *dev) in hamachi_get_stats()
/linux-4.4.14/drivers/net/wan/lmc/
Dlmc_main.c96 static struct net_device_stats *lmc_get_stats(struct net_device *dev);
1711 static struct net_device_stats *lmc_get_stats(struct net_device *dev) in lmc_get_stats()
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.h874 struct net_device_stats stats;
/linux-4.4.14/drivers/net/hamradio/
Dscc.c214 static struct net_device_stats * scc_net_get_stats(struct net_device *dev);
1956 static struct net_device_stats *scc_net_get_stats(struct net_device *dev) in scc_net_get_stats()
/linux-4.4.14/drivers/net/ethernet/adaptec/
Dstarfire.c589 static struct net_device_stats *get_stats(struct net_device *dev);
1686 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dos_intfs.c625 static struct net_device_stats *rtw_net_get_stats(struct net_device *pnetdev) in rtw_net_get_stats()
/linux-4.4.14/drivers/net/
Dsb1000.c752 struct net_device_stats *stats = &dev->stats; in sb1000_rx()
/linux-4.4.14/drivers/net/ethernet/toshiba/
Dtc35815.c484 static struct net_device_stats *tc35815_get_stats(struct net_device *dev);
1868 static struct net_device_stats *tc35815_get_stats(struct net_device *dev) in tc35815_get_stats()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c1117 struct net_device_stats *nstats = &bp->dev->stats; in bnx2x_net_stats_update()
1660 struct net_device_stats *nstats = &bp->dev->stats; in bnx2x_save_statistics()
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c89 static struct net_device_stats *ixgb_get_stats(struct net_device *netdev);
1603 static struct net_device_stats *
/linux-4.4.14/drivers/net/ethernet/agere/
Det131x.c2642 struct net_device_stats *stats = &adapter->netdev->stats; in free_send_packet()
3609 static struct net_device_stats *et131x_stats(struct net_device *netdev) in et131x_stats()
3612 struct net_device_stats *stats = &adapter->netdev->stats; in et131x_stats()
/linux-4.4.14/drivers/tty/
Dn_gsm.c99 struct net_device_stats stats;
2631 static struct net_device_stats *gsm_mux_net_get_stats(struct net_device *net) in gsm_mux_net_get_stats()
/linux-4.4.14/drivers/net/slip/
Dslip.c577 struct net_device_stats *devstats = &dev->stats;
/linux-4.4.14/drivers/net/ethernet/rdc/
Dr6040.c444 static struct net_device_stats *r6040_get_stats(struct net_device *dev) in r6040_get_stats()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1171 static struct net_device_stats *atl1e_get_stats(struct net_device *netdev) in atl1e_get_stats()
1175 struct net_device_stats *net_stats = &netdev->stats; in atl1e_get_stats()
/linux-4.4.14/drivers/net/ethernet/hp/
Dhp100.c247 static struct net_device_stats *hp100_get_stats(struct net_device *dev);
1983 static struct net_device_stats *hp100_get_stats(struct net_device *dev) in hp100_get_stats()
/linux-4.4.14/drivers/net/ethernet/ti/
Dtlan.c157 static struct net_device_stats *tlan_get_stats(struct net_device *);
1230 static struct net_device_stats *tlan_get_stats(struct net_device *dev) in tlan_get_stats()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c831 static struct net_device_stats *cxgb4vf_get_stats(struct net_device *dev) in cxgb4vf_get_stats()
836 struct net_device_stats *ns = &dev->stats; in cxgb4vf_get_stats()
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_net.c784 struct net_device_stats *stats = &dev->stats;
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dmain.c1181 static struct net_device_stats *mwifiex_get_stats(struct net_device *dev) in mwifiex_get_stats()
Dmain.h527 struct net_device_stats stats;
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c77 static struct net_device_stats *qlcnic_get_stats(struct net_device *netdev);
3093 static struct net_device_stats *qlcnic_get_stats(struct net_device *netdev) in qlcnic_get_stats()
3096 struct net_device_stats *stats = &netdev->stats; in qlcnic_get_stats()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1493 static struct net_device_stats *atl1c_get_stats(struct net_device *netdev) in atl1c_get_stats()
1497 struct net_device_stats *net_stats = &netdev->stats; in atl1c_get_stats()
/linux-4.4.14/drivers/net/ethernet/silan/
Dsc92031.c909 static struct net_device_stats *sc92031_get_stats(struct net_device *dev) in sc92031_get_stats()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c2333 static struct net_device_stats *liquidio_get_stats(struct net_device *netdev) in liquidio_get_stats()
2336 struct net_device_stats *stats = &netdev->stats; in liquidio_get_stats()
/linux-4.4.14/net/appletalk/
Dddp.c1290 struct net_device_stats *stats; in handle_ip_over_ddp()
/linux-4.4.14/drivers/net/ethernet/sgi/
Dioc3-eth.c498 static struct net_device_stats *ioc3_get_stats(struct net_device *dev) in ioc3_get_stats()
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c669 .stat_sizeof = sizeof(((struct net_device_stats *)0)->m), \
670 .stat_offset = offsetof(struct net_device_stats, m), \

12