| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/ |
| H A D | qca_uart.c | 68 struct net_device_stats *n_stats = &netdev->stats; in qca_tty_receive() local 76 n_stats->rx_errors++; in qca_tty_receive() 77 n_stats->rx_dropped++; in qca_tty_receive() 96 n_stats->rx_errors++; in qca_tty_receive() 97 n_stats->rx_dropped++; in qca_tty_receive() 101 n_stats->rx_errors++; in qca_tty_receive() 102 n_stats->rx_dropped++; in qca_tty_receive() 105 n_stats->rx_packets++; in qca_tty_receive() 106 n_stats->rx_bytes += retcode; in qca_tty_receive() 117 n_stats->rx_errors++; in qca_tty_receive() [all …]
|
| H A D | qca_spi.c | 281 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit() local 315 n_stats->tx_packets++; in qcaspi_transmit() 316 n_stats->tx_bytes += qca->txr.skb[qca->txr.head]->len; in qcaspi_transmit() 343 struct net_device_stats *n_stats = &net_dev->stats; in qcaspi_receive() local 422 n_stats->rx_errors++; in qcaspi_receive() 423 n_stats->rx_dropped++; in qcaspi_receive() 427 n_stats->rx_errors++; in qcaspi_receive() 428 n_stats->rx_dropped++; in qcaspi_receive() 432 n_stats->rx_packets++; in qcaspi_receive() 433 n_stats->rx_bytes += retcode; in qcaspi_receive() [all …]
|
| /OK3568_Linux_fs/kernel/net/ethtool/ |
| H A D | ioctl.c | 731 info.n_stats = rc; in ethtool_get_drvinfo() 1995 int ret, n_stats; in ethtool_get_stats() local 2000 n_stats = ops->get_sset_count(dev, ETH_SS_STATS); in ethtool_get_stats() 2001 if (n_stats < 0) in ethtool_get_stats() 2002 return n_stats; in ethtool_get_stats() 2003 if (n_stats > S32_MAX / sizeof(u64)) in ethtool_get_stats() 2005 WARN_ON_ONCE(!n_stats); in ethtool_get_stats() 2009 stats.n_stats = n_stats; in ethtool_get_stats() 2011 if (n_stats) { in ethtool_get_stats() 2012 data = vzalloc(array_size(n_stats, sizeof(u64))); in ethtool_get_stats() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ethtool.c | 178 u32 n_stats = ARRAY_SIZE(aq_ethtool_stat_names) + in aq_ethtool_n_stats() local 182 n_stats += rx_stat_cnt * aq_ptp_get_ring_cnt(nic, ATL_RING_RX) + in aq_ethtool_n_stats() 188 n_stats += ARRAY_SIZE(aq_macsec_stat_names) + in aq_ethtool_n_stats() 198 return n_stats; in aq_ethtool_n_stats() 235 drvinfo->n_stats = aq_ethtool_n_stats(ndev); in aq_ethtool_get_drvinfo()
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | ethtool.h | 72 __u32 n_stats; /* number of u64's from ETHTOOL_GSTATS */ member 292 __u32 n_stats; /* number of u64's being returned */ member
|
| /OK3568_Linux_fs/app/forlinx/quectelCM/ |
| H A D | ethtool-copy.h | 100 __u32 n_stats; /* number of u64's from ETHTOOL_GSTATS */ member 408 __u32 n_stats; /* number of u64's being returned */ member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | ethtool_common.c | 400 size_t n_stats = 0; in efx_describe_per_queue_stats() local 405 n_stats++; in efx_describe_per_queue_stats() 418 n_stats++; in efx_describe_per_queue_stats() 430 n_stats++; in efx_describe_per_queue_stats() 439 return n_stats; in efx_describe_per_queue_stats()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/ |
| H A D | ethtool.c | 358 size_t n_stats = 0; in ef4_describe_per_queue_stats() local 363 n_stats++; in ef4_describe_per_queue_stats() 376 n_stats++; in ef4_describe_per_queue_stats() 384 return n_stats; in ef4_describe_per_queue_stats()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | ethtool.h | 184 __u32 n_stats; member 672 __u32 n_stats; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | ethtool.h | 184 __u32 n_stats; member 672 __u32 n_stats; member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | ethtool.h | 186 __u32 n_stats; member 791 __u32 n_stats; member
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | statistics.rst | 121 to retrieve the number of statistics (`.n_stats`).
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/ |
| H A D | r8168.h | 736 u32 n_stats; member 744 u32 n_stats; member
|
| H A D | r8168_n.c | 24259 info.n_stats = ops->get_stats_count(dev); in ethtool_get_drvinfo() 24765 stats.n_stats = ops->get_stats_count(dev); in ethtool_get_stats() 24766 data = kmalloc(stats.n_stats * sizeof(u64), GFP_USER); in ethtool_get_stats() 24776 if (copy_to_user(useraddr, data, stats.n_stats * sizeof(u64))) in ethtool_get_stats()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_ethtool.c | 37 memset(buf, 0, stats->n_stats * sizeof(*buf)); in ionic_get_stats()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/micrel/ |
| H A D | ksz884x.c | 6511 int n_stats = stats->n_stats; in netdev_get_ethtool_stats() local 6556 if (n > n_stats) in netdev_get_ethtool_stats() 6557 n = n_stats; in netdev_get_ethtool_stats() 6558 n_stats -= n; in netdev_get_ethtool_stats()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad_ethtool.c | 851 if (bnad_get_stats_count_locked(netdev) != stats->n_stats) { in bnad_get_ethtool_stats()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_ethtool.c | 1352 memset(data, 0, stats->n_stats * sizeof(u64)); in qlcnic_get_ethtool_stats()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 2678 info->n_stats = ARRAY_SIZE(mtk_ethtool_stats); in mtk_get_drvinfo()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 1323 info->n_stats = bnxt_get_num_stats(bp); in bnxt_get_drvinfo()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_cfgnan.c | 9410 if (stats->n_stats) { in wl_cfgnan_get_stats() 9412 ret = bcm_unpack_xtlv_buf((void *)&stats->n_stats, in wl_cfgnan_get_stats()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_cfgnan.c | 9410 if (stats->n_stats) { in wl_cfgnan_get_stats() 9412 ret = bcm_unpack_xtlv_buf((void *)&stats->n_stats, in wl_cfgnan_get_stats()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | wlioctl.h | 13130 uint32 n_stats; /* Number of different sub TLV stats present in the container */ member 24909 uint32 n_stats; /* # of TLVs in the payload */ member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | wlioctl.h | 13148 uint32 n_stats; /* Number of different sub TLV stats present in the container */ member 25001 uint32 n_stats; /* # of TLVs in the payload */ member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | wlioctl.h | 10382 uint32 n_stats; /* Number of different sub TLV stats present in the container */ member
|