Home
last modified time | relevance | path

Searched refs:stats_prev (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/samples/bpf/
Dxdp_sample_user.c649 struct stats_record *stats_prev, in stats_get_rx_cnt() argument
657 prev = &stats_prev->rx_cnt; in stats_get_rx_cnt()
692 struct stats_record *stats_prev, in stats_get_cpumap_enqueue() argument
702 prev = &stats_prev->enq[to_cpu]; in stats_get_cpumap_enqueue()
746 struct stats_record *stats_prev, in stats_get_cpumap_remote() argument
755 prev = &stats_prev->kthread; in stats_get_cpumap_remote()
785 struct stats_record *stats_prev, in stats_get_cpumap_kthread() argument
793 prev = &stats_prev->kthread; in stats_get_cpumap_kthread()
823 struct stats_record *stats_prev, in stats_get_redirect_cnt() argument
832 prev = &stats_prev->redir_err[0]; in stats_get_redirect_cnt()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_main.c6558 struct rtnl_link_stats64 *net_stats, *stats_prev; in ice_update_vsi_ring_stats() local
6603 stats_prev = &vsi->net_stats_prev; in ice_update_vsi_ring_stats()
6606 if (vsi_stats->tx_packets < stats_prev->tx_packets || in ice_update_vsi_ring_stats()
6607 vsi_stats->rx_packets < stats_prev->rx_packets) { in ice_update_vsi_ring_stats()
6608 stats_prev->tx_packets = 0; in ice_update_vsi_ring_stats()
6609 stats_prev->tx_bytes = 0; in ice_update_vsi_ring_stats()
6610 stats_prev->rx_packets = 0; in ice_update_vsi_ring_stats()
6611 stats_prev->rx_bytes = 0; in ice_update_vsi_ring_stats()
6615 net_stats->tx_packets += vsi_stats->tx_packets - stats_prev->tx_packets; in ice_update_vsi_ring_stats()
6616 net_stats->tx_bytes += vsi_stats->tx_bytes - stats_prev->tx_bytes; in ice_update_vsi_ring_stats()
[all …]
Dice.h608 struct ice_hw_port_stats stats_prev; member
Dice_dcb_lib.c884 prev_ps = &pf->stats_prev; in ice_update_dcb_stats()