Home
last modified time | relevance | path

Searched refs:dstats (Results 1 – 10 of 10) sorted by relevance

/drivers/net/
Ddummy.c72 const struct pcpu_dstats *dstats; in dummy_get_stats64() local
76 dstats = per_cpu_ptr(dev->dstats, i); in dummy_get_stats64()
78 start = u64_stats_fetch_begin(&dstats->syncp); in dummy_get_stats64()
79 tbytes = dstats->tx_bytes; in dummy_get_stats64()
80 tpackets = dstats->tx_packets; in dummy_get_stats64()
81 } while (u64_stats_fetch_retry(&dstats->syncp, start)); in dummy_get_stats64()
90 struct pcpu_dstats *dstats = this_cpu_ptr(dev->dstats); in dummy_xmit() local
92 u64_stats_update_begin(&dstats->syncp); in dummy_xmit()
93 dstats->tx_packets++; in dummy_xmit()
94 dstats->tx_bytes += skb->len; in dummy_xmit()
[all …]
/drivers/net/wireless/brcm80211/brcmfmac/
Ddhd_linux.c345 drvr->bus_if->dstats.tx_dropped++; in brcmf_netdev_start_xmit()
347 drvr->bus_if->dstats.tx_packets++; in brcmf_netdev_start_xmit()
431 bus_if->dstats.multicast++; in brcmf_rx_frame()
450 bus_if->dstats.rx_bytes += skb->len; in brcmf_rx_frame()
451 bus_if->dstats.rx_packets++; /* Local count */ in brcmf_rx_frame()
492 ifp->stats.rx_packets = bus_if->dstats.rx_packets; in brcmf_netdev_get_stats()
493 ifp->stats.tx_packets = bus_if->dstats.tx_packets; in brcmf_netdev_get_stats()
494 ifp->stats.rx_bytes = bus_if->dstats.rx_bytes; in brcmf_netdev_get_stats()
495 ifp->stats.tx_bytes = bus_if->dstats.tx_bytes; in brcmf_netdev_get_stats()
496 ifp->stats.rx_errors = bus_if->dstats.rx_errors; in brcmf_netdev_get_stats()
[all …]
Ddhd_bus.h51 struct dngl_stats dstats; /* Stats for dongle-based data */ member
Dusb.c517 devinfo->bus_pub.bus->dstats.tx_packets++; in brcmf_usb_tx_complete()
519 devinfo->bus_pub.bus->dstats.tx_errors++; in brcmf_usb_tx_complete()
539 devinfo->bus_pub.bus->dstats.rx_packets++; in brcmf_usb_rx_complete()
541 devinfo->bus_pub.bus->dstats.rx_errors++; in brcmf_usb_rx_complete()
552 devinfo->bus_pub.bus->dstats.rx_errors++; in brcmf_usb_rx_complete()
Ddhd_sdio.c1274 bus->sdiodev->bus_if->dstats.rx_errors++; in brcmf_sdbrcm_rxglom()
1445 bus->sdiodev->bus_if->dstats.rx_errors++; in brcmf_sdbrcm_rxglom()
1542 bus->sdiodev->bus_if->dstats.rx_errors++; in brcmf_sdbrcm_read_control()
1550 bus->sdiodev->bus_if->dstats.rx_errors++; in brcmf_sdbrcm_read_control()
1620 bus->sdiodev->bus_if->dstats.rx_errors++; in brcmf_alloc_pkt_and_read()
1961 bus->sdiodev->bus_if->dstats.rx_errors++; in brcmf_sdbrcm_readframes()
1973 bus->sdiodev->bus_if->dstats.rx_dropped++; in brcmf_sdbrcm_readframes()
1993 bus->sdiodev->bus_if->dstats.rx_errors++; in brcmf_sdbrcm_readframes()
2036 bus->sdiodev->bus_if->dstats.rx_errors++; in brcmf_sdbrcm_readframes()
2245 bus->sdiodev->bus_if->dstats.tx_errors++; in brcmf_sdbrcm_sendfromq()
[all …]
/drivers/net/wireless/bcmdhd/
Ddhd_cdc.c531 dhd->dstats.tx_packets = dhd->tx_packets; in dhd_prot_dstats()
532 dhd->dstats.tx_errors = dhd->tx_errors; in dhd_prot_dstats()
533 dhd->dstats.rx_packets = dhd->rx_packets; in dhd_prot_dstats()
534 dhd->dstats.rx_errors = dhd->rx_errors; in dhd_prot_dstats()
535 dhd->dstats.rx_dropped = dhd->rx_dropped; in dhd_prot_dstats()
536 dhd->dstats.multicast = dhd->rx_multicast; in dhd_prot_dstats()
Ddhd_common.c245 dhdp->dstats.tx_packets, dhdp->dstats.tx_bytes, in dhd_dump()
246 dhdp->dstats.tx_errors, dhdp->dstats.tx_dropped); in dhd_dump()
248 dhdp->dstats.rx_packets, dhdp->dstats.rx_bytes, in dhd_dump()
249 dhdp->dstats.rx_errors, dhdp->dstats.rx_dropped); in dhd_dump()
250 bcm_bprintf(strbuf, "multicast %lu\n", dhdp->dstats.multicast); in dhd_dump()
406 memset(&dhd_pub->dstats, 0, sizeof(dhd_pub->dstats)); in dhd_doiovar()
Ddhd_linux.c1948 dhdp->dstats.rx_bytes += skb->len;
2037 ifp->stats.rx_packets = dhd->pub.dstats.rx_packets;
2038 ifp->stats.tx_packets = dhd->pub.dstats.tx_packets;
2039 ifp->stats.rx_bytes = dhd->pub.dstats.rx_bytes;
2040 ifp->stats.tx_bytes = dhd->pub.dstats.tx_bytes;
2041 ifp->stats.rx_errors = dhd->pub.dstats.rx_errors;
2042 ifp->stats.tx_errors = dhd->pub.dstats.tx_errors;
2043 ifp->stats.rx_dropped = dhd->pub.dstats.rx_dropped;
2044 ifp->stats.tx_dropped = dhd->pub.dstats.tx_dropped;
2045 ifp->stats.multicast = dhd->pub.dstats.multicast;
Ddhd.h242 dngl_stats_t dstats; /* Stats for dongle-based data */ member
Ddhd_sdio.c2249 bus->dhd->dstats.tx_bytes += datalen; in dhd_bus_txdata()
2374 bus->dhd->dstats.tx_bytes += datalen; in dhdsdio_sendfromq()