Home
last modified time | relevance | path

Searched refs:syncp (Results 1 – 25 of 88) sorted by relevance

1234

/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.c73 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
75 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
82 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
84 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
88 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
90 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
98 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
100 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
228 u64_stats_init(&self->stats.rx.syncp); in aq_ring_init()
230 u64_stats_init(&self->stats.tx.syncp); in aq_ring_init()
[all …]
Daq_ring.h92 struct u64_stats_sync syncp; /* must be first */ member
107 struct u64_stats_sync syncp; /* must be first */ member
/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c80 u64_stats_update_begin(&txq_stats->syncp); in hinic_txq_clean_stats()
87 u64_stats_update_end(&txq_stats->syncp); in hinic_txq_clean_stats()
101 start = u64_stats_fetch_begin_irq(&txq_stats->syncp); in hinic_txq_get_stats()
108 } while (u64_stats_fetch_retry_irq(&txq_stats->syncp, start)); in hinic_txq_get_stats()
119 u64_stats_init(&txq_stats->syncp); in txq_stats_init()
523 u64_stats_update_begin(&txq->txq_stats.syncp); in hinic_lb_xmit_frame()
525 u64_stats_update_end(&txq->txq_stats.syncp); in hinic_lb_xmit_frame()
544 u64_stats_update_begin(&txq->txq_stats.syncp); in hinic_lb_xmit_frame()
546 u64_stats_update_end(&txq->txq_stats.syncp); in hinic_lb_xmit_frame()
576 u64_stats_update_begin(&txq->txq_stats.syncp); in hinic_xmit_frame()
[all …]
Dhinic_rx.c57 u64_stats_update_begin(&rxq_stats->syncp); in hinic_rxq_clean_stats()
63 u64_stats_update_end(&rxq_stats->syncp); in hinic_rxq_clean_stats()
77 start = u64_stats_fetch_begin_irq(&rxq_stats->syncp); in hinic_rxq_get_stats()
84 } while (u64_stats_fetch_retry_irq(&rxq_stats->syncp, start)); in hinic_rxq_get_stats()
95 u64_stats_init(&rxq_stats->syncp); in rxq_stats_init()
449 u64_stats_update_begin(&rxq->rxq_stats.syncp); in rxq_recv()
452 u64_stats_update_end(&rxq->rxq_stats.syncp); in rxq_recv()
Dhinic_rx.h28 struct u64_stats_sync syncp; member
/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c26 u64_stats_update_begin(&pcpu_ptr->syncp); in rmnet_vnd_rx_fixup()
29 u64_stats_update_end(&pcpu_ptr->syncp); in rmnet_vnd_rx_fixup()
39 u64_stats_update_begin(&pcpu_ptr->syncp); in rmnet_vnd_tx_fixup()
42 u64_stats_update_end(&pcpu_ptr->syncp); in rmnet_vnd_tx_fixup()
138 start = u64_stats_fetch_begin_irq(&pcpu_ptr->syncp); in rmnet_get_stats64()
140 } while (u64_stats_fetch_retry_irq(&pcpu_ptr->syncp, start)); in rmnet_get_stats64()
/drivers/net/ethernet/amazon/ena/
Dena_netdev.c82 struct u64_stats_sync *syncp) in ena_increase_stat() argument
84 u64_stats_update_begin(syncp); in ena_increase_stat()
86 u64_stats_update_end(syncp); in ena_increase_stat()
92 ena_increase_stat(&tx_ring->tx_stats.doorbells, 1, &tx_ring->syncp); in ena_ring_tx_doorbell()
107 ena_increase_stat(&adapter->dev_stats.tx_timeout, 1, &adapter->syncp); in ena_tx_timeout()
168 &ring->syncp); in ena_xmit_common()
177 u64_stats_update_begin(&ring->syncp); in ena_xmit_common()
180 u64_stats_update_end(&ring->syncp); in ena_xmit_common()
230 u64_stats_update_begin(&xdp_ring->syncp); in ena_xdp_io_poll()
233 u64_stats_update_end(&xdp_ring->syncp); in ena_xdp_io_poll()
[all …]
Dena_ethtool.c117 struct u64_stats_sync *syncp) in ena_safe_update_stat() argument
122 start = u64_stats_fetch_begin_irq(syncp); in ena_safe_update_stat()
124 } while (u64_stats_fetch_retry_irq(syncp, start)); in ena_safe_update_stat()
144 ena_safe_update_stat(ptr, (*data)++, &ring->syncp); in ena_queue_stats()
157 ena_safe_update_stat(ptr, (*data)++, &ring->syncp); in ena_queue_stats()
192 ena_safe_update_stat(ptr, data++, &adapter->syncp); in ena_get_stats()
203 ena_safe_update_stat(ptr, data++, &adapter->syncp); in ena_get_stats()
/drivers/net/team/
Dteam_mode_loadbalance.c45 struct u64_stats_sync syncp; member
216 u64_stats_update_begin(&pcpu_stats->syncp); in lb_update_tx_stats()
219 u64_stats_update_end(&pcpu_stats->syncp); in lb_update_tx_stats()
463 struct u64_stats_sync *syncp) in __lb_one_cpu_stats_add() argument
469 start = u64_stats_fetch_begin_irq(syncp); in __lb_one_cpu_stats_add()
471 } while (u64_stats_fetch_retry_irq(syncp, start)); in __lb_one_cpu_stats_add()
506 &pcpu_stats->syncp); in lb_stats_refresh()
520 &pcpu_stats->syncp); in lb_stats_refresh()
628 u64_stats_init(&team_lb_stats->syncp); in lb_init()
/drivers/net/
Dmacsec.c95 struct u64_stats_sync syncp; member
524 u64_stats_update_begin(&txsc_stats->syncp); in macsec_count_tx()
534 u64_stats_update_end(&txsc_stats->syncp); in macsec_count_tx()
542 u64_stats_update_begin(&stats->syncp); in count_tx()
545 u64_stats_update_end(&stats->syncp); in count_tx()
673 u64_stats_update_begin(&secy_stats->syncp); in macsec_encrypt()
675 u64_stats_update_end(&secy_stats->syncp); in macsec_encrypt()
761 u64_stats_update_begin(&rxsc_stats->syncp); in macsec_post_decrypt()
763 u64_stats_update_end(&rxsc_stats->syncp); in macsec_post_decrypt()
770 u64_stats_update_begin(&rxsc_stats->syncp); in macsec_post_decrypt()
[all …]
Dveth.c55 struct u64_stats_sync syncp; member
192 start = u64_stats_fetch_begin_irq(&rq_stats->syncp); in veth_get_ethtool_stats()
197 } while (u64_stats_fetch_retry_irq(&rq_stats->syncp, start)); in veth_get_ethtool_stats()
213 start = u64_stats_fetch_begin_irq(&rq_stats->syncp); in veth_get_ethtool_stats()
218 } while (u64_stats_fetch_retry_irq(&rq_stats->syncp, start)); in veth_get_ethtool_stats()
391 start = u64_stats_fetch_begin_irq(&stats->syncp); in veth_stats_rx()
397 } while (u64_stats_fetch_retry_irq(&stats->syncp, start)); in veth_stats_rx()
518 u64_stats_update_begin(&rq->stats.syncp); in veth_xdp_xmit()
521 u64_stats_update_end(&rq->stats.syncp); in veth_xdp_xmit()
561 u64_stats_update_begin(&rq->stats.syncp); in veth_xdp_flush_bq()
[all …]
Dvirtio_net.c77 struct u64_stats_sync syncp; member
86 struct u64_stats_sync syncp; member
644 u64_stats_update_begin(&sq->stats.syncp); in virtnet_xdp_xmit()
650 u64_stats_update_end(&sq->stats.syncp); in virtnet_xdp_xmit()
1383 flags = u64_stats_update_begin_irqsave(&rq->stats.syncp); in try_fill_recv()
1385 u64_stats_update_end_irqrestore(&rq->stats.syncp, flags); in try_fill_recv()
1492 u64_stats_update_begin(&rq->stats.syncp); in virtnet_receive()
1500 u64_stats_update_end(&rq->stats.syncp); in virtnet_receive()
1535 u64_stats_update_begin(&sq->stats.syncp); in free_old_xmit_skbs()
1538 u64_stats_update_end(&sq->stats.syncp); in free_old_xmit_skbs()
[all …]
Dloopback.c108 start = u64_stats_fetch_begin_irq(&lb_stats->syncp); in dev_lstats_read()
111 } while (u64_stats_fetch_retry_irq(&lb_stats->syncp, start)); in dev_lstats_read()
/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c80 start = u64_stats_fetch_begin_irq(&stats->syncp); in mana_get_ethtool_stats()
83 } while (u64_stats_fetch_retry_irq(&stats->syncp, start)); in mana_get_ethtool_stats()
93 start = u64_stats_fetch_begin_irq(&stats->syncp); in mana_get_ethtool_stats()
96 } while (u64_stats_fetch_retry_irq(&stats->syncp, start)); in mana_get_ethtool_stats()
/drivers/net/ethernet/alacritech/
Dslic.h288 u64_stats_update_begin(&(st)->syncp); \
290 u64_stats_update_end(&(st)->syncp); \
297 start = u64_stats_fetch_begin_irq(&(st)->syncp); \
299 } while (u64_stats_fetch_retry_irq(&(st)->syncp, start)); \
440 struct u64_stats_sync syncp; member
/drivers/net/hyperv/
Dnetvsc_drv.c510 u64_stats_update_begin(&pcpu_stats->syncp); in netvsc_vf_xmit()
513 u64_stats_update_end(&pcpu_stats->syncp); in netvsc_vf_xmit()
937 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback()
939 u64_stats_update_end(&rx_stats->syncp); in netvsc_recv_callback()
959 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback()
967 u64_stats_update_end(&rx_stats->syncp); in netvsc_recv_callback()
1310 start = u64_stats_fetch_begin_irq(&stats->syncp); in netvsc_get_vf_stats()
1315 } while (u64_stats_fetch_retry_irq(&stats->syncp, start)); in netvsc_get_vf_stats()
1340 start = u64_stats_fetch_begin_irq(&stats->syncp); in netvsc_get_pcpu_stats()
1345 } while (u64_stats_fetch_retry_irq(&stats->syncp, start)); in netvsc_get_pcpu_stats()
[all …]
/drivers/net/netdevsim/
Dnetdev.c36 u64_stats_update_begin(&ns->syncp); in nsim_start_xmit()
39 u64_stats_update_end(&ns->syncp); in nsim_start_xmit()
70 start = u64_stats_fetch_begin_irq(&ns->syncp); in nsim_get_stats64()
73 } while (u64_stats_fetch_retry_irq(&ns->syncp, start)); in nsim_get_stats64()
358 u64_stats_init(&ns->syncp); in nsim_create()
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c40 u64_stats_update_begin(&stats->syncp); in nfp_repr_inc_tx_stats()
43 u64_stats_update_end(&stats->syncp); in nfp_repr_inc_tx_stats()
52 u64_stats_update_begin(&stats->syncp); in nfp_repr_inc_rx_stats()
55 u64_stats_update_end(&stats->syncp); in nfp_repr_inc_rx_stats()
137 start = u64_stats_fetch_begin_irq(&repr_stats->syncp); in nfp_repr_get_host_stats64()
143 } while (u64_stats_fetch_retry_irq(&repr_stats->syncp, start)); in nfp_repr_get_host_stats64()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx_common.h47 u64_stats_update_begin(&tx_ring->syncp); in i40e_update_tx_stats()
50 u64_stats_update_end(&tx_ring->syncp); in i40e_update_tx_stats()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c351 u64_stats_update_begin(&rx_ring->syncp); in ixgbe_clean_rx_irq_zc()
354 u64_stats_update_end(&rx_ring->syncp); in ixgbe_clean_rx_irq_zc()
492 u64_stats_update_begin(&tx_ring->syncp); in ixgbe_clean_xdp_tx_irq()
495 u64_stats_update_end(&tx_ring->syncp); in ixgbe_clean_xdp_tx_irq()
/drivers/net/phy/
Dmdio_bus.c166 u64_stats_init(&bus->stats[i].syncp); in mdiobus_alloc_size()
202 start = u64_stats_fetch_begin(&s->syncp); in mdio_bus_get_stat()
204 } while (u64_stats_fetch_retry(&s->syncp, start)); in mdio_bus_get_stat()
727 u64_stats_update_begin(&stats->syncp); in mdiobus_stats_acct()
740 u64_stats_update_end(&stats->syncp); in mdiobus_stats_acct()
/drivers/net/ethernet/socionext/
Dsni_ave.c240 struct u64_stats_sync syncp; member
728 u64_stats_update_begin(&priv->stats_tx.syncp); in ave_tx_complete()
731 u64_stats_update_end(&priv->stats_tx.syncp); in ave_tx_complete()
799 u64_stats_update_begin(&priv->stats_rx.syncp); in ave_rx_receive()
802 u64_stats_update_end(&priv->stats_rx.syncp); in ave_rx_receive()
1511 start = u64_stats_fetch_begin_irq(&priv->stats_rx.syncp); in ave_get_stats64()
1514 } while (u64_stats_fetch_retry_irq(&priv->stats_rx.syncp, start)); in ave_get_stats64()
1517 start = u64_stats_fetch_begin_irq(&priv->stats_tx.syncp); in ave_get_stats64()
1520 } while (u64_stats_fetch_retry_irq(&priv->stats_tx.syncp, start)); in ave_get_stats64()
1638 u64_stats_init(&priv->stats_tx.syncp); in ave_probe()
[all …]
/drivers/net/dsa/xrs700x/
Dxrs700x.c141 flags = u64_stats_update_begin_irqsave(&p->syncp); in xrs700x_read_port_counters()
143 u64_stats_update_end_irqrestore(&p->syncp, flags); in xrs700x_read_port_counters()
181 start = u64_stats_fetch_begin(&p->syncp); in xrs700x_get_stats64()
183 } while (u64_stats_fetch_retry(&p->syncp, start)); in xrs700x_get_stats64()
787 u64_stats_init(&p->syncp); in xrs700x_alloc_port_mib()
/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c461 start = u64_stats_fetch_begin_irq(&ring->syncp); in ixgbevf_get_ethtool_stats()
464 } while (u64_stats_fetch_retry_irq(&ring->syncp, start)); in ixgbevf_get_ethtool_stats()
478 start = u64_stats_fetch_begin_irq(&ring->syncp); in ixgbevf_get_ethtool_stats()
481 } while (u64_stats_fetch_retry_irq(&ring->syncp, start)); in ixgbevf_get_ethtool_stats()
495 start = u64_stats_fetch_begin_irq(&ring->syncp); in ixgbevf_get_ethtool_stats()
498 } while (u64_stats_fetch_retry_irq(&ring->syncp, start)); in ixgbevf_get_ethtool_stats()
/drivers/net/ethernet/marvell/
Dmvneta.c440 struct u64_stats_sync syncp; member
785 start = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in mvneta_get_stats64()
792 } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, start)); in mvneta_get_stats64()
1783 u64_stats_update_begin(&stats->syncp); in mvneta_rx_error()
1785 u64_stats_update_end(&stats->syncp); in mvneta_rx_error()
1992 u64_stats_update_begin(&stats->syncp); in mvneta_update_stats()
1999 u64_stats_update_end(&stats->syncp); in mvneta_update_stats()
2019 u64_stats_update_begin(&stats->syncp); in mvneta_rx_refill_queue()
2021 u64_stats_update_end(&stats->syncp); in mvneta_rx_refill_queue()
2113 u64_stats_update_begin(&stats->syncp); in mvneta_xdp_xmit_back()
[all …]

1234