total_packets 376 drivers/media/dvb-frontends/mxl5xx_defs.h u32 total_packets; /* Total packets */ total_packets 170 drivers/net/ethernet/atheros/alx/main.c unsigned int total_bytes = 0, total_packets = 0; total_packets 186 drivers/net/ethernet/atheros/alx/main.c total_packets++; total_packets 197 drivers/net/ethernet/atheros/alx/main.c netdev_tx_completed_queue(tx_queue, total_packets, total_bytes); total_packets 1545 drivers/net/ethernet/atheros/atl1c/atl1c_main.c unsigned int total_bytes = 0, total_packets = 0; total_packets 1555 drivers/net/ethernet/atheros/atl1c/atl1c_main.c total_packets++; total_packets 1563 drivers/net/ethernet/atheros/atl1c/atl1c_main.c netdev_completed_queue(adapter->netdev, total_packets, total_bytes); total_packets 2359 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring->tqp_vector->tx_group.total_packets += pkts; total_packets 3021 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c do_div(ring_group->total_packets, time_passed_ms); total_packets 3022 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c packets_per_msecs = ring_group->total_packets; total_packets 3059 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring_group->total_packets = 0; total_packets 3077 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (ring_group->total_packets == 0) { total_packets 3175 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c tqp_vector->rx_group.total_packets += rx_pkt_total; total_packets 3350 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c tqp_vector->rx_group.total_packets = 0; total_packets 3352 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c tqp_vector->tx_group.total_packets = 0; total_packets 472 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h u64 total_packets; /* total packets processed this group */ total_packets 185 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c tqp_vector->rx_group.total_packets++; total_packets 206 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c pre_rx_pkt = rx_group->total_packets; total_packets 212 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c rcv_good_pkt_total += (rx_group->total_packets - pre_rx_pkt); total_packets 213 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c rx_group->total_packets = pre_rx_pkt; total_packets 148 drivers/net/ethernet/intel/fm10k/fm10k.h unsigned int total_packets; /* total packets processed this int */ total_packets 570 drivers/net/ethernet/intel/fm10k/fm10k_main.c unsigned int total_bytes = 0, total_packets = 0; total_packets 573 drivers/net/ethernet/intel/fm10k/fm10k_main.c while (likely(total_packets < budget)) { total_packets 621 drivers/net/ethernet/intel/fm10k/fm10k_main.c total_packets++; total_packets 628 drivers/net/ethernet/intel/fm10k/fm10k_main.c rx_ring->stats.packets += total_packets; total_packets 631 drivers/net/ethernet/intel/fm10k/fm10k_main.c q_vector->rx.total_packets += total_packets; total_packets 634 drivers/net/ethernet/intel/fm10k/fm10k_main.c return total_packets; total_packets 1195 drivers/net/ethernet/intel/fm10k/fm10k_main.c unsigned int total_bytes = 0, total_packets = 0; total_packets 1225 drivers/net/ethernet/intel/fm10k/fm10k_main.c total_packets += tx_buffer->gso_segs; total_packets 1282 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_ring->stats.packets += total_packets; total_packets 1285 drivers/net/ethernet/intel/fm10k/fm10k_main.c q_vector->tx.total_packets += total_packets; total_packets 1318 drivers/net/ethernet/intel/fm10k/fm10k_main.c total_packets, total_bytes); total_packets 1321 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && total_packets 1357 drivers/net/ethernet/intel/fm10k/fm10k_main.c packets = ring_container->total_packets; total_packets 1407 drivers/net/ethernet/intel/fm10k/fm10k_main.c ring_container->total_packets = 0; total_packets 781 drivers/net/ethernet/intel/i40e/i40e_txrx.c unsigned int total_bytes = 0, total_packets = 0; total_packets 810 drivers/net/ethernet/intel/i40e/i40e_txrx.c total_packets += tx_buf->gso_segs; total_packets 870 drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_update_tx_stats(tx_ring, total_packets, total_bytes); total_packets 878 drivers/net/ethernet/intel/i40e/i40e_txrx.c total_packets, total_bytes); total_packets 881 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && total_packets 1043 drivers/net/ethernet/intel/i40e/i40e_txrx.c packets = rc->total_packets; total_packets 1195 drivers/net/ethernet/intel/i40e/i40e_txrx.c rc->total_packets = 0; total_packets 2291 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->q_vector->rx.total_packets += total_rx_packets; total_packets 461 drivers/net/ethernet/intel/i40e/i40e_txrx.h unsigned int total_packets; /* total packets processed this int */ total_packets 48 drivers/net/ethernet/intel/i40e/i40e_txrx_common.h unsigned int total_packets, total_packets 53 drivers/net/ethernet/intel/i40e/i40e_txrx_common.h tx_ring->stats.packets += total_packets; total_packets 56 drivers/net/ethernet/intel/i40e/i40e_txrx_common.h tx_ring->q_vector->tx.total_packets += total_packets; total_packets 196 drivers/net/ethernet/intel/iavf/iavf_txrx.c unsigned int total_bytes = 0, total_packets = 0; total_packets 224 drivers/net/ethernet/intel/iavf/iavf_txrx.c total_packets += tx_buf->gso_segs; total_packets 283 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->stats.packets += total_packets; total_packets 286 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->q_vector->tx.total_packets += total_packets; total_packets 305 drivers/net/ethernet/intel/iavf/iavf_txrx.c total_packets, total_bytes); total_packets 308 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && total_packets 453 drivers/net/ethernet/intel/iavf/iavf_txrx.c packets = rc->total_packets; total_packets 605 drivers/net/ethernet/intel/iavf/iavf_txrx.c rc->total_packets = 0; total_packets 1590 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_ring->q_vector->rx.total_packets += total_rx_packets; total_packets 418 drivers/net/ethernet/intel/iavf/iavf_txrx.h unsigned int total_packets; /* total packets processed this int */ total_packets 242 drivers/net/ethernet/intel/igb/igb.h unsigned int total_packets; /* total packets processed this int */ total_packets 5478 drivers/net/ethernet/intel/igb/igb_main.c packets = q_vector->rx.total_packets; total_packets 5482 drivers/net/ethernet/intel/igb/igb_main.c packets = q_vector->tx.total_packets; total_packets 5516 drivers/net/ethernet/intel/igb/igb_main.c q_vector->rx.total_packets = 0; total_packets 5518 drivers/net/ethernet/intel/igb/igb_main.c q_vector->tx.total_packets = 0; total_packets 5540 drivers/net/ethernet/intel/igb/igb_main.c unsigned int packets = ring_container->total_packets; total_packets 5583 drivers/net/ethernet/intel/igb/igb_main.c ring_container->total_packets = 0; total_packets 7751 drivers/net/ethernet/intel/igb/igb_main.c unsigned int total_bytes = 0, total_packets = 0; total_packets 7781 drivers/net/ethernet/intel/igb/igb_main.c total_packets += tx_buffer->gso_segs; total_packets 7834 drivers/net/ethernet/intel/igb/igb_main.c total_packets, total_bytes); total_packets 7839 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->tx_stats.packets += total_packets; total_packets 7842 drivers/net/ethernet/intel/igb/igb_main.c q_vector->tx.total_packets += total_packets; total_packets 7887 drivers/net/ethernet/intel/igb/igb_main.c if (unlikely(total_packets && total_packets 8307 drivers/net/ethernet/intel/igb/igb_main.c unsigned int total_bytes = 0, total_packets = 0; total_packets 8310 drivers/net/ethernet/intel/igb/igb_main.c while (likely(total_packets < budget)) { total_packets 8375 drivers/net/ethernet/intel/igb/igb_main.c total_packets++; total_packets 8382 drivers/net/ethernet/intel/igb/igb_main.c rx_ring->rx_stats.packets += total_packets; total_packets 8385 drivers/net/ethernet/intel/igb/igb_main.c q_vector->rx.total_packets += total_packets; total_packets 8391 drivers/net/ethernet/intel/igb/igb_main.c return total_packets; total_packets 253 drivers/net/ethernet/intel/igbvf/netdev.c unsigned int total_bytes = 0, total_packets = 0; total_packets 347 drivers/net/ethernet/intel/igbvf/netdev.c total_packets++; total_packets 378 drivers/net/ethernet/intel/igbvf/netdev.c adapter->total_rx_packets += total_packets; total_packets 381 drivers/net/ethernet/intel/igbvf/netdev.c netdev->stats.rx_packets += total_packets; total_packets 776 drivers/net/ethernet/intel/igbvf/netdev.c unsigned int total_bytes = 0, total_packets = 0; total_packets 812 drivers/net/ethernet/intel/igbvf/netdev.c total_packets += segs; total_packets 845 drivers/net/ethernet/intel/igbvf/netdev.c netdev->stats.tx_packets += total_packets; total_packets 237 drivers/net/ethernet/intel/igc/igc.h unsigned int total_packets; /* total packets processed this int */ total_packets 1559 drivers/net/ethernet/intel/igc/igc_main.c unsigned int total_bytes = 0, total_packets = 0; total_packets 1564 drivers/net/ethernet/intel/igc/igc_main.c while (likely(total_packets < budget)) { total_packets 1629 drivers/net/ethernet/intel/igc/igc_main.c total_packets++; total_packets 1636 drivers/net/ethernet/intel/igc/igc_main.c rx_ring->rx_stats.packets += total_packets; total_packets 1639 drivers/net/ethernet/intel/igc/igc_main.c q_vector->rx.total_packets += total_packets; total_packets 1645 drivers/net/ethernet/intel/igc/igc_main.c return total_packets; total_packets 1704 drivers/net/ethernet/intel/igc/igc_main.c unsigned int total_bytes = 0, total_packets = 0; total_packets 1737 drivers/net/ethernet/intel/igc/igc_main.c total_packets += tx_buffer->gso_segs; total_packets 1790 drivers/net/ethernet/intel/igc/igc_main.c total_packets, total_bytes); total_packets 1796 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->tx_stats.packets += total_packets; total_packets 1799 drivers/net/ethernet/intel/igc/igc_main.c q_vector->tx.total_packets += total_packets; total_packets 1843 drivers/net/ethernet/intel/igc/igc_main.c if (unlikely(total_packets && total_packets 3108 drivers/net/ethernet/intel/igc/igc_main.c packets = q_vector->rx.total_packets; total_packets 3112 drivers/net/ethernet/intel/igc/igc_main.c packets = q_vector->tx.total_packets; total_packets 3146 drivers/net/ethernet/intel/igc/igc_main.c q_vector->rx.total_packets = 0; total_packets 3148 drivers/net/ethernet/intel/igc/igc_main.c q_vector->tx.total_packets = 0; total_packets 3169 drivers/net/ethernet/intel/igc/igc_main.c unsigned int packets = ring_container->total_packets; total_packets 3212 drivers/net/ethernet/intel/igc/igc_main.c ring_container->total_packets = 0; total_packets 430 drivers/net/ethernet/intel/ixgbe/ixgbe.h unsigned int total_packets; /* total packets processed this int */ total_packets 1118 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c unsigned int total_bytes = 0, total_packets = 0, total_ipsec = 0; total_packets 1148 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c total_packets += tx_buffer->gso_segs; total_packets 1209 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->stats.packets += total_packets; total_packets 1212 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c q_vector->tx.total_packets += total_packets; total_packets 1252 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c total_packets, total_bytes); total_packets 1255 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && total_packets 2423 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c q_vector->rx.total_packets += total_rx_packets; total_packets 2526 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c packets = ring_container->total_packets; total_packets 2676 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ring_container->total_packets = 0; total_packets 546 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c q_vector->rx.total_packets += total_rx_packets; total_packets 644 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c unsigned int total_packets = 0, total_bytes = 0; total_packets 658 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c total_packets += tx_bi->gso_segs; total_packets 684 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c tx_ring->stats.packets += total_packets; total_packets 687 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c q_vector->tx.total_packets += total_packets; total_packets 219 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h unsigned int total_packets; /* total packets processed this int */ total_packets 272 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c unsigned int total_bytes = 0, total_packets = 0, total_ipsec = 0; total_packets 302 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c total_packets += tx_buffer->gso_segs; total_packets 363 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->stats.packets += total_packets; total_packets 366 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c q_vector->tx.total_packets += total_packets; total_packets 407 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && total_packets 1248 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c q_vector->rx.total_packets += total_rx_packets; total_packets 1412 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c int packets = ring_container->total_packets; total_packets 1451 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ring_container->total_packets = 0; total_packets 2706 drivers/net/ethernet/marvell/sky2.c unsigned int total_packets[2] = { 0 }; total_packets 2736 drivers/net/ethernet/marvell/sky2.c total_packets[port]++; total_packets 2796 drivers/net/ethernet/marvell/sky2.c sky2_rx_done(hw, 0, total_packets[0], total_bytes[0]); total_packets 2797 drivers/net/ethernet/marvell/sky2.c sky2_rx_done(hw, 1, total_packets[1], total_bytes[1]); total_packets 128 drivers/net/hyperv/hyperv_net.h u16 total_packets; total_packets 696 drivers/net/hyperv/netvsc.c tx_stats->packets += packet->total_packets; total_packets 981 drivers/net/hyperv/netvsc.c packet->total_packets += msdp->pkt->total_packets; total_packets 581 drivers/net/hyperv/netvsc_drv.c packet->total_packets = 1; total_packets 1679 drivers/scsi/ips.c datasize = pt->CoppCP.cmd.flashfw.total_packets * total_packets 1707 drivers/scsi/ips.c pt->CoppCP.cmd.flashfw.total_packets - 1) { total_packets 2341 drivers/scsi/ips.c scb->cmd.flashfw.total_packets = 1; total_packets 568 drivers/scsi/ips.h uint8_t total_packets; total_packets 262 drivers/thunderbolt/icm.c return hdr->packet_id == hdr->total_packets - 1; total_packets 118 drivers/thunderbolt/tb_msgs.h u8 total_packets; total_packets 353 net/mac80211/rc80211_minstrel.c mi->total_packets++; total_packets 365 net/mac80211/rc80211_minstrel.c delta = (mi->total_packets * sampling_ratio / 100) - total_packets 374 net/mac80211/rc80211_minstrel.c if (mi->total_packets >= 10000) { total_packets 377 net/mac80211/rc80211_minstrel.c mi->total_packets = 0; total_packets 80 net/mac80211/rc80211_minstrel.h unsigned int total_packets; total_packets 110 net/mac80211/rc80211_minstrel_debugfs.c mi->total_packets - mi->sample_packets, total_packets 163 net/mac80211/rc80211_minstrel_debugfs.c mi->total_packets - mi->sample_packets, total_packets 682 net/mac80211/rc80211_minstrel_ht.c mi->total_packets_cur = mi->total_packets - total_packets 684 net/mac80211/rc80211_minstrel_ht.c mi->total_packets_last = mi->total_packets; total_packets 1320 net/mac80211/rc80211_minstrel_ht.c mi->total_packets++; total_packets 1323 net/mac80211/rc80211_minstrel_ht.c if (mi->total_packets == ~0) { total_packets 1324 net/mac80211/rc80211_minstrel_ht.c mi->total_packets = 0; total_packets 83 net/mac80211/rc80211_minstrel_ht.h unsigned int total_packets; total_packets 158 net/mac80211/rc80211_minstrel_ht_debugfs.c max(0, (int) mi->total_packets - (int) mi->sample_packets), total_packets 260 net/mac80211/rc80211_minstrel_ht_debugfs.c max(0, (int) mi->total_packets - total_packets 97 tools/testing/selftests/net/psock_tpacket.c static unsigned int total_packets, total_bytes; total_packets 118 tools/testing/selftests/net/psock_tpacket.c if (total_packets % 10 == 0) { total_packets 238 tools/testing/selftests/net/psock_tpacket.c while (total_packets < NUM_PACKETS * 2) { total_packets 258 tools/testing/selftests/net/psock_tpacket.c total_packets++; total_packets 270 tools/testing/selftests/net/psock_tpacket.c if (total_packets != 2 * NUM_PACKETS) { total_packets 272 tools/testing/selftests/net/psock_tpacket.c ring->version, total_packets, NUM_PACKETS); total_packets 415 tools/testing/selftests/net/psock_tpacket.c total_packets = NUM_PACKETS; total_packets 418 tools/testing/selftests/net/psock_tpacket.c while (total_packets > 0) { total_packets 422 tools/testing/selftests/net/psock_tpacket.c total_packets > 0) { total_packets 461 tools/testing/selftests/net/psock_tpacket.c total_packets--; total_packets 471 tools/testing/selftests/net/psock_tpacket.c bug_on(total_packets != 0); total_packets 481 tools/testing/selftests/net/psock_tpacket.c total_packets < NUM_PACKETS) { total_packets 486 tools/testing/selftests/net/psock_tpacket.c total_packets++; total_packets 491 tools/testing/selftests/net/psock_tpacket.c if (total_packets != NUM_PACKETS) { total_packets 493 tools/testing/selftests/net/psock_tpacket.c ring->version, total_packets, NUM_PACKETS); total_packets 565 tools/testing/selftests/net/psock_tpacket.c total_packets++; total_packets 599 tools/testing/selftests/net/psock_tpacket.c while (total_packets < NUM_PACKETS * 2) { total_packets 613 tools/testing/selftests/net/psock_tpacket.c if (total_packets != 2 * NUM_PACKETS) { total_packets 615 tools/testing/selftests/net/psock_tpacket.c total_packets, NUM_PACKETS); total_packets 704 tools/testing/selftests/net/psock_tpacket.c total_packets = 0;