packets 193 arch/mips/include/asm/octeon/cvmx-pip.h uint32_t packets; packets 410 arch/mips/include/asm/octeon/cvmx-pip.h status->packets = stat2.s.pkts; packets 434 arch/mips/include/asm/octeon/cvmx-pip.h if (status->inb_packets > status->packets) packets 436 arch/mips/include/asm/octeon/cvmx-pip.h status->inb_packets - status->packets; packets 119 arch/mips/include/asm/octeon/cvmx-pko.h uint32_t packets; packets 590 arch/mips/include/asm/octeon/cvmx-pko.h status->packets = pko_mem_count0.s.count; packets 199 drivers/block/drbd/drbd_int.h unsigned packets[2]; packets 1229 drivers/block/drbd/drbd_main.c c->packets[0]++; packets 1251 drivers/block/drbd/drbd_main.c c->packets[1]++; packets 4848 drivers/block/drbd/drbd_receiver.c c->bytes[1], c->packets[1], packets 4849 drivers/block/drbd/drbd_receiver.c c->bytes[0], c->packets[0], packets 4910 drivers/block/drbd/drbd_receiver.c c.packets[pi->cmd == P_BITMAP]++; packets 1083 drivers/firewire/core-cdev.c p = (struct fw_cdev_iso_packet __user *)u64_to_uptr(a->packets); packets 1142 drivers/firewire/core-cdev.c a->size -= uptr_to_u64(p) - a->packets; packets 1143 drivers/firewire/core-cdev.c a->packets = uptr_to_u64(p); packets 1181 drivers/gpu/drm/amd/amdkfd/kfd_device.c r = pm_debugfs_hang_hws(&dev->dqm->packets); packets 232 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c const struct packet_manager_funcs *pmf = qpd->dqm->packets.pmf; packets 905 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return pm_init(&dqm->packets, dqm); packets 910 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c pm_uninit(&dqm->packets); packets 1009 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c return pm_send_set_resources(&dqm->packets, &res); packets 1036 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = pm_init(&dqm->packets, dqm); packets 1067 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c pm_uninit(&dqm->packets); packets 1079 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c pm_uninit(&dqm->packets); packets 1251 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = pm_send_unmap_queue(&dqm->packets, KFD_QUEUE_TYPE_SDMA, packets 1270 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = pm_send_runlist(&dqm->packets, &dqm->queues); packets 1299 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c retval = pm_send_unmap_queue(&dqm->packets, KFD_QUEUE_TYPE_COMPUTE, packets 1305 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c pm_send_query_status(&dqm->packets, dqm->fence_gpu_addr, packets 1313 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c pm_release_ib(&dqm->packets); packets 174 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h struct packet_manager packets; packets 1504 drivers/gpu/drm/amd/amdkfd/kfd_topology.c r = pm_debugfs_runlist(m, &dev->gpu->dqm->packets); packets 121 drivers/infiniband/hw/hfi1/debugfs.c static int opcode_stats_show(struct seq_file *s, u8 i, u64 packets, u64 bytes) packets 123 drivers/infiniband/hw/hfi1/debugfs.c if (!packets && !bytes) packets 126 drivers/infiniband/hw/hfi1/debugfs.c (unsigned long long)packets, packets 141 drivers/infiniband/hw/mlx5/ib_virt.c stats->rx_packets = MLX5_GET64_PR(query_vport_counter_out, out, received_ib_unicast.packets); packets 142 drivers/infiniband/hw/mlx5/ib_virt.c stats->tx_packets = MLX5_GET64_PR(query_vport_counter_out, out, transmitted_ib_unicast.packets); packets 145 drivers/infiniband/hw/mlx5/ib_virt.c stats->multicast = MLX5_GET64_PR(query_vport_counter_out, out, received_ib_multicast.packets); packets 143 drivers/infiniband/hw/mlx5/mad.c cpu_to_be64(MLX5_SUM_CNT(out, transmitted_ib_unicast.packets, packets 144 drivers/infiniband/hw/mlx5/mad.c transmitted_ib_multicast.packets)); packets 146 drivers/infiniband/hw/mlx5/mad.c cpu_to_be64(MLX5_SUM_CNT(out, received_ib_unicast.packets, packets 147 drivers/infiniband/hw/mlx5/mad.c received_ib_multicast.packets)); packets 150 drivers/infiniband/hw/mlx5/mad.c out, transmitted_ib_unicast.packets); packets 153 drivers/infiniband/hw/mlx5/mad.c out, received_ib_unicast.packets); packets 156 drivers/infiniband/hw/mlx5/mad.c out, transmitted_ib_multicast.packets); packets 159 drivers/infiniband/hw/mlx5/mad.c out, received_ib_multicast.packets); packets 99 drivers/input/mousedev.c struct mousedev_motion packets[PACKET_QUEUE_LEN]; packets 275 drivers/input/mousedev.c p = &client->packets[client->head]; packets 279 drivers/input/mousedev.c p = &client->packets[client->head = new_head]; packets 573 drivers/input/mousedev.c struct mousedev_motion *p = &client->packets[client->tail]; packets 710 drivers/media/usb/dvb-usb/af9005.c int i, packets, ret, act_len; packets 728 drivers/media/usb/dvb-usb/af9005.c packets = fw->size / FW_BULKOUT_SIZE; packets 731 drivers/media/usb/dvb-usb/af9005.c for (i = 0; i < packets; i++) { packets 748 drivers/media/usb/dvb-usb/af9005.c if (reply != (u8) (packets & 0xff)) { packets 749 drivers/media/usb/dvb-usb/af9005.c err("after downloading firmware, FW_CONFIRM expected 0x%x, received 0x%x", packets & 0xff, reply); packets 2503 drivers/net/ethernet/amazon/ena/ena_netdev.c u64 bytes, packets; packets 2509 drivers/net/ethernet/amazon/ena/ena_netdev.c packets = tx_ring->tx_stats.cnt; packets 2513 drivers/net/ethernet/amazon/ena/ena_netdev.c stats->tx_packets += packets; packets 2520 drivers/net/ethernet/amazon/ena/ena_netdev.c packets = rx_ring->rx_stats.cnt; packets 2524 drivers/net/ethernet/amazon/ena/ena_netdev.c stats->rx_packets += packets; packets 1865 drivers/net/ethernet/amd/xgbe/xgbe-dev.c rdata->tx.packets = tx_packets; packets 2655 drivers/net/ethernet/amd/xgbe/xgbe-drv.c tx_packets += rdata->tx.packets; packets 405 drivers/net/ethernet/amd/xgbe/xgbe.h unsigned int packets; /* BQL packet count */ packets 247 drivers/net/ethernet/aquantia/atlantic/aq_ring.c ++self->stats.rx.packets; packets 430 drivers/net/ethernet/aquantia/atlantic/aq_ring.c ++self->stats.rx.packets; packets 90 drivers/net/ethernet/aquantia/atlantic/aq_ring.h u64 packets; packets 101 drivers/net/ethernet/aquantia/atlantic/aq_ring.h u64 packets; packets 346 drivers/net/ethernet/aquantia/atlantic/aq_vec.c stats_rx->packets += rx->packets; packets 355 drivers/net/ethernet/aquantia/atlantic/aq_vec.c stats_tx->packets += tx->packets; packets 374 drivers/net/ethernet/aquantia/atlantic/aq_vec.c data[count] += stats_rx.packets; packets 375 drivers/net/ethernet/aquantia/atlantic/aq_vec.c data[++count] += stats_tx.packets; packets 492 drivers/net/ethernet/aurora/nb8800.c unsigned int packets = 0; packets 525 drivers/net/ethernet/aurora/nb8800.c packets++; packets 528 drivers/net/ethernet/aurora/nb8800.c if (packets) { packets 530 drivers/net/ethernet/aurora/nb8800.c atomic_add(packets, &priv->tx_free); packets 531 drivers/net/ethernet/aurora/nb8800.c netdev_completed_queue(dev, packets, len); packets 432 drivers/net/ethernet/broadcom/bcmsysport.c u64 bytes = 0, packets = 0; packets 441 drivers/net/ethernet/broadcom/bcmsysport.c packets = ring->packets; packets 445 drivers/net/ethernet/broadcom/bcmsysport.c *tx_packets += packets; packets 504 drivers/net/ethernet/broadcom/bcmsysport.c data[j] = ring->packets; packets 844 drivers/net/ethernet/broadcom/bcmsysport.c priv->dim.packets = processed; packets 916 drivers/net/ethernet/broadcom/bcmsysport.c ring->packets += pkts_compl; packets 1019 drivers/net/ethernet/broadcom/bcmsysport.c dim_update_sample(priv->dim.event_ctr, priv->dim.packets, packets 1442 drivers/net/ethernet/broadcom/bcmsysport.c dim->packets = 0; packets 703 drivers/net/ethernet/broadcom/bcmsysport.h unsigned long packets; packets 721 drivers/net/ethernet/broadcom/bcmsysport.h unsigned long packets; /* packets statistics */ packets 1240 drivers/net/ethernet/broadcom/bnxt/bnxt.h u64 packets; packets 1283 drivers/net/ethernet/broadcom/bnxt/bnxt.h u64 packets; packets 1368 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c stats.packets = curr_stats->packets - prev_stats->packets; packets 1374 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c flow_stats_update(&tc_flow_cmd->stats, stats.bytes, stats.packets, packets 1435 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c stats_batch[i].hw_stats.packets = packets 1471 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c accumulate_val(&acc_stats->packets, hw_stats->packets, packets 1493 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c if (flow->stats.packets != flow->prev_stats.packets) packets 126 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c vf_rep->tx_stats.packets++; packets 138 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c stats->rx_packets = vf_rep->rx_stats.packets; packets 140 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c stats->tx_packets = vf_rep->tx_stats.packets; packets 199 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c vf_rep->rx_stats.packets++; packets 755 drivers/net/ethernet/broadcom/genet/bcmgenet.c tx_rings[num].packets), \ packets 761 drivers/net/ethernet/broadcom/genet/bcmgenet.c rx_rings[num].packets), \ packets 1423 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->packets += pkts_compl; packets 1871 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->packets++; packets 1892 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->dim.packets = rxpktprocessed; packets 1913 drivers/net/ethernet/broadcom/genet/bcmgenet.c dim_update_sample(ring->dim.event_ctr, ring->dim.packets, packets 2091 drivers/net/ethernet/broadcom/genet/bcmgenet.c dim->packets = 0; packets 3184 drivers/net/ethernet/broadcom/genet/bcmgenet.c tx_packets += tx_ring->packets; packets 3188 drivers/net/ethernet/broadcom/genet/bcmgenet.c tx_packets += tx_ring->packets; packets 3194 drivers/net/ethernet/broadcom/genet/bcmgenet.c rx_packets += rx_ring->packets; packets 3200 drivers/net/ethernet/broadcom/genet/bcmgenet.c rx_packets += rx_ring->packets; packets 559 drivers/net/ethernet/broadcom/genet/bcmgenet.h unsigned long packets; packets 580 drivers/net/ethernet/broadcom/genet/bcmgenet.h unsigned long packets; packets 588 drivers/net/ethernet/broadcom/genet/bcmgenet.h unsigned long packets; packets 596 drivers/net/ethernet/brocade/bna/bnad.c u32 packets = 0, len = 0, totlen = 0; packets 604 drivers/net/ethernet/brocade/bna/bnad.c while (packets < budget) { packets 677 drivers/net/ethernet/brocade/bna/bnad.c packets++; packets 730 drivers/net/ethernet/brocade/bna/bnad.c bna_ib_ack_disable_irq(ccb->i_dbell, packets); packets 736 drivers/net/ethernet/brocade/bna/bnad.c return packets; packets 746 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c u64 packets; packets 758 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c &packets, &bytes, packets 764 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c if (ofld_stats->prev_packet_count != packets) { packets 765 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c ofld_stats->prev_packet_count = packets; packets 792 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c u64 packets; packets 803 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c &packets, &bytes, packets 810 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c if (ofld_stats->packet_count != packets) { packets 811 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c if (ofld_stats->prev_packet_count != packets) packets 814 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c packets - ofld_stats->packet_count, packets 817 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c ofld_stats->packet_count = packets; packets 819 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c ofld_stats->prev_packet_count = packets; packets 398 drivers/net/ethernet/freescale/enetc/enetc.c tx_ring->stats.packets += tx_frm_cnt; packets 720 drivers/net/ethernet/freescale/enetc/enetc.c rx_ring->stats.packets += rx_frm_cnt; packets 1490 drivers/net/ethernet/freescale/enetc/enetc.c unsigned long packets = 0, bytes = 0; packets 1494 drivers/net/ethernet/freescale/enetc/enetc.c packets += priv->rx_ring[i]->stats.packets; packets 1498 drivers/net/ethernet/freescale/enetc/enetc.c stats->rx_packets = packets; packets 1501 drivers/net/ethernet/freescale/enetc/enetc.c packets = 0; packets 1504 drivers/net/ethernet/freescale/enetc/enetc.c packets += priv->tx_ring[i]->stats.packets; packets 1508 drivers/net/ethernet/freescale/enetc/enetc.c stats->tx_packets = packets; packets 42 drivers/net/ethernet/freescale/enetc/enetc.h unsigned int packets; packets 259 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c data[o++] = priv->tx_ring[i]->stats.packets; packets 262 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c data[o++] = priv->rx_ring[i]->stats.packets; packets 1759 drivers/net/ethernet/hp/hp100.c int packets, pkt_len; packets 1773 drivers/net/ethernet/hp/hp100.c packets = hp100_inb(RX_PKT_CNT); packets 1775 drivers/net/ethernet/hp/hp100.c if (packets > 1) packets 1776 drivers/net/ethernet/hp/hp100.c printk("hp100: %s: rx: waiting packets = %d\n", dev->name, packets); packets 1779 drivers/net/ethernet/hp/hp100.c while (packets-- > 0) { packets 1784 drivers/net/ethernet/hp/hp100.c printk ("hp100: %s: rx: busy, remaining packets = %d\n", dev->name, packets); packets 1626 drivers/net/ethernet/ibm/ibmvnic.c adapter->tx_stats_buffers[queue_num].packets += tx_packets; packets 2290 drivers/net/ethernet/ibm/ibmvnic.c adapter->rx_stats_buffers[scrq_num].packets++; packets 2618 drivers/net/ethernet/ibm/ibmvnic.c data[i] = adapter->tx_stats_buffers[j].packets; packets 2627 drivers/net/ethernet/ibm/ibmvnic.c data[i] = adapter->rx_stats_buffers[j].packets; packets 180 drivers/net/ethernet/ibm/ibmvnic.h u64 packets; packets 187 drivers/net/ethernet/ibm/ibmvnic.h u64 packets; packets 2571 drivers/net/ethernet/intel/e1000/e1000_main.c u16 itr_setting, int packets, int bytes) packets 2579 drivers/net/ethernet/intel/e1000/e1000_main.c if (packets == 0) packets 2585 drivers/net/ethernet/intel/e1000/e1000_main.c if (bytes/packets > 8000) packets 2587 drivers/net/ethernet/intel/e1000/e1000_main.c else if ((packets < 5) && (bytes > 512)) packets 2593 drivers/net/ethernet/intel/e1000/e1000_main.c if (bytes/packets > 8000) packets 2595 drivers/net/ethernet/intel/e1000/e1000_main.c else if ((packets < 10) || ((bytes/packets) > 1200)) packets 2597 drivers/net/ethernet/intel/e1000/e1000_main.c else if ((packets > 35)) packets 2599 drivers/net/ethernet/intel/e1000/e1000_main.c } else if (bytes/packets > 2000) packets 2601 drivers/net/ethernet/intel/e1000/e1000_main.c else if (packets <= 2 && bytes < 512) packets 2606 drivers/net/ethernet/intel/e1000/e1000_main.c if (packets > 35) packets 2491 drivers/net/ethernet/intel/e1000e/netdev.c static unsigned int e1000_update_itr(u16 itr_setting, int packets, int bytes) packets 2495 drivers/net/ethernet/intel/e1000e/netdev.c if (packets == 0) packets 2501 drivers/net/ethernet/intel/e1000e/netdev.c if (bytes / packets > 8000) packets 2503 drivers/net/ethernet/intel/e1000e/netdev.c else if ((packets < 5) && (bytes > 512)) packets 2509 drivers/net/ethernet/intel/e1000e/netdev.c if (bytes / packets > 8000) packets 2511 drivers/net/ethernet/intel/e1000e/netdev.c else if ((packets < 10) || ((bytes / packets) > 1200)) packets 2513 drivers/net/ethernet/intel/e1000e/netdev.c else if ((packets > 35)) packets 2515 drivers/net/ethernet/intel/e1000e/netdev.c } else if (bytes / packets > 2000) { packets 2517 drivers/net/ethernet/intel/e1000e/netdev.c } else if (packets <= 2 && bytes < 512) { packets 2523 drivers/net/ethernet/intel/e1000e/netdev.c if (packets > 35) packets 79 drivers/net/ethernet/intel/fm10k/fm10k.h u64 packets; packets 107 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c FM10K_QUEUE_STAT("%s_queue_%u_packets", stats.packets), packets 628 drivers/net/ethernet/intel/fm10k/fm10k_main.c rx_ring->stats.packets += total_packets; packets 1115 drivers/net/ethernet/intel/fm10k/fm10k_main.c return ring->stats.packets; packets 1282 drivers/net/ethernet/intel/fm10k/fm10k_main.c tx_ring->stats.packets += total_packets; packets 1351 drivers/net/ethernet/intel/fm10k/fm10k_main.c unsigned int avg_wire_size, packets, itr_round; packets 1357 drivers/net/ethernet/intel/fm10k/fm10k_main.c packets = ring_container->total_packets; packets 1358 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (!packets) packets 1361 drivers/net/ethernet/intel/fm10k/fm10k_main.c avg_wire_size = ring_container->total_bytes / packets; packets 1334 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c u64 bytes, packets; packets 1346 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c packets = ring->stats.packets; packets 1350 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c stats->rx_packets += packets; packets 1362 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c packets = ring->stats.packets; packets 1366 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c stats->tx_packets += packets; packets 569 drivers/net/ethernet/intel/fm10k/fm10k_pci.c pkts += tx_ring->stats.packets; packets 588 drivers/net/ethernet/intel/fm10k/fm10k_pci.c pkts += rx_ring->stats.packets; packets 263 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i, rx_ring->stats.packets, packets 303 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i, tx_ring->stats.packets, packets 62 drivers/net/ethernet/intel/i40e/i40e_ethtool.c I40E_QUEUE_STAT("%s-%u.packets", stats.packets), packets 414 drivers/net/ethernet/intel/i40e/i40e_main.c u64 bytes, packets; packets 419 drivers/net/ethernet/intel/i40e/i40e_main.c packets = ring->stats.packets; packets 423 drivers/net/ethernet/intel/i40e/i40e_main.c stats->tx_packets += packets; packets 452 drivers/net/ethernet/intel/i40e/i40e_main.c u64 bytes, packets; packets 468 drivers/net/ethernet/intel/i40e/i40e_main.c packets = ring->stats.packets; packets 472 drivers/net/ethernet/intel/i40e/i40e_main.c stats->rx_packets += packets; packets 780 drivers/net/ethernet/intel/i40e/i40e_main.c u64 bytes, packets; packets 812 drivers/net/ethernet/intel/i40e/i40e_main.c packets = p->stats.packets; packets 816 drivers/net/ethernet/intel/i40e/i40e_main.c tx_p += packets; packets 826 drivers/net/ethernet/intel/i40e/i40e_main.c packets = p->stats.packets; packets 830 drivers/net/ethernet/intel/i40e/i40e_main.c rx_p += packets; packets 725 drivers/net/ethernet/intel/i40e/i40e_txrx.c int packets; packets 750 drivers/net/ethernet/intel/i40e/i40e_txrx.c packets = tx_ring->stats.packets & INT_MAX; packets 751 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (tx_ring->tx_stats.prev_pkt_ctr == packets) { packets 761 drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_get_tx_pending(tx_ring, true) ? packets : -1; packets 1008 drivers/net/ethernet/intel/i40e/i40e_txrx.c unsigned int avg_wire_size, packets, bytes, itr; packets 1043 drivers/net/ethernet/intel/i40e/i40e_txrx.c packets = rc->total_packets; packets 1052 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (packets && packets < 4 && bytes < 9000 && packets 1057 drivers/net/ethernet/intel/i40e/i40e_txrx.c } else if (packets < 4) { packets 1067 drivers/net/ethernet/intel/i40e/i40e_txrx.c } else if (packets > 32) { packets 1082 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (packets < 56) { packets 1091 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (packets <= 256) { packets 1099 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (packets <= 112) packets 1129 drivers/net/ethernet/intel/i40e/i40e_txrx.c avg_wire_size = bytes / packets; packets 2288 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_ring->stats.packets += total_rx_packets; packets 313 drivers/net/ethernet/intel/i40e/i40e_txrx.h u64 packets; packets 53 drivers/net/ethernet/intel/i40e/i40e_txrx_common.h tx_ring->stats.packets += total_packets; packets 55 drivers/net/ethernet/intel/iavf/iavf_ethtool.c IAVF_QUEUE_STAT("%s-%u.packets", stats.packets), packets 139 drivers/net/ethernet/intel/iavf/iavf_txrx.c int packets; packets 164 drivers/net/ethernet/intel/iavf/iavf_txrx.c packets = tx_ring->stats.packets & INT_MAX; packets 165 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (tx_ring->tx_stats.prev_pkt_ctr == packets) { packets 175 drivers/net/ethernet/intel/iavf/iavf_txrx.c iavf_get_tx_pending(tx_ring, true) ? packets : -1; packets 283 drivers/net/ethernet/intel/iavf/iavf_txrx.c tx_ring->stats.packets += total_packets; packets 418 drivers/net/ethernet/intel/iavf/iavf_txrx.c unsigned int avg_wire_size, packets, bytes, itr; packets 453 drivers/net/ethernet/intel/iavf/iavf_txrx.c packets = rc->total_packets; packets 462 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (packets && packets < 4 && bytes < 9000 && packets 467 drivers/net/ethernet/intel/iavf/iavf_txrx.c } else if (packets < 4) { packets 477 drivers/net/ethernet/intel/iavf/iavf_txrx.c } else if (packets > 32) { packets 492 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (packets < 56) { packets 501 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (packets <= 256) { packets 509 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (packets <= 112) packets 539 drivers/net/ethernet/intel/iavf/iavf_txrx.c avg_wire_size = bytes / packets; packets 1587 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_ring->stats.packets += total_rx_packets; packets 286 drivers/net/ethernet/intel/iavf/iavf_txrx.h u64 packets; packets 76 drivers/net/ethernet/intel/ice/ice_main.c int packets; packets 104 drivers/net/ethernet/intel/ice/ice_main.c packets = tx_ring->stats.pkts & INT_MAX; packets 105 drivers/net/ethernet/intel/ice/ice_main.c if (tx_ring->tx_stats.prev_pkt == packets) { packets 116 drivers/net/ethernet/intel/ice/ice_main.c ice_get_tx_pending(tx_ring) ? packets : -1; packets 1196 drivers/net/ethernet/intel/ice/ice_txrx.c unsigned int packets, bytes, itr; packets 1231 drivers/net/ethernet/intel/ice/ice_txrx.c packets = rc->total_pkts; packets 1240 drivers/net/ethernet/intel/ice/ice_txrx.c if (packets && packets < 4 && bytes < 9000 && packets 1245 drivers/net/ethernet/intel/ice/ice_txrx.c } else if (packets < 4) { packets 1255 drivers/net/ethernet/intel/ice/ice_txrx.c } else if (packets > 32) { packets 1270 drivers/net/ethernet/intel/ice/ice_txrx.c if (packets < 56) { packets 1279 drivers/net/ethernet/intel/ice/ice_txrx.c if (packets <= 256) { packets 1287 drivers/net/ethernet/intel/ice/ice_txrx.c if (packets <= 112) packets 1315 drivers/net/ethernet/intel/ice/ice_txrx.c bytes / packets, itr); packets 225 drivers/net/ethernet/intel/igb/igb.h u64 packets; packets 232 drivers/net/ethernet/intel/igb/igb.h u64 packets; packets 2320 drivers/net/ethernet/intel/igb/igb_ethtool.c data[i] = ring->tx_stats.packets; packets 2336 drivers/net/ethernet/intel/igb/igb_ethtool.c data[i] = ring->rx_stats.packets; packets 5468 drivers/net/ethernet/intel/igb/igb_main.c unsigned int packets; packets 5478 drivers/net/ethernet/intel/igb/igb_main.c packets = q_vector->rx.total_packets; packets 5479 drivers/net/ethernet/intel/igb/igb_main.c if (packets) packets 5480 drivers/net/ethernet/intel/igb/igb_main.c avg_wire_size = q_vector->rx.total_bytes / packets; packets 5482 drivers/net/ethernet/intel/igb/igb_main.c packets = q_vector->tx.total_packets; packets 5483 drivers/net/ethernet/intel/igb/igb_main.c if (packets) packets 5485 drivers/net/ethernet/intel/igb/igb_main.c q_vector->tx.total_bytes / packets); packets 5540 drivers/net/ethernet/intel/igb/igb_main.c unsigned int packets = ring_container->total_packets; packets 5545 drivers/net/ethernet/intel/igb/igb_main.c if (packets == 0) packets 5551 drivers/net/ethernet/intel/igb/igb_main.c if (bytes/packets > 8000) packets 5553 drivers/net/ethernet/intel/igb/igb_main.c else if ((packets < 5) && (bytes > 512)) packets 5559 drivers/net/ethernet/intel/igb/igb_main.c if (bytes/packets > 8000) packets 5561 drivers/net/ethernet/intel/igb/igb_main.c else if ((packets < 10) || ((bytes/packets) > 1200)) packets 5563 drivers/net/ethernet/intel/igb/igb_main.c else if ((packets > 35)) packets 5565 drivers/net/ethernet/intel/igb/igb_main.c } else if (bytes/packets > 2000) { packets 5567 drivers/net/ethernet/intel/igb/igb_main.c } else if (packets <= 2 && bytes < 512) { packets 5573 drivers/net/ethernet/intel/igb/igb_main.c if (packets > 35) packets 6269 drivers/net/ethernet/intel/igb/igb_main.c u64 bytes, packets; packets 6282 drivers/net/ethernet/intel/igb/igb_main.c packets = 0; packets 6299 drivers/net/ethernet/intel/igb/igb_main.c _packets = ring->rx_stats.packets; packets 6302 drivers/net/ethernet/intel/igb/igb_main.c packets += _packets; packets 6306 drivers/net/ethernet/intel/igb/igb_main.c net_stats->rx_packets = packets; packets 6309 drivers/net/ethernet/intel/igb/igb_main.c packets = 0; packets 6315 drivers/net/ethernet/intel/igb/igb_main.c _packets = ring->tx_stats.packets; packets 6318 drivers/net/ethernet/intel/igb/igb_main.c packets += _packets; packets 6321 drivers/net/ethernet/intel/igb/igb_main.c net_stats->tx_packets = packets; packets 7839 drivers/net/ethernet/intel/igb/igb_main.c tx_ring->tx_stats.packets += total_packets; packets 8382 drivers/net/ethernet/intel/igb/igb_main.c rx_ring->rx_stats.packets += total_packets; packets 92 drivers/net/ethernet/intel/igbvf/igbvf.h u64 packets; packets 642 drivers/net/ethernet/intel/igbvf/netdev.c int packets, int bytes) packets 646 drivers/net/ethernet/intel/igbvf/netdev.c if (packets == 0) packets 652 drivers/net/ethernet/intel/igbvf/netdev.c if (bytes/packets > 8000) packets 654 drivers/net/ethernet/intel/igbvf/netdev.c else if ((packets < 5) && (bytes > 512)) packets 660 drivers/net/ethernet/intel/igbvf/netdev.c if (bytes/packets > 8000) packets 662 drivers/net/ethernet/intel/igbvf/netdev.c else if ((packets < 10) || ((bytes/packets) > 1200)) packets 664 drivers/net/ethernet/intel/igbvf/netdev.c else if ((packets > 35)) packets 666 drivers/net/ethernet/intel/igbvf/netdev.c } else if (bytes/packets > 2000) { packets 668 drivers/net/ethernet/intel/igbvf/netdev.c } else if (packets <= 2 && bytes < 512) { packets 674 drivers/net/ethernet/intel/igbvf/netdev.c if (packets > 35) packets 208 drivers/net/ethernet/intel/igc/igc.h u64 packets; packets 215 drivers/net/ethernet/intel/igc/igc.h u64 packets; packets 752 drivers/net/ethernet/intel/igc/igc_ethtool.c data[i] = ring->tx_stats.packets; packets 768 drivers/net/ethernet/intel/igc/igc_ethtool.c data[i] = ring->rx_stats.packets; packets 1636 drivers/net/ethernet/intel/igc/igc_main.c rx_ring->rx_stats.packets += total_packets; packets 1796 drivers/net/ethernet/intel/igc/igc_main.c tx_ring->tx_stats.packets += total_packets; packets 1908 drivers/net/ethernet/intel/igc/igc_main.c u64 bytes, packets; packets 1921 drivers/net/ethernet/intel/igc/igc_main.c packets = 0; packets 1940 drivers/net/ethernet/intel/igc/igc_main.c _packets = ring->rx_stats.packets; packets 1943 drivers/net/ethernet/intel/igc/igc_main.c packets += _packets; packets 1947 drivers/net/ethernet/intel/igc/igc_main.c net_stats->rx_packets = packets; packets 1949 drivers/net/ethernet/intel/igc/igc_main.c packets = 0; packets 1957 drivers/net/ethernet/intel/igc/igc_main.c _packets = ring->tx_stats.packets; packets 1960 drivers/net/ethernet/intel/igc/igc_main.c packets += _packets; packets 1963 drivers/net/ethernet/intel/igc/igc_main.c net_stats->tx_packets = packets; packets 3094 drivers/net/ethernet/intel/igc/igc_main.c unsigned int packets; packets 3108 drivers/net/ethernet/intel/igc/igc_main.c packets = q_vector->rx.total_packets; packets 3109 drivers/net/ethernet/intel/igc/igc_main.c if (packets) packets 3110 drivers/net/ethernet/intel/igc/igc_main.c avg_wire_size = q_vector->rx.total_bytes / packets; packets 3112 drivers/net/ethernet/intel/igc/igc_main.c packets = q_vector->tx.total_packets; packets 3113 drivers/net/ethernet/intel/igc/igc_main.c if (packets) packets 3115 drivers/net/ethernet/intel/igc/igc_main.c q_vector->tx.total_bytes / packets); packets 3169 drivers/net/ethernet/intel/igc/igc_main.c unsigned int packets = ring_container->total_packets; packets 3174 drivers/net/ethernet/intel/igc/igc_main.c if (packets == 0) packets 3180 drivers/net/ethernet/intel/igc/igc_main.c if (bytes / packets > 8000) packets 3182 drivers/net/ethernet/intel/igc/igc_main.c else if ((packets < 5) && (bytes > 512)) packets 3188 drivers/net/ethernet/intel/igc/igc_main.c if (bytes / packets > 8000) packets 3190 drivers/net/ethernet/intel/igc/igc_main.c else if ((packets < 10) || ((bytes / packets) > 1200)) packets 3192 drivers/net/ethernet/intel/igc/igc_main.c else if ((packets > 35)) packets 3194 drivers/net/ethernet/intel/igc/igc_main.c } else if (bytes / packets > 2000) { packets 3196 drivers/net/ethernet/intel/igc/igc_main.c } else if (packets <= 2 && bytes < 512) { packets 3202 drivers/net/ethernet/intel/igc/igc_main.c if (packets > 35) packets 243 drivers/net/ethernet/intel/ixgbe/ixgbe.h u64 packets; packets 1234 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c data[i] = ring->stats.packets; packets 1250 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c data[i] = ring->stats.packets; packets 1013 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c return ring->stats.packets; packets 1209 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_ring->stats.packets += total_packets; packets 2420 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_ring->stats.packets += total_rx_packets; packets 2509 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c unsigned int avg_wire_size, packets, bytes; packets 2526 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c packets = ring_container->total_packets; packets 2536 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!packets) { packets 2550 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (packets < 4 && bytes < 9000) { packets 2559 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (packets < 48) { packets 2569 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (packets < 96) { packets 2578 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (packets < 256) { packets 2599 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c avg_wire_size = bytes / packets; packets 7048 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u64 bytes = 0, packets = 0, hw_csum_rx_error = 0; packets 7073 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c packets += rx_ring->stats.packets; packets 7081 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->stats.rx_packets = packets; packets 7084 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c packets = 0; packets 7091 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c packets += tx_ring->stats.packets; packets 7099 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c packets += xdp_ring->stats.packets; packets 7104 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c netdev->stats.tx_packets = packets; packets 8919 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u64 bytes, packets; packets 8925 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c packets = ring->stats.packets; packets 8928 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c stats->tx_packets += packets; packets 8942 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u64 bytes, packets; packets 8948 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c packets = ring->stats.packets; packets 8951 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c stats->rx_packets += packets; packets 543 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c rx_ring->stats.packets += total_rx_packets; packets 684 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c tx_ring->stats.packets += total_packets; packets 464 drivers/net/ethernet/intel/ixgbevf/ethtool.c data[i] = ring->stats.packets; packets 481 drivers/net/ethernet/intel/ixgbevf/ethtool.c data[i] = ring->stats.packets; packets 498 drivers/net/ethernet/intel/ixgbevf/ethtool.c data[i] = ring->stats.packets; packets 57 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h u64 packets; packets 195 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c return ring->stats.packets; packets 363 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_ring->stats.packets += total_packets; packets 1245 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c rx_ring->stats.packets += total_rx_packets; packets 1412 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c int packets = ring_container->total_packets; packets 1417 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (packets == 0) packets 4360 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u64 bytes, packets; packets 4367 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c packets = ring->stats.packets; packets 4370 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c stats->tx_packets += packets; packets 4379 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c u64 bytes, packets; packets 4393 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c packets = ring->stats.packets; packets 4396 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c stats->rx_packets += packets; packets 2035 drivers/net/ethernet/marvell/sky2.c sky2->tx_stats.packets += pkts_compl; packets 2639 drivers/net/ethernet/marvell/sky2.c unsigned packets, unsigned bytes) packets 2644 drivers/net/ethernet/marvell/sky2.c if (packets == 0) packets 2648 drivers/net/ethernet/marvell/sky2.c sky2->rx_stats.packets += packets; packets 3898 drivers/net/ethernet/marvell/sky2.c _packets = sky2->rx_stats.packets; packets 3907 drivers/net/ethernet/marvell/sky2.c _packets = sky2->tx_stats.packets; packets 2216 drivers/net/ethernet/marvell/sky2.h u64 packets; packets 423 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->tx_ring[TX][i]->packets; packets 427 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c data[index++] = priv->rx_ring[i]->packets; packets 1454 drivers/net/ethernet/mellanox/mlx4/en_netdev.c unsigned long packets; packets 1470 drivers/net/ethernet/mellanox/mlx4/en_netdev.c rx_packets = READ_ONCE(priv->rx_ring[ring]->packets); packets 1474 drivers/net/ethernet/mellanox/mlx4/en_netdev.c packets = rx_pkt_diff; packets 1475 drivers/net/ethernet/mellanox/mlx4/en_netdev.c rate = packets * HZ / period; packets 1476 drivers/net/ethernet/mellanox/mlx4/en_netdev.c avg_pkt_size = packets ? (rx_bytes - packets 1477 drivers/net/ethernet/mellanox/mlx4/en_netdev.c priv->last_moder_bytes[ring]) / packets : 0; packets 2049 drivers/net/ethernet/mellanox/mlx4/en_netdev.c tx_ring[i]->packets = 0; packets 2059 drivers/net/ethernet/mellanox/mlx4/en_netdev.c priv->rx_ring[i]->packets = 0; packets 154 drivers/net/ethernet/mellanox/mlx4/en_port.c unsigned long packets, bytes; packets 160 drivers/net/ethernet/mellanox/mlx4/en_port.c packets = 0; packets 165 drivers/net/ethernet/mellanox/mlx4/en_port.c packets += READ_ONCE(ring->packets); packets 168 drivers/net/ethernet/mellanox/mlx4/en_port.c dev->stats.rx_packets = packets; packets 171 drivers/net/ethernet/mellanox/mlx4/en_port.c packets = 0; packets 176 drivers/net/ethernet/mellanox/mlx4/en_port.c packets += READ_ONCE(ring->packets); packets 179 drivers/net/ethernet/mellanox/mlx4/en_port.c dev->stats.tx_packets = packets; packets 820 drivers/net/ethernet/mellanox/mlx4/en_rx.c ring->packets++; packets 409 drivers/net/ethernet/mellanox/mlx4/en_tx.c u32 packets = 0; packets 473 drivers/net/ethernet/mellanox/mlx4/en_tx.c packets++; packets 497 drivers/net/ethernet/mellanox/mlx4/en_tx.c netdev_tx_completed_queue(ring->tx_queue, packets, bytes); packets 1005 drivers/net/ethernet/mellanox/mlx4/en_tx.c ring->packets += i; packets 1012 drivers/net/ethernet/mellanox/mlx4/en_tx.c ring->packets++; packets 294 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h unsigned long packets; packets 351 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h unsigned long packets; packets 63 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h __field(u64, packets) packets 68 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h __entry->packets = f->stats.pkts; packets 73 drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h __entry->packets, __entry->lastused packets 24 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c data->rx_packets = stats->rq.packets; packets 28 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c data->tx_packets += stats->sq[tc].packets; packets 3564 drivers/net/ethernet/mellanox/mlx5/core/en_main.c s->rx_packets += rq_stats->packets + xskrq_stats->packets; packets 3570 drivers/net/ethernet/mellanox/mlx5/core/en_main.c s->tx_packets += sq_stats->packets; packets 3621 drivers/net/ethernet/mellanox/mlx5/core/en_main.c VPORT_COUNTER_GET(vstats, received_eth_multicast.packets); packets 997 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c stats->packets += lro_num_seg - 1; packets 1034 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c stats->packets++; packets 1508 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c stats->packets++; packets 190 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c s->rx_packets += rq_stats->packets; packets 241 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c s->rx_xsk_packets += xskrq_stats->packets; packets 270 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c s->tx_packets += sq_stats->packets; packets 450 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(received_eth_unicast.packets) }, packets 454 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(transmitted_eth_unicast.packets) }, packets 458 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(received_eth_multicast.packets) }, packets 462 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(transmitted_eth_multicast.packets) }, packets 466 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(received_eth_broadcast.packets) }, packets 470 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(transmitted_eth_broadcast.packets) }, packets 474 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(received_ib_unicast.packets) }, packets 478 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(transmitted_ib_unicast.packets) }, packets 482 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(received_ib_multicast.packets) }, packets 486 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c VPORT_COUNTER_OFF(transmitted_ib_multicast.packets) }, packets 1433 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c { MLX5E_DECLARE_RX_STAT(struct mlx5e_rq_stats, packets) }, packets 1465 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c { MLX5E_DECLARE_TX_STAT(struct mlx5e_sq_stats, packets) }, packets 1518 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c { MLX5E_DECLARE_XSKRQ_STAT(struct mlx5e_rq_stats, packets) }, packets 228 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h u64 packets; packets 261 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h u64 packets; packets 3889 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c u64 packets = 0; packets 3910 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5_fc_query_cached(counter, &bytes, &packets, &lastuse); packets 3932 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c packets += packets2; packets 3939 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_stats_update(&f->stats, bytes, packets, lastuse); packets 293 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c stats->packets += skb_shinfo(skb)->gso_segs; packets 301 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c stats->packets++; packets 616 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c stats->packets += skb_shinfo(skb)->gso_segs; packets 624 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c stats->packets++; packets 58 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c dim_update_sample(sq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); packets 70 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c dim_update_sample(rq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); packets 2528 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, received_eth_unicast.packets) + packets 2529 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, received_ib_unicast.packets) + packets 2530 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, received_eth_multicast.packets) + packets 2531 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, received_ib_multicast.packets) + packets 2532 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, received_eth_broadcast.packets); packets 2542 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, transmitted_eth_unicast.packets) + packets 2543 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, transmitted_ib_unicast.packets) + packets 2544 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, transmitted_eth_multicast.packets) + packets 2545 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, transmitted_ib_multicast.packets) + packets 2546 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, transmitted_eth_broadcast.packets); packets 2556 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, received_eth_multicast.packets) + packets 2557 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, received_ib_multicast.packets); packets 2560 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_GET_CTR(out, received_eth_broadcast.packets); packets 651 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c u64 *packets, u64 *bytes) packets 668 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c *packets = MLX5_GET64(traffic_counter, stats, packets); packets 110 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h u64 *packets, u64 *bytes); packets 47 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c u64 packets; packets 158 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c u64 packets = MLX5_GET64(traffic_counter, stats, packets); packets 161 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c if (cache->packets == packets) packets 164 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c cache->packets = packets; packets 316 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c counter->lastpackets = counter->cache.packets; packets 422 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c u64 *packets, u64 *bytes) packets 424 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c return mlx5_cmd_fc_query(dev, counter->id, packets, bytes); packets 434 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c u64 *bytes, u64 *packets, u64 *lastuse) packets 441 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c *packets = c.packets - counter->lastpackets; packets 445 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c counter->lastpackets = c.packets; packets 130 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c s.rx_packets += rq_stats->packets; packets 136 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c s.tx_packets += sq_stats->packets; packets 466 drivers/net/ethernet/mellanox/mlxsw/spectrum.c unsigned int counter_index, u64 *packets, packets 477 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (packets) packets 478 drivers/net/ethernet/mellanox/mlxsw/spectrum.c *packets = mlxsw_reg_mgpc_packet_counter_get(mgpc_pl); packets 229 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u64 packets; packets 489 drivers/net/ethernet/mellanox/mlxsw/spectrum.h unsigned int counter_index, u64 *packets, packets 758 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u64 *packets, u64 *bytes, u64 *last_use); packets 830 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c u64 *packets, u64 *bytes, u64 *last_use) packets 844 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c *packets = current_packets - rule->last_packets; packets 533 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c u64 packets; packets 548 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c err = mlxsw_sp_acl_rule_get_stats(mlxsw_sp, rule, &packets, &bytes, packets 553 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c flow_stats_update(&f->stats, bytes, packets, lastuse); packets 981 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c u64 packets, bytes; packets 986 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c mr->mr_ops->route_stats(mlxsw_sp, mr_route->route_priv, &packets, packets 989 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c if (mr_route->mfc->mfc_un.res.pkt != packets) packets 991 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c mr_route->mfc->mfc_un.res.pkt = packets; packets 51 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.h u64 *packets, u64 *bytes); packets 358 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c void *route_priv, u64 *packets, packets 364 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c packets, bytes); packets 661 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c stats->packets++; packets 1128 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c MLXSW_SP_PTP_PORT_STAT("ptp_rx_gcd_packets", rx_gcd.packets), packets 1130 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c MLXSW_SP_PTP_PORT_STAT("ptp_tx_gcd_packets", tx_gcd.packets), packets 3112 drivers/net/ethernet/neterion/vxge/vxge-main.c u64 packets, bytes, multicast; packets 3117 drivers/net/ethernet/neterion/vxge/vxge-main.c packets = rxstats->rx_frms; packets 3122 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->rx_packets += packets; packets 3132 drivers/net/ethernet/neterion/vxge/vxge-main.c packets = txstats->tx_frms; packets 3136 drivers/net/ethernet/neterion/vxge/vxge-main.c net_stats->tx_packets += packets; packets 465 drivers/net/ethernet/ni/nixge.c u32 packets = 0; packets 478 drivers/net/ethernet/ni/nixge.c packets++; packets 487 drivers/net/ethernet/ni/nixge.c ndev->stats.tx_packets += packets; packets 490 drivers/net/ethernet/ni/nixge.c if (packets) packets 599 drivers/net/ethernet/ni/nixge.c u32 packets = 0; packets 606 drivers/net/ethernet/ni/nixge.c budget > packets)) { packets 635 drivers/net/ethernet/ni/nixge.c packets++; packets 640 drivers/net/ethernet/ni/nixge.c return packets; packets 659 drivers/net/ethernet/ni/nixge.c ndev->stats.rx_packets += packets; packets 665 drivers/net/ethernet/ni/nixge.c return packets; packets 700 drivers/net/ethernet/pasemi/pasemi_mac.c int count, buf_index, tot_bytes, packets; packets 708 drivers/net/ethernet/pasemi/pasemi_mac.c packets = 0; packets 766 drivers/net/ethernet/pasemi/pasemi_mac.c packets++; packets 804 drivers/net/ethernet/pasemi/pasemi_mac.c mac->netdev->stats.rx_packets += packets; packets 285 drivers/net/ethernet/qualcomm/qca_spi.c u16 packets = 0; packets 304 drivers/net/ethernet/qualcomm/qca_spi.c if (packets == 0) packets 314 drivers/net/ethernet/qualcomm/qca_spi.c packets++; packets 574 drivers/net/ethernet/realtek/8139too.c u64 packets; packets 1806 drivers/net/ethernet/realtek/8139too.c tp->tx_stats.packets++; packets 2051 drivers/net/ethernet/realtek/8139too.c tp->rx_stats.packets++; packets 2535 drivers/net/ethernet/realtek/8139too.c stats->rx_packets = tp->rx_stats.packets; packets 2541 drivers/net/ethernet/realtek/8139too.c stats->tx_packets = tp->tx_stats.packets; packets 642 drivers/net/ethernet/realtek/r8169_main.c u64 packets; packets 6097 drivers/net/ethernet/realtek/r8169_main.c tp->tx_stats.packets += pkts_compl; packets 6224 drivers/net/ethernet/realtek/r8169_main.c tp->rx_stats.packets++; packets 6535 drivers/net/ethernet/realtek/r8169_main.c stats->rx_packets = tp->rx_stats.packets; packets 6541 drivers/net/ethernet/realtek/r8169_main.c stats->tx_packets = tp->tx_stats.packets; packets 624 drivers/net/ethernet/sgi/ioc3-eth.c unsigned long packets, bytes; packets 634 drivers/net/ethernet/sgi/ioc3-eth.c packets = 0; packets 638 drivers/net/ethernet/sgi/ioc3-eth.c packets++; packets 650 drivers/net/ethernet/sgi/ioc3-eth.c dev->stats.tx_packets += packets; packets 652 drivers/net/ethernet/sgi/ioc3-eth.c ip->txqlen -= packets; packets 241 drivers/net/ethernet/socionext/sni_ave.c u64 packets; packets 729 drivers/net/ethernet/socionext/sni_ave.c priv->stats_tx.packets += tx_packets; packets 800 drivers/net/ethernet/socionext/sni_ave.c priv->stats_rx.packets += rx_packets; packets 1510 drivers/net/ethernet/socionext/sni_ave.c stats->rx_packets = priv->stats_rx.packets; packets 1516 drivers/net/ethernet/socionext/sni_ave.c stats->tx_packets = priv->stats_tx.packets; packets 973 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c desc_data->tx.packets = pkt_info->tx_packets; packets 1079 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c tx_packets += desc_data->tx.packets; packets 241 drivers/net/ethernet/synopsys/dwc-xlgmac.h unsigned int packets; /* BQL packet count */ packets 952 drivers/net/ethernet/ti/netcp_core.c unsigned int packets; packets 954 drivers/net/ethernet/ti/netcp_core.c packets = netcp_process_rx_packets(netcp, budget); packets 957 drivers/net/ethernet/ti/netcp_core.c if (packets < budget) { packets 958 drivers/net/ethernet/ti/netcp_core.c napi_complete_done(&netcp->rx_napi, packets); packets 962 drivers/net/ethernet/ti/netcp_core.c return packets; packets 1060 drivers/net/ethernet/ti/netcp_core.c int packets; packets 1064 drivers/net/ethernet/ti/netcp_core.c packets = netcp_process_tx_compl_packets(netcp, budget); packets 1065 drivers/net/ethernet/ti/netcp_core.c if (packets < budget) { packets 1070 drivers/net/ethernet/ti/netcp_core.c return packets; packets 432 drivers/net/ethernet/via/via-rhine.c u64 packets; packets 1980 drivers/net/ethernet/via/via-rhine.c rp->tx_stats.packets++; packets 2140 drivers/net/ethernet/via/via-rhine.c rp->rx_stats.packets++; packets 2233 drivers/net/ethernet/via/via-rhine.c stats->rx_packets = rp->rx_stats.packets; packets 2239 drivers/net/ethernet/via/via-rhine.c stats->tx_packets = rp->tx_stats.packets; packets 537 drivers/net/ethernet/xilinx/xilinx_axienet_main.c u32 packets = 0; packets 559 drivers/net/ethernet/xilinx/xilinx_axienet_main.c packets++; packets 567 drivers/net/ethernet/xilinx/xilinx_axienet_main.c ndev->stats.tx_packets += packets; packets 700 drivers/net/ethernet/xilinx/xilinx_axienet_main.c u32 packets = 0; packets 742 drivers/net/ethernet/xilinx/xilinx_axienet_main.c packets++; packets 760 drivers/net/ethernet/xilinx/xilinx_axienet_main.c ndev->stats.rx_packets += packets; packets 864 drivers/net/hyperv/hyperv_net.h u64 packets; packets 696 drivers/net/hyperv/netvsc.c tx_stats->packets += packet->total_packets; packets 850 drivers/net/hyperv/netvsc_drv.c rx_stats->packets++; packets 1220 drivers/net/hyperv/netvsc_drv.c u64 packets, bytes; packets 1226 drivers/net/hyperv/netvsc_drv.c packets = stats->packets; packets 1231 drivers/net/hyperv/netvsc_drv.c this_tot->tx_packets += packets; packets 1236 drivers/net/hyperv/netvsc_drv.c packets = stats->packets; packets 1241 drivers/net/hyperv/netvsc_drv.c this_tot->rx_packets += packets; packets 1271 drivers/net/hyperv/netvsc_drv.c u64 packets, bytes, multicast; packets 1277 drivers/net/hyperv/netvsc_drv.c packets = stats->packets; packets 1282 drivers/net/hyperv/netvsc_drv.c t->tx_packets += packets; packets 1287 drivers/net/hyperv/netvsc_drv.c packets = stats->packets; packets 1293 drivers/net/hyperv/netvsc_drv.c t->rx_packets += packets; packets 1410 drivers/net/hyperv/netvsc_drv.c u64 packets, bytes; packets 1428 drivers/net/hyperv/netvsc_drv.c packets = qstats->packets; packets 1431 drivers/net/hyperv/netvsc_drv.c data[i++] = packets; packets 1437 drivers/net/hyperv/netvsc_drv.c packets = qstats->packets; packets 1440 drivers/net/hyperv/netvsc_drv.c data[i++] = packets; packets 132 drivers/net/ifb.c u64 packets, bytes; packets 138 drivers/net/ifb.c packets = txp->rx_packets; packets 141 drivers/net/ifb.c stats->rx_packets += packets; packets 146 drivers/net/ifb.c packets = txp->tx_packets; packets 149 drivers/net/ifb.c stats->tx_packets += packets; packets 95 drivers/net/loopback.c lb_stats->packets++; packets 106 drivers/net/loopback.c u64 packets = 0; packets 118 drivers/net/loopback.c tpackets = lb_stats->packets; packets 121 drivers/net/loopback.c packets += tpackets; packets 123 drivers/net/loopback.c stats->rx_packets = packets; packets 124 drivers/net/loopback.c stats->tx_packets = packets; packets 17 drivers/net/nlmon.c stats->packets++; packets 60 drivers/net/nlmon.c u64 bytes = 0, packets = 0; packets 72 drivers/net/nlmon.c tpackets = nl_stats->packets; packets 75 drivers/net/nlmon.c packets += tpackets; packets 79 drivers/net/nlmon.c stats->rx_packets = packets; packets 64 drivers/net/usb/gl620a.c struct gl_packet packets; packets 91 drivers/net/usb/gl620a.c packet = &header->packets; packets 1252 drivers/net/usb/usbnet.c stats64->tx_packets += entry->packets; packets 268 drivers/net/veth.c stats->packets++; packets 289 drivers/net/veth.c result->packets = 0; packets 293 drivers/net/veth.c u64 packets, bytes; packets 298 drivers/net/veth.c packets = stats->packets; packets 301 drivers/net/veth.c result->packets += packets; packets 317 drivers/net/veth.c u64 packets, bytes, drops; packets 322 drivers/net/veth.c packets = stats->xdp_packets; packets 326 drivers/net/veth.c result->xdp_packets += packets; packets 342 drivers/net/veth.c tot->tx_packets = tx.packets; packets 354 drivers/net/veth.c tot->rx_packets += tx.packets; packets 73 drivers/net/virtio_net.c u64 packets; packets 82 drivers/net/virtio_net.c u64 packets; packets 96 drivers/net/virtio_net.c { "packets", VIRTNET_SQ_STAT(packets) }, packets 104 drivers/net/virtio_net.c { "packets", VIRTNET_RQ_STAT(packets) }, packets 493 drivers/net/virtio_net.c int packets = 0; packets 529 drivers/net/virtio_net.c packets++; packets 550 drivers/net/virtio_net.c sq->stats.packets += packets; packets 1323 drivers/net/virtio_net.c while (stats.packets < budget && packets 1326 drivers/net/virtio_net.c stats.packets++; packets 1329 drivers/net/virtio_net.c while (stats.packets < budget && packets 1332 drivers/net/virtio_net.c stats.packets++; packets 1351 drivers/net/virtio_net.c return stats.packets; packets 1357 drivers/net/virtio_net.c unsigned int packets = 0; packets 1375 drivers/net/virtio_net.c packets++; packets 1381 drivers/net/virtio_net.c if (!packets) packets 1386 drivers/net/virtio_net.c sq->stats.packets += packets; packets 1732 drivers/net/virtio_net.c tpackets = sq->stats.packets; packets 1738 drivers/net/virtio_net.c rpackets = rq->stats.packets; packets 55 drivers/net/vsockmon.c stats->packets++; packets 67 drivers/net/vsockmon.c u64 bytes = 0, packets = 0; packets 79 drivers/net/vsockmon.c tpackets = vstats->packets; packets 82 drivers/net/vsockmon.c packets += tpackets; packets 86 drivers/net/vsockmon.c stats->rx_packets = packets; packets 1567 drivers/net/wireless/ath/ath6kl/htc_mbox.c static void htc_ctrl_rx(struct htc_target *context, struct htc_packet *packets) packets 1569 drivers/net/wireless/ath/ath6kl/htc_mbox.c if (packets->endpoint != ENDPOINT_0) { packets 1574 drivers/net/wireless/ath/ath6kl/htc_mbox.c if (packets->status == -ECANCELED) { packets 1575 drivers/net/wireless/ath/ath6kl/htc_mbox.c reclaim_rx_ctrl_buf(context, packets); packets 1579 drivers/net/wireless/ath/ath6kl/htc_mbox.c if (packets->act_len > 0) { packets 1581 drivers/net/wireless/ath/ath6kl/htc_mbox.c packets->act_len + HTC_HDR_LENGTH); packets 1585 drivers/net/wireless/ath/ath6kl/htc_mbox.c packets->buf - HTC_HDR_LENGTH, packets 1586 drivers/net/wireless/ath/ath6kl/htc_mbox.c packets->act_len + HTC_HDR_LENGTH); packets 1589 drivers/net/wireless/ath/ath6kl/htc_mbox.c htc_reclaim_rxbuf(context, packets, &context->endpoint[0]); packets 2144 drivers/net/wireless/ath/ath6kl/htc_mbox.c struct htc_packet *packets, *tmp_pkt; packets 2230 drivers/net/wireless/ath/ath6kl/htc_mbox.c list_for_each_entry_safe(packets, tmp_pkt, &comp_pktq, list) { packets 2231 drivers/net/wireless/ath/ath6kl/htc_mbox.c list_del(&packets->list); packets 2232 drivers/net/wireless/ath/ath6kl/htc_mbox.c htc_reclaim_rxbuf(target, packets, packets 2233 drivers/net/wireless/ath/ath6kl/htc_mbox.c &target->endpoint[packets->endpoint]); packets 72 drivers/net/wireless/broadcom/b43/pio.c if (B43_WARN_ON(pack_index >= ARRAY_SIZE(q->packets))) packets 74 drivers/net/wireless/broadcom/b43/pio.c *pack = &q->packets[pack_index]; packets 148 drivers/net/wireless/broadcom/b43/pio.c for (i = 0; i < ARRAY_SIZE(q->packets); i++) { packets 149 drivers/net/wireless/broadcom/b43/pio.c p = &(q->packets[i]); packets 183 drivers/net/wireless/broadcom/b43/pio.c for (i = 0; i < ARRAY_SIZE(q->packets); i++) { packets 184 drivers/net/wireless/broadcom/b43/pio.c pack = &(q->packets[i]); packets 91 drivers/net/wireless/broadcom/b43/pio.h struct b43_pio_txpacket packets[B43_PIO_MAX_NR_TXPACKETS]; packets 122 drivers/net/wireless/marvell/libertas/if_sdio.c struct if_sdio_packet *packets; packets 407 drivers/net/wireless/marvell/libertas/if_sdio.c packet = card->packets; packets 409 drivers/net/wireless/marvell/libertas/if_sdio.c card->packets = packet->next; packets 952 drivers/net/wireless/marvell/libertas/if_sdio.c if (!card->packets) packets 953 drivers/net/wireless/marvell/libertas/if_sdio.c card->packets = packet; packets 955 drivers/net/wireless/marvell/libertas/if_sdio.c cur = card->packets; packets 1238 drivers/net/wireless/marvell/libertas/if_sdio.c while (card->packets) { packets 1239 drivers/net/wireless/marvell/libertas/if_sdio.c packet = card->packets; packets 1240 drivers/net/wireless/marvell/libertas/if_sdio.c card->packets = card->packets->next; packets 1282 drivers/net/wireless/marvell/libertas/if_sdio.c while (card->packets) { packets 1283 drivers/net/wireless/marvell/libertas/if_sdio.c packet = card->packets; packets 1284 drivers/net/wireless/marvell/libertas/if_sdio.c card->packets = card->packets->next; packets 951 drivers/net/wireless/ti/wl1251/acx.h u32 packets; packets 141 drivers/net/wireless/ti/wl1251/debugfs.c DEBUGFS_FWSTATS_FILE(wep, packets, 20, "%u"); packets 281 drivers/net/wireless/ti/wl1251/debugfs.c DEBUGFS_FWSTATS_DEL(wep, packets); packets 380 drivers/net/wireless/ti/wl1251/debugfs.c DEBUGFS_FWSTATS_ADD(wep, packets); packets 132 drivers/net/wireless/ti/wl12xx/acx.h __le32 packets; packets 59 drivers/net/wireless/ti/wl12xx/debugfs.c WL12XX_DEBUGFS_FWSTATS_FILE(wep, packets, "%u"); packets 159 drivers/net/wireless/ti/wl12xx/debugfs.c DEBUGFS_FWSTATS_ADD(wep, packets); packets 93 drivers/net/xen-netfront.c u64 packets; packets 691 drivers/net/xen-netfront.c tx_stats->packets++; packets 976 drivers/net/xen-netfront.c rx_stats->packets++; packets 1109 drivers/net/xen-netfront.c tx_packets = tx_stats->packets; packets 1115 drivers/net/xen-netfront.c rx_packets = rx_stats->packets; packets 1112 drivers/s390/net/qeth_core_main.c unsigned int packets; packets 1114 drivers/s390/net/qeth_core_main.c packets = is_tso ? skb_shinfo(skb)->gso_segs : 1; packets 1116 drivers/s390/net/qeth_core_main.c QETH_TXQ_STAT_ADD(queue, tx_errors, packets); packets 1118 drivers/s390/net/qeth_core_main.c QETH_TXQ_STAT_ADD(queue, tx_packets, packets); packets 1121 drivers/s390/net/qeth_core_main.c QETH_TXQ_STAT_ADD(queue, skbs_csum, packets); packets 5263 drivers/s390/net/qeth_core_main.c unsigned int packets = 0; packets 5294 drivers/s390/net/qeth_core_main.c packets += skb_queue_len(&buffer->skb_list); packets 5302 drivers/s390/net/qeth_core_main.c netdev_tx_completed_queue(txq, packets, bytes); packets 2270 drivers/staging/octeon-usb/octeon-hcd.c struct cvmx_usb_iso_packet *packets; packets 2272 drivers/staging/octeon-usb/octeon-hcd.c packets = (struct cvmx_usb_iso_packet *)urb->setup_packet; packets 2280 drivers/staging/octeon-usb/octeon-hcd.c packets, urb); packets 218 drivers/staging/octeon/ethernet.c dev->stats.tx_packets += tx_status.packets; packets 390 drivers/staging/octeon/octeon-stubs.h uint32_t packets; packets 411 drivers/staging/octeon/octeon-stubs.h uint32_t packets; packets 1026 drivers/usb/dwc2/gadget.c unsigned int packets; packets 1082 drivers/usb/dwc2/gadget.c packets = DIV_ROUND_UP(length, hs_ep->ep.maxpacket); packets 1084 drivers/usb/dwc2/gadget.c packets = 1; /* send one packet if length is zero. */ packets 1088 drivers/usb/dwc2/gadget.c epsize = DXEPTSIZ_MC(packets); packets 1105 drivers/usb/dwc2/gadget.c epsize |= DXEPTSIZ_PKTCNT(packets); packets 1109 drivers/usb/dwc2/gadget.c __func__, packets, length, ureq->length, epsize, epsize_reg); packets 578 drivers/usb/gadget/udc/omap_udc.c unsigned packets = req->req.length - req->req.actual; packets 583 drivers/usb/gadget/udc/omap_udc.c packets /= ep->ep.maxpacket; packets 584 drivers/usb/gadget/udc/omap_udc.c packets = min(packets, (unsigned)UDC_RXN_TC + 1); packets 585 drivers/usb/gadget/udc/omap_udc.c req->dma_bytes = packets * ep->ep.maxpacket; packets 587 drivers/usb/gadget/udc/omap_udc.c ep->ep.maxpacket >> 1, packets, packets 595 drivers/usb/gadget/udc/omap_udc.c omap_writew(UDC_RXN_STOP | (packets - 1), UDC_RXDMA(ep->dma_channel)); packets 1179 drivers/usb/host/ehci-sched.c iso_sched_alloc(unsigned packets, gfp_t mem_flags) packets 1184 drivers/usb/host/ehci-sched.c size += packets * sizeof(struct ehci_iso_packet); packets 4015 drivers/usb/host/fotg210-hcd.c static struct fotg210_iso_sched *iso_sched_alloc(unsigned packets, packets 4021 drivers/usb/host/fotg210-hcd.c size += packets * sizeof(struct fotg210_iso_packet); packets 1983 drivers/usb/misc/usbtest.c unsigned i, maxp, packets; packets 1994 drivers/usb/misc/usbtest.c packets = DIV_ROUND_UP(bytes, maxp); packets 1996 drivers/usb/misc/usbtest.c urb = usb_alloc_urb(packets, GFP_KERNEL); packets 2002 drivers/usb/misc/usbtest.c urb->number_of_packets = packets; packets 2022 drivers/usb/misc/usbtest.c for (i = 0; i < packets; i++) { packets 2044 drivers/usb/misc/usbtest.c unsigned long packets = 0; packets 2075 drivers/usb/misc/usbtest.c packets += urbs[i]->number_of_packets; packets 2078 drivers/usb/misc/usbtest.c packets *= param->iterations; packets 2097 drivers/usb/misc/usbtest.c (packets * (1 << (desc->bInterval - 1))) packets 2099 drivers/usb/misc/usbtest.c packets); packets 125 drivers/usb/usbip/vudc_rx.c unsigned int maxp, packets, bytes; packets 130 drivers/usb/usbip/vudc_rx.c packets = DIV_ROUND_UP(bytes, maxp); packets 133 drivers/usb/usbip/vudc_rx.c pdu->u.cmd_submit.number_of_packets > packets) { packets 248 include/linux/dim.h dim_update_sample(u16 event_ctr, u64 packets, u64 bytes, struct dim_sample *s) packets 251 include/linux/dim.h s->pkt_ctr = packets; packets 266 include/linux/dim.h dim_update_sample_with_comps(u16 event_ctr, u64 packets, u64 bytes, u64 comps, packets 269 include/linux/dim.h dim_update_sample(event_ctr, packets, bytes, s); packets 231 include/linux/mlx5/fs.h u64 *bytes, u64 *packets, u64 *lastuse); packets 233 include/linux/mlx5/fs.h u64 *packets, u64 *bytes); packets 2894 include/linux/mlx5/mlx5_ifc.h u8 packets[0x40]; packets 2397 include/linux/netdevice.h u64 packets; packets 96 include/linux/netfilter/ipset/ip_set.h atomic64_t packets; packets 118 include/linux/netfilter/ipset/ip_set.h u64 packets; packets 593 include/linux/netfilter/ipset/ip_set.h ip_set_add_packets(u64 packets, struct ip_set_counter *counter) packets 595 include/linux/netfilter/ipset/ip_set.h atomic64_add((long long)packets, &(counter)->packets); packets 607 include/linux/netfilter/ipset/ip_set.h return (u64)atomic64_read(&(counter)->packets); packets 632 include/linux/netfilter/ipset/ip_set.h if (ext->packets != ULLONG_MAX && packets 635 include/linux/netfilter/ipset/ip_set.h ip_set_add_packets(ext->packets, counter); packets 656 include/linux/netfilter/ipset/ip_set.h if (ext->packets != ULLONG_MAX) packets 657 include/linux/netfilter/ipset/ip_set.h atomic64_set(&(counter)->packets, (long long)(ext->packets)); packets 693 include/linux/netfilter/ipset/ip_set.h { .bytes = (skb)->len, .packets = 1, .target = true,\ packets 697 include/linux/netfilter/ipset/ip_set.h { .bytes = ULLONG_MAX, .packets = ULLONG_MAX, \ packets 25 include/linux/sunrpc/svc.h atomic_long_t packets; packets 236 include/linux/usb/usbnet.h unsigned long packets; packets 244 include/linux/usb/usbnet.h unsigned long packets, long bytes_delta) packets 248 include/linux/usb/usbnet.h entry->packets = packets; packets 200 include/net/act_api.h u64 packets, u64 lastuse, bool hw) packets 206 include/net/act_api.h a->ops->stats_update(a, bytes, packets, lastuse, hw); packets 15 include/net/netfilter/nf_conntrack_acct.h atomic64_t packets; packets 252 include/net/pkt_cls.h u64 bytes, u64 packets, u64 lastuse) packets 262 include/net/pkt_cls.h tcf_action_stats_update(a, bytes, packets, lastuse, true); packets 800 include/net/sch_generic.h __u64 bytes, __u32 packets) packets 803 include/net/sch_generic.h bstats->packets += packets; packets 815 include/net/sch_generic.h __u64 bytes, __u32 packets) packets 818 include/net/sch_generic.h _bstats_update(&bstats->bstats, bytes, packets); packets 14 include/net/tc_act/tc_gact.h atomic_t packets; packets 15 include/trace/events/qdisc.h int packets, struct sk_buff *skb), packets 17 include/trace/events/qdisc.h TP_ARGS(qdisc, txq, packets, skb), packets 22 include/trace/events/qdisc.h __field( int, packets ) packets 34 include/trace/events/qdisc.h __entry->packets = skb ? packets : 0; packets 44 include/trace/events/qdisc.h __entry->txq_state, __entry->packets, __entry->skbaddr ) packets 831 include/uapi/linux/firewire-cdev.h __u64 packets; packets 27 include/uapi/linux/gen_stats.h __u32 packets; packets 31 include/uapi/linux/gen_stats.h __u32 packets; packets 70 include/uapi/linux/netfilter/xt_set.h struct ip_set_counter_match0 packets; packets 89 include/uapi/linux/netfilter/xt_set.h struct ip_set_counter_match packets; packets 36 include/uapi/linux/pkt_sched.h __u32 packets; /* Number of enqueued packets */ packets 342 include/uapi/linux/pkt_sched.h __u32 packets; packets 79 include/uapi/linux/xfrm.h __u64 packets; packets 86 net/core/gen_estimator.c rate = (u64)(b.packets - est->last_packets) << (10 - est->ewma_log - est->intvl_log); packets 95 net/core/gen_estimator.c est->last_packets = b.packets; packets 165 net/core/gen_estimator.c est->last_packets = b.packets; packets 127 net/core/gen_stats.c u32 packets; packets 132 net/core/gen_stats.c packets = bcpu->bstats.packets; packets 136 net/core/gen_stats.c bstats->packets += packets; packets 156 net/core/gen_stats.c bstats->packets = b->packets; packets 174 net/core/gen_stats.c d->tc_stats.packets = bstats.packets; packets 182 net/core/gen_stats.c sb.packets = bstats.packets; packets 2530 net/core/pktgen.c x->curlft.packets++; packets 2190 net/ipv4/tcp_input.c static void tcp_mark_head_lost(struct sock *sk, int packets, int mark_head) packets 2199 net/ipv4/tcp_input.c WARN_ON(packets > tp->packets_out); packets 2225 net/ipv4/tcp_input.c if (cnt > packets) { packets 2228 net/ipv4/tcp_input.c (oldcnt >= packets)) packets 2233 net/ipv4/tcp_input.c lost = (packets - oldcnt) * mss; packets 2238 net/ipv4/tcp_input.c cnt = packets; packets 155 net/ipv6/xfrm6_input.c x->curlft.packets++; packets 911 net/key/af_key.c lifetime->sadb_lifetime_allocations = x->curlft.packets; packets 2126 net/key/af_key.c lifetime->sadb_lifetime_allocations = xp->curlft.packets; packets 82 net/mac80211/ethtool.c data[i++] += sta->rx_stats.packets; \ packets 1863 net/mac80211/rx.c sta->rx_stats.packets++; packets 2294 net/mac80211/rx.c rx->sta->rx_stats.packets++; packets 2859 net/mac80211/rx.c rx->sta->rx_stats.packets++; packets 3340 net/mac80211/rx.c rx->sta->rx_stats.packets++; packets 3348 net/mac80211/rx.c rx->sta->rx_stats.packets++; packets 3376 net/mac80211/rx.c rx->sta->rx_stats.packets++; packets 3503 net/mac80211/rx.c rx->sta->rx_stats.packets++; packets 4274 net/mac80211/rx.c stats->packets++; packets 2228 net/mac80211/sta_info.c sinfo->tx_packets += sta->tx_stats.packets[ac]; packets 2249 net/mac80211/sta_info.c sinfo->rx_packets = sta->rx_stats.packets; packets 2255 net/mac80211/sta_info.c sinfo->rx_packets += cpurxs->packets; packets 414 net/mac80211/sta_info.h unsigned long packets; packets 596 net/mac80211/sta_info.h u64 packets[IEEE80211_NUM_ACS]; packets 1013 net/mac80211/tx.c tx->sta->tx_stats.packets[ac]++; packets 3398 net/mac80211/tx.c sta->tx_stats.packets[skb_get_queue_mapping(skb)]++; packets 420 net/netfilter/ipset/ip_set_core.c ext->packets = be64_to_cpu(nla_get_be64( packets 488 net/netfilter/ipset/ip_set_core.c mext->packets, mext->packets_op) && packets 877 net/netfilter/nf_conntrack_core.c atomic64_inc(&counter[CTINFO2DIR(ctinfo)].packets); packets 245 net/netfilter/nf_conntrack_netlink.c pkts = atomic64_xchg(&counter[dir].packets, 0); packets 248 net/netfilter/nf_conntrack_netlink.c pkts = atomic64_read(&counter[dir].packets); packets 286 net/netfilter/nf_conntrack_standalone.c (unsigned long long)atomic64_read(&counter[dir].packets), packets 19 net/netfilter/nft_counter.c s64 packets; packets 42 net/netfilter/nft_counter.c this_cpu->packets++; packets 70 net/netfilter/nft_counter.c this_cpu->packets = packets 111 net/netfilter/nft_counter.c this_cpu->packets -= total->packets; packets 121 net/netfilter/nft_counter.c u64 bytes, packets; packets 132 net/netfilter/nft_counter.c packets = this_cpu->packets; packets 136 net/netfilter/nft_counter.c total->packets += packets; packets 150 net/netfilter/nft_counter.c nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets), packets 243 net/netfilter/nft_counter.c this_cpu->packets = total.packets; packets 52 net/netfilter/nft_ct.c atomic64_read(&c[d].packets); packets 101 net/netfilter/xt_RATEEST.c stats->packets++; packets 45 net/netfilter/xt_connbytes.c what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); packets 48 net/netfilter/xt_connbytes.c what = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); packets 51 net/netfilter/xt_connbytes.c what = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); packets 52 net/netfilter/xt_connbytes.c what += atomic64_read(&counters[IP_CT_DIR_REPLY].packets); packets 74 net/netfilter/xt_connbytes.c pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets); packets 78 net/netfilter/xt_connbytes.c pkts = atomic64_read(&counters[IP_CT_DIR_REPLY].packets); packets 83 net/netfilter/xt_connbytes.c pkts = atomic64_read(&counters[IP_CT_DIR_ORIGINAL].packets) + packets 84 net/netfilter/xt_connbytes.c atomic64_read(&counters[IP_CT_DIR_REPLY].packets); packets 45 net/netfilter/xt_set.c .ext.packets = p, \ packets 172 net/netfilter/xt_set.c info->packets.value, info->bytes.value, packets 173 net/netfilter/xt_set.c info->packets.op, info->bytes.op); packets 175 net/netfilter/xt_set.c if (info->packets.op != IPSET_COUNTER_NONE || packets 195 net/netfilter/xt_set.c info->packets.value, info->bytes.value, packets 196 net/netfilter/xt_set.c info->packets.op, info->bytes.op); packets 198 net/netfilter/xt_set.c if (info->packets.op != IPSET_COUNTER_NONE || packets 914 net/sched/act_ct.c static void tcf_stats_update(struct tc_action *a, u64 bytes, u32 packets, packets 919 net/sched/act_ct.c _bstats_cpu_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); packets 923 net/sched/act_ct.c bytes, packets); packets 36 net/sched/act_gact.c u32 pack = atomic_inc_return(&gact->packets); packets 173 net/sched/act_gact.c static void tcf_gact_stats_update(struct tc_action *a, u64 bytes, u32 packets, packets 181 net/sched/act_gact.c packets); packets 183 net/sched/act_gact.c this_cpu_ptr(gact->common.cpu_qstats)->drops += packets; packets 187 net/sched/act_gact.c bytes, packets); packets 315 net/sched/act_mirred.c static void tcf_stats_update(struct tc_action *a, u64 bytes, u32 packets, packets 321 net/sched/act_mirred.c _bstats_cpu_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); packets 324 net/sched/act_mirred.c bytes, packets); packets 291 net/sched/act_police.c u64 bytes, u32 packets, packets 297 net/sched/act_police.c _bstats_cpu_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); packets 300 net/sched/act_police.c bytes, packets); packets 39 net/sched/act_simple.c (char *)d->tcfd_defdata, d->tcf_bstats.packets); packets 304 net/sched/act_vlan.c static void tcf_vlan_stats_update(struct tc_action *a, u64 bytes, u32 packets, packets 310 net/sched/act_vlan.c _bstats_cpu_update(this_cpu_ptr(a->cpu_bstats), bytes, packets); packets 313 net/sched/act_vlan.c bytes, packets); packets 183 net/sched/sch_cake.c u32 packets; packets 1699 net/sched/sch_cake.c b->packets++; packets 1738 net/sched/sch_cake.c b->packets++; packets 2871 net/sched/sch_cake.c PUT_TSTAT_U32(SENT_PACKETS, b->packets); packets 568 net/sched/sch_cbq.c cl->bstats.packets++; packets 155 net/sched/sch_generic.c int *packets) packets 168 net/sched/sch_generic.c (*packets)++; /* GSO counts as one pkt */ packets 178 net/sched/sch_generic.c int *packets) packets 195 net/sched/sch_generic.c (*packets) += cnt; packets 203 net/sched/sch_generic.c int *packets) packets 208 net/sched/sch_generic.c *packets = 1; packets 267 net/sched/sch_generic.c try_bulk_dequeue_skb(q, skb, txq, packets); packets 269 net/sched/sch_generic.c try_bulk_dequeue_skb_slow(q, skb, packets); packets 272 net/sched/sch_generic.c trace_qdisc_dequeue(q, txq, *packets, skb); packets 357 net/sched/sch_generic.c static inline bool qdisc_restart(struct Qdisc *q, int *packets) packets 366 net/sched/sch_generic.c skb = dequeue_skb(q, &validate, packets); packets 382 net/sched/sch_generic.c int packets; packets 384 net/sched/sch_generic.c while (qdisc_restart(q, &packets)) { packets 390 net/sched/sch_generic.c quota -= packets; packets 378 net/sched/sch_gred.c table->tab[i]->packetsin += hw_stats->stats.bstats[i].packets; packets 384 net/sched/sch_gred.c hw_stats->stats.bstats[i].packets); packets 824 net/sched/sch_gred.c opt.packets = q->packetsin; packets 160 net/sched/sch_mq.c sch->bstats.packets += qdisc->bstats.packets; packets 418 net/sched/sch_mqprio.c sch->bstats.packets += qdisc->bstats.packets; packets 1239 net/sched/sch_qfq.c cl->bstats.packets += gso_segs; packets 417 net/sunrpc/svc_xprt.c atomic_long_inc(&pool->sp_stats.packets); packets 1410 net/sunrpc/svc_xprt.c (unsigned long)atomic_long_read(&pool->sp_stats.packets), packets 667 net/xfrm/xfrm_input.c x->curlft.packets++; packets 452 net/xfrm/xfrm_output.c x->curlft.packets++; packets 1711 net/xfrm/xfrm_state.c x->curlft.packets >= x->lft.hard_packet_limit) { packets 1719 net/xfrm/xfrm_state.c x->curlft.packets >= x->lft.soft_packet_limit)) { packets 545 net/xfrm/xfrm_user.c x->curlft.packets = ltime->packets; packets 60 samples/bpf/cookie_uid_helper_example.c uint64_t packets; packets 121 samples/bpf/cookie_uid_helper_example.c -32 + (__s16)offsetof(struct stats, packets), 1), packets 151 samples/bpf/cookie_uid_helper_example.c offsetof(struct stats, packets)), packets 203 samples/bpf/cookie_uid_helper_example.c curEntry.packets, curEntry.bytes); packets 261 samples/bpf/cookie_uid_helper_example.c dataEntry.packets, dataEntry.bytes); packets 188 samples/bpf/sockex2_kern.c long packets; packets 212 samples/bpf/sockex2_kern.c __sync_fetch_and_add(&value->packets, 1); packets 13 samples/bpf/sockex2_user.c __u64 packets; packets 51 samples/bpf/sockex2_user.c value.bytes, value.packets); packets 111 samples/bpf/sockex3_kern.c __u64 packets; packets 129 samples/bpf/sockex3_kern.c __sync_fetch_and_add(&value->packets, 1); packets 27 samples/bpf/sockex3_user.c __u64 packets; packets 79 samples/bpf/sockex3_user.c value.bytes, value.packets); packets 236 samples/bpf/xdp_monitor_user.c __u64 packets = 0; packets 240 samples/bpf/xdp_monitor_user.c packets = r->processed - p->processed; packets 241 samples/bpf/xdp_monitor_user.c pps = packets / period; packets 248 samples/bpf/xdp_monitor_user.c __u64 packets = 0; packets 252 samples/bpf/xdp_monitor_user.c packets = r->processed - p->processed; packets 253 samples/bpf/xdp_monitor_user.c pps = packets / period; packets 260 samples/bpf/xdp_monitor_user.c __u64 packets = 0; packets 264 samples/bpf/xdp_monitor_user.c packets = r->dropped - p->dropped; packets 265 samples/bpf/xdp_monitor_user.c pps = packets / period; packets 272 samples/bpf/xdp_monitor_user.c __u64 packets = 0; packets 276 samples/bpf/xdp_monitor_user.c packets = r->info - p->info; packets 277 samples/bpf/xdp_monitor_user.c pps = packets / period; packets 284 samples/bpf/xdp_monitor_user.c __u64 packets = 0; packets 288 samples/bpf/xdp_monitor_user.c packets = r->err - p->err; packets 289 samples/bpf/xdp_monitor_user.c pps = packets / period; packets 273 samples/bpf/xdp_redirect_cpu_user.c __u64 packets = 0; packets 277 samples/bpf/xdp_redirect_cpu_user.c packets = r->processed - p->processed; packets 278 samples/bpf/xdp_redirect_cpu_user.c pps = packets / period_; packets 285 samples/bpf/xdp_redirect_cpu_user.c __u64 packets = 0; packets 289 samples/bpf/xdp_redirect_cpu_user.c packets = r->dropped - p->dropped; packets 290 samples/bpf/xdp_redirect_cpu_user.c pps = packets / period_; packets 298 samples/bpf/xdp_redirect_cpu_user.c __u64 packets = 0; packets 302 samples/bpf/xdp_redirect_cpu_user.c packets = r->issue - p->issue; packets 303 samples/bpf/xdp_redirect_cpu_user.c pps = packets / period_; packets 318 samples/bpf/xdp_rxq_info_user.c __u64 packets = 0; packets 322 samples/bpf/xdp_rxq_info_user.c packets = r->processed - p->processed; packets 323 samples/bpf/xdp_rxq_info_user.c pps = packets / period_; packets 331 samples/bpf/xdp_rxq_info_user.c __u64 packets = 0; packets 335 samples/bpf/xdp_rxq_info_user.c packets = r->issue - p->issue; packets 336 samples/bpf/xdp_rxq_info_user.c pps = packets / period_; packets 350 sound/firewire/amdtp-am824.c unsigned int packets, packets 357 sound/firewire/amdtp-am824.c for (i = 0; i < packets; ++i) { packets 380 sound/firewire/amdtp-am824.c unsigned int packets, packets 387 sound/firewire/amdtp-am824.c for (i = 0; i < packets; ++i) { packets 448 sound/firewire/amdtp-stream.c s->buffer.packets[s->packet_index].offset); packets 684 sound/firewire/amdtp-stream.c unsigned int packets) packets 690 sound/firewire/amdtp-stream.c for (i = 0; i < packets; ++i) { packets 709 sound/firewire/amdtp-stream.c desc->ctx_payload = s->buffer.packets[index].buffer; packets 726 sound/firewire/amdtp-stream.c unsigned int packets) packets 731 sound/firewire/amdtp-stream.c for (i = 0; i < packets; ++i) { packets 747 sound/firewire/amdtp-stream.c desc->ctx_payload = s->buffer.packets[index].buffer; packets 765 sound/firewire/amdtp-stream.c unsigned int packets) packets 771 sound/firewire/amdtp-stream.c pcm_frames = s->process_ctx_payloads(s, descs, packets, pcm); packets 782 sound/firewire/amdtp-stream.c unsigned int packets = header_length / sizeof(*ctx_header); packets 788 sound/firewire/amdtp-stream.c generate_ideal_pkt_descs(s, s->pkt_descs, ctx_header, packets); packets 790 sound/firewire/amdtp-stream.c process_ctx_payloads(s, s->pkt_descs, packets); packets 792 sound/firewire/amdtp-stream.c for (i = 0; i < packets; ++i) { packets 823 sound/firewire/amdtp-stream.c unsigned int packets; packets 832 sound/firewire/amdtp-stream.c packets = header_length / s->ctx_data.tx.ctx_header_size; packets 834 sound/firewire/amdtp-stream.c err = generate_device_pkt_descs(s, s->pkt_descs, ctx_header, packets); packets 841 sound/firewire/amdtp-stream.c process_ctx_payloads(s, s->pkt_descs, packets); packets 844 sound/firewire/amdtp-stream.c for (i = 0; i < packets; ++i) { packets 109 sound/firewire/amdtp-stream.h unsigned int packets, packets 346 sound/firewire/digi00x/amdtp-dot.c unsigned int packets, packets 352 sound/firewire/digi00x/amdtp-dot.c for (i = 0; i < packets; ++i) { packets 370 sound/firewire/digi00x/amdtp-dot.c unsigned int packets, packets 376 sound/firewire/digi00x/amdtp-dot.c for (i = 0; i < packets; ++i) { packets 117 sound/firewire/fireface/amdtp-ff.c unsigned int packets, packets 123 sound/firewire/fireface/amdtp-ff.c for (i = 0; i < packets; ++i) { packets 141 sound/firewire/fireface/amdtp-ff.c unsigned int packets, packets 147 sound/firewire/fireface/amdtp-ff.c for (i = 0; i < packets; ++i) { packets 176 sound/firewire/isight.c payload = isight->buffer.packets[index].buffer; packets 198 sound/firewire/isight.c isight->buffer.packets[index].offset); packets 381 sound/firewire/isight.c isight->buffer.packets[i].offset); packets 315 sound/firewire/motu/amdtp-motu.c unsigned int packets) packets 319 sound/firewire/motu/amdtp-motu.c for (i = 0; i < packets; ++i) { packets 331 sound/firewire/motu/amdtp-motu.c unsigned int packets, packets 339 sound/firewire/motu/amdtp-motu.c for (i = 0; i < packets; ++i) { packets 356 sound/firewire/motu/amdtp-motu.c probe_tracepoints_events(s, descs, packets); packets 405 sound/firewire/motu/amdtp-motu.c unsigned int packets, packets 413 sound/firewire/motu/amdtp-motu.c for (i = 0; i < packets; ++i) { packets 436 sound/firewire/motu/amdtp-motu.c probe_tracepoints_events(s, descs, packets); packets 30 sound/firewire/packets-buffer.c b->packets = kmalloc_array(count, sizeof(*b->packets), GFP_KERNEL); packets 31 sound/firewire/packets-buffer.c if (!b->packets) { packets 53 sound/firewire/packets-buffer.c b->packets[i].buffer = p + offset_in_page; packets 54 sound/firewire/packets-buffer.c b->packets[i].offset = page_index * PAGE_SIZE + offset_in_page; packets 60 sound/firewire/packets-buffer.c kfree(b->packets); packets 75 sound/firewire/packets-buffer.c kfree(b->packets); packets 18 sound/firewire/packets-buffer.h } *packets; packets 181 sound/firewire/tascam/amdtp-tascam.c unsigned int packets, packets 187 sound/firewire/tascam/amdtp-tascam.c for (i = 0; i < packets; ++i) { packets 205 sound/firewire/tascam/amdtp-tascam.c unsigned int packets, packets 211 sound/firewire/tascam/amdtp-tascam.c for (i = 0; i < packets; ++i) { packets 164 sound/usb/6fire/pcm.c packet = &rt->in_urbs[i].packets[k]; packets 210 sound/usb/6fire/pcm.c if (urb->packets[i].actual_length > 4) packets 211 sound/usb/6fire/pcm.c frame_count = (urb->packets[i].actual_length - 4) packets 223 sound/usb/6fire/pcm.c total_length += urb->packets[i].length; packets 266 sound/usb/6fire/pcm.c if (urb->packets[i].length > 4) packets 267 sound/usb/6fire/pcm.c frame_count = (urb->packets[i].length - 4) packets 303 sound/usb/6fire/pcm.c if (in_urb->packets[i].status) { packets 330 sound/usb/6fire/pcm.c out_urb->packets[i].offset = total_length; packets 331 sound/usb/6fire/pcm.c out_urb->packets[i].length = (in_urb->packets[i].actual_length packets 334 sound/usb/6fire/pcm.c out_urb->packets[i].status = 0; packets 335 sound/usb/6fire/pcm.c total_length += out_urb->packets[i].length; packets 356 sound/usb/6fire/pcm.c if (out_urb->packets[i].length >= 4) { packets 357 sound/usb/6fire/pcm.c frame_count = (out_urb->packets[i].length - 4) packets 29 sound/usb/6fire/pcm.h struct usb_iso_packet_descriptor packets[PCM_N_PACKETS_PER_URB]; packets 49 sound/usb/card.h int packets; /* number of packets per urb */ packets 75 sound/usb/card.h int packets; packets 186 sound/usb/endpoint.c for (i = 0; i < ctx->packets; ++i) { packets 210 sound/usb/endpoint.c urb->number_of_packets = ctx->packets; packets 211 sound/usb/endpoint.c urb->transfer_buffer_length = offs * ep->stride + ctx->packets * extra; packets 277 sound/usb/endpoint.c for (i = 0; i < urb_ctx->packets; i++) { packets 284 sound/usb/endpoint.c urb->number_of_packets = urb_ctx->packets; packets 336 sound/usb/endpoint.c for (i = 0; i < packet->packets; i++) packets 765 sound/usb/endpoint.c u->packets = urb_packs; packets 766 sound/usb/endpoint.c u->buffer_size = maxsize * u->packets; packets 769 sound/usb/endpoint.c u->packets++; /* for transfer delimiter */ packets 770 sound/usb/endpoint.c u->urb = usb_alloc_urb(u->packets, GFP_KERNEL); packets 810 sound/usb/endpoint.c u->packets = 1; packets 1103 sound/usb/endpoint.c for (i = 0; i < in_ctx->packets; i++) packets 1127 sound/usb/endpoint.c out_packet->packets = in_ctx->packets; packets 1128 sound/usb/endpoint.c for (i = 0; i < in_ctx->packets; i++) { packets 1042 sound/usb/misc/ua101.c unsigned int remaining_packets, packets, packets_per_page, i; packets 1060 sound/usb/misc/ua101.c packets = min(remaining_packets, packets_per_page); packets 1061 sound/usb/misc/ua101.c size = packets * stream->max_packet_bytes; packets 1068 sound/usb/misc/ua101.c remaining_packets -= packets; packets 1575 sound/usb/pcm.c for (i = 0; i < ctx->packets; i++) { packets 1602 sound/usb/pcm.c if (i < ctx->packets) { packets 157 sound/usb/usx2y/usb_stream.c int packets, max_packsize; packets 175 sound/usb/usx2y/usb_stream.c packets = period_frames * usb_frames / sample_rate + 1; packets 178 sound/usb/usx2y/usb_stream.c packets = (packets + 7) & ~7; packets 180 sound/usb/usx2y/usb_stream.c read_size += packets * USB_STREAM_URBDEPTH * packets 184 sound/usb/usx2y/usb_stream.c write_size = max_packsize * packets * USB_STREAM_URBDEPTH; packets 203 sound/usb/usx2y/usb_stream.c sk->n_o_ps = packets; packets 204 sound/usb/usx2y/usb_stream.c sk->s->inpackets = packets * USB_STREAM_URBDEPTH; packets 35 tools/include/uapi/linux/pkt_sched.h __u32 packets; /* Number of enqueued packets */ packets 341 tools/include/uapi/linux/pkt_sched.h __u32 packets; packets 10 tools/testing/selftests/bpf/netcnt_common.h __u64 packets; packets 20 tools/testing/selftests/bpf/netcnt_common.h __u64 packets; packets 37 tools/testing/selftests/bpf/progs/netcnt_prog.c percpu_cnt->packets++; packets 40 tools/testing/selftests/bpf/progs/netcnt_prog.c if (percpu_cnt->packets > MAX_PERCPU_PACKETS) { packets 41 tools/testing/selftests/bpf/progs/netcnt_prog.c __sync_fetch_and_add(&cnt->packets, packets 42 tools/testing/selftests/bpf/progs/netcnt_prog.c percpu_cnt->packets); packets 43 tools/testing/selftests/bpf/progs/netcnt_prog.c percpu_cnt->packets = 0; packets 63 tools/testing/selftests/bpf/progs/netcnt_prog.c percpu_cnt->prev_packets = cnt->packets; packets 43 tools/testing/selftests/bpf/test_netcnt.c unsigned long packets; packets 125 tools/testing/selftests/bpf/test_netcnt.c packets = netcnt.packets; packets 128 tools/testing/selftests/bpf/test_netcnt.c if (percpu_netcnt[cpu].packets > MAX_PERCPU_PACKETS) { packets 130 tools/testing/selftests/bpf/test_netcnt.c percpu_netcnt[cpu].packets); packets 134 tools/testing/selftests/bpf/test_netcnt.c packets += percpu_netcnt[cpu].packets; packets 139 tools/testing/selftests/bpf/test_netcnt.c if (packets != 10000) { packets 140 tools/testing/selftests/bpf/test_netcnt.c printf("Unexpected packet count: %lu\n", packets); packets 147 tools/testing/selftests/bpf/test_netcnt.c if (bytes != packets * 104) { packets 95 tools/testing/selftests/net/msg_zerocopy.c static long packets, bytes, completions, expected_completions; packets 214 tools/testing/selftests/net/msg_zerocopy.c packets++; packets 567 tools/testing/selftests/net/msg_zerocopy.c packets, bytes >> 20, completions, packets 618 tools/testing/selftests/net/msg_zerocopy.c packets++; packets 648 tools/testing/selftests/net/msg_zerocopy.c packets++; packets 674 tools/testing/selftests/net/msg_zerocopy.c fprintf(stderr, "rx=%lu (%lu MB)\n", packets, bytes >> 20); packets 53 tools/testing/selftests/net/udpgso_bench_rx.c static unsigned long packets, bytes; packets 178 tools/testing/selftests/net/udpgso_bench_rx.c packets++; packets 277 tools/testing/selftests/net/udpgso_bench_rx.c packets++; packets 279 tools/testing/selftests/net/udpgso_bench_rx.c if (cfg_expected_pkt_nr && packets >= cfg_expected_pkt_nr) packets 373 tools/testing/selftests/net/udpgso_bench_rx.c if (packets) packets 377 tools/testing/selftests/net/udpgso_bench_rx.c bytes >> 20, packets); packets 378 tools/testing/selftests/net/udpgso_bench_rx.c bytes = packets = 0; packets 386 tools/testing/selftests/net/udpgso_bench_rx.c if (cfg_expected_pkt_nr && (packets != cfg_expected_pkt_nr)) packets 388 tools/testing/selftests/net/udpgso_bench_rx.c packets, cfg_expected_pkt_nr);