Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/include/linux/ !
Du64_stats_sync.h97 static inline void u64_stats_init(struct u64_stats_sync *syncp) { } in u64_stats_init() argument
98 static inline void __u64_stats_update_begin(struct u64_stats_sync *syncp) { } in __u64_stats_update_begin() argument
99 static inline void __u64_stats_update_end(struct u64_stats_sync *syncp) { } in __u64_stats_update_end() argument
102 static inline unsigned int __u64_stats_fetch_begin(const struct u64_stats_sync *syncp) in __u64_stats_fetch_begin() argument
106 static inline bool __u64_stats_fetch_retry(const struct u64_stats_sync *syncp, in __u64_stats_fetch_retry() argument
138 static inline void u64_stats_init(struct u64_stats_sync *syncp) in u64_stats_init() argument
140 seqcount_init(&syncp->seq); in u64_stats_init()
143 static inline void __u64_stats_update_begin(struct u64_stats_sync *syncp) in __u64_stats_update_begin() argument
146 write_seqcount_begin(&syncp->seq); in __u64_stats_update_begin()
149 static inline void __u64_stats_update_end(struct u64_stats_sync *syncp) in __u64_stats_update_end() argument
[all …]
Dif_macvlan.h48 u64_stats_update_begin(&pcpu_stats->syncp); in macvlan_count_rx()
53 u64_stats_update_end(&pcpu_stats->syncp); in macvlan_count_rx()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/ !
Daq_ring.c100 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
102 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
110 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
112 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
116 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
118 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
125 u64_stats_update_begin(&self->stats.rx.syncp); in aq_get_rxpages()
127 u64_stats_update_end(&self->stats.rx.syncp); in aq_get_rxpages()
238 u64_stats_init(&self->stats.rx.syncp); in aq_ring_init()
240 u64_stats_init(&self->stats.tx.syncp); in aq_ring_init()
[all …]
/linux-6.6.21/drivers/vdpa/vdpa_sim/ !
Dvdpa_sim_net.c41 struct u64_stats_sync syncp; member
50 struct u64_stats_sync syncp; member
189 u64_stats_update_begin(&net->cq_stats.syncp); in vdpasim_handle_cvq()
193 u64_stats_update_end(&net->cq_stats.syncp); in vdpasim_handle_cvq()
270 u64_stats_update_begin(&net->tx_stats.syncp); in vdpasim_net_work()
274 u64_stats_update_end(&net->tx_stats.syncp); in vdpasim_net_work()
276 u64_stats_update_begin(&net->rx_stats.syncp); in vdpasim_net_work()
282 u64_stats_update_end(&net->rx_stats.syncp); in vdpasim_net_work()
299 start = u64_stats_fetch_begin(&net->rx_stats.syncp); in vdpasim_net_get_stats()
305 } while (u64_stats_fetch_retry(&net->rx_stats.syncp, start)); in vdpasim_net_get_stats()
[all …]
/linux-6.6.21/net/core/ !
Dgen_stats.c122 u64_stats_init(&b->syncp); in gnet_stats_basic_sync_init()
138 start = u64_stats_fetch_begin(&bcpu->syncp); in gnet_stats_add_basic_cpu()
141 } while (u64_stats_fetch_retry(&bcpu->syncp, start)); in gnet_stats_add_basic_cpu()
165 start = u64_stats_fetch_begin(&b->syncp); in gnet_stats_add_basic()
168 } while (running && u64_stats_fetch_retry(&b->syncp, start)); in gnet_stats_add_basic()
190 start = u64_stats_fetch_begin(&bcpu->syncp); in gnet_stats_read_basic()
193 } while (u64_stats_fetch_retry(&bcpu->syncp, start)); in gnet_stats_read_basic()
204 start = u64_stats_fetch_begin(&b->syncp); in gnet_stats_read_basic()
207 } while (running && u64_stats_fetch_retry(&b->syncp, start)); in gnet_stats_read_basic()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/ !
Dhinic_tx.c81 u64_stats_update_begin(&txq_stats->syncp); in hinic_txq_clean_stats()
88 u64_stats_update_end(&txq_stats->syncp); in hinic_txq_clean_stats()
102 start = u64_stats_fetch_begin(&txq_stats->syncp); in hinic_txq_get_stats()
109 } while (u64_stats_fetch_retry(&txq_stats->syncp, start)); in hinic_txq_get_stats()
120 u64_stats_init(&txq_stats->syncp); in txq_stats_init()
524 u64_stats_update_begin(&txq->txq_stats.syncp); in hinic_lb_xmit_frame()
526 u64_stats_update_end(&txq->txq_stats.syncp); in hinic_lb_xmit_frame()
545 u64_stats_update_begin(&txq->txq_stats.syncp); in hinic_lb_xmit_frame()
547 u64_stats_update_end(&txq->txq_stats.syncp); in hinic_lb_xmit_frame()
577 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(&rxq_stats->syncp); in hinic_rxq_get_stats()
84 } while (u64_stats_fetch_retry(&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()
/linux-6.6.21/net/mpls/ !
Dinternal.h20 struct u64_stats_sync syncp; member
39 u64_stats_update_begin(&ptr->syncp); \
42 u64_stats_update_end(&ptr->syncp); \
51 u64_stats_update_begin(&ptr->syncp); \
53 u64_stats_update_end(&ptr->syncp); \
/linux-6.6.21/drivers/net/ethernet/fungible/funeth/ !
Dfuneth_txrx.h128 struct u64_stats_sync syncp; member
197 struct u64_stats_sync syncp; member
203 u64_stats_update_begin(&(q)->syncp); \
205 u64_stats_update_end(&(q)->syncp); \
210 seq = u64_stats_fetch_begin(&(q)->syncp); \
212 } while (u64_stats_fetch_retry(&(q)->syncp, (seq)))
Dfuneth_tx.c256 u64_stats_update_begin(&q->syncp); in write_pkt_desc()
258 u64_stats_update_end(&q->syncp); in write_pkt_desc()
290 u64_stats_update_begin(&q->syncp); in write_pkt_desc()
293 u64_stats_update_end(&q->syncp); in write_pkt_desc()
296 u64_stats_update_begin(&q->syncp); in write_pkt_desc()
299 u64_stats_update_end(&q->syncp); in write_pkt_desc()
560 u64_stats_update_begin(&q->syncp); in fun_xdp_tx()
563 u64_stats_update_end(&q->syncp); in fun_xdp_tx()
653 u64_stats_init(&q->syncp); in fun_txq_create_sw()
/linux-6.6.21/include/net/ !
Dsnmp.h54 struct u64_stats_sync syncp; member
163 u64_stats_update_begin(&ptr->syncp); \
165 u64_stats_update_end(&ptr->syncp); \
181 u64_stats_update_begin(&ptr->syncp); \
184 u64_stats_update_end(&ptr->syncp); \
/linux-6.6.21/drivers/net/hyperv/ !
Dnetvsc_bpf.c77 u64_stats_update_begin(&rx_stats->syncp); in netvsc_run_xdp()
83 u64_stats_update_end(&rx_stats->syncp); in netvsc_run_xdp()
87 u64_stats_update_begin(&rx_stats->syncp); in netvsc_run_xdp()
89 u64_stats_update_end(&rx_stats->syncp); in netvsc_run_xdp()
287 u64_stats_update_begin(&tx_stats->syncp); in netvsc_ndoxdp_xmit()
289 u64_stats_update_end(&tx_stats->syncp); in netvsc_ndoxdp_xmit()
Dnetvsc_drv.c464 u64_stats_update_begin(&pcpu_stats->syncp); in netvsc_vf_xmit()
467 u64_stats_update_end(&pcpu_stats->syncp); in netvsc_vf_xmit()
895 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback()
897 u64_stats_update_end(&rx_stats->syncp); in netvsc_recv_callback()
917 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback()
928 u64_stats_update_end(&rx_stats->syncp); in netvsc_recv_callback()
1271 start = u64_stats_fetch_begin(&stats->syncp); in netvsc_get_vf_stats()
1276 } while (u64_stats_fetch_retry(&stats->syncp, start)); in netvsc_get_vf_stats()
1301 start = u64_stats_fetch_begin(&stats->syncp); in netvsc_get_pcpu_stats()
1306 } while (u64_stats_fetch_retry(&stats->syncp, start)); in netvsc_get_pcpu_stats()
[all …]
/linux-6.6.21/drivers/net/ethernet/microsoft/mana/ !
Dmana_bpf.c73 u64_stats_update_begin(&tx_stats->syncp); in mana_xdp_xmit()
75 u64_stats_update_end(&tx_stats->syncp); in mana_xdp_xmit()
111 u64_stats_update_begin(&rx_stats->syncp); in mana_run_xdp()
115 u64_stats_update_end(&rx_stats->syncp); in mana_run_xdp()
Dmana_ethtool.c140 start = u64_stats_fetch_begin(&rx_stats->syncp); in mana_get_ethtool_stats()
146 } while (u64_stats_fetch_retry(&rx_stats->syncp, start)); in mana_get_ethtool_stats()
159 start = u64_stats_fetch_begin(&tx_stats->syncp); in mana_get_ethtool_stats()
171 } while (u64_stats_fetch_retry(&tx_stats->syncp, start)); in mana_get_ethtool_stats()
/linux-6.6.21/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_len()
42 u64_stats_update_end(&pcpu_ptr->syncp); in rmnet_vnd_tx_fixup_len()
143 start = u64_stats_fetch_begin(&pcpu_ptr->syncp); in rmnet_get_stats64()
145 } while (u64_stats_fetch_retry(&pcpu_ptr->syncp, start)); in rmnet_get_stats64()
/linux-6.6.21/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()
175 u64_stats_update_begin(&ring->syncp); in ena_xmit_common()
178 u64_stats_update_end(&ring->syncp); in ena_xmit_common()
228 u64_stats_update_begin(&xdp_ring->syncp); in ena_xdp_io_poll()
231 u64_stats_update_end(&xdp_ring->syncp); in ena_xdp_io_poll()
[all …]
/linux-6.6.21/drivers/net/team/ !
Dteam_mode_loadbalance.c43 struct u64_stats_sync syncp; member
211 u64_stats_update_begin(&pcpu_stats->syncp); in lb_update_tx_stats()
214 u64_stats_update_end(&pcpu_stats->syncp); in lb_update_tx_stats()
450 struct u64_stats_sync *syncp) in __lb_one_cpu_stats_add() argument
456 start = u64_stats_fetch_begin(syncp); in __lb_one_cpu_stats_add()
458 } while (u64_stats_fetch_retry(syncp, start)); in __lb_one_cpu_stats_add()
493 &pcpu_stats->syncp); in lb_stats_refresh()
507 &pcpu_stats->syncp); in lb_stats_refresh()
614 u64_stats_init(&team_lb_stats->syncp); in lb_init()
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/ !
Ddwmac_lib.c217 u64_stats_update_begin(&stats->syncp); in dwmac_dma_interrupt()
219 u64_stats_update_end(&stats->syncp); in dwmac_dma_interrupt()
224 u64_stats_update_begin(&stats->syncp); in dwmac_dma_interrupt()
226 u64_stats_update_end(&stats->syncp); in dwmac_dma_interrupt()
Ddwmac4_lib.c203 u64_stats_update_begin(&stats->syncp); in dwmac4_dma_interrupt()
205 u64_stats_update_end(&stats->syncp); in dwmac4_dma_interrupt()
209 u64_stats_update_begin(&stats->syncp); in dwmac4_dma_interrupt()
211 u64_stats_update_end(&stats->syncp); in dwmac4_dma_interrupt()
/linux-6.6.21/drivers/net/ethernet/alacritech/ !
Dslic.h286 u64_stats_update_begin(&(st)->syncp); \
288 u64_stats_update_end(&(st)->syncp); \
295 start = u64_stats_fetch_begin(&(st)->syncp); \
297 } while (u64_stats_fetch_retry(&(st)->syncp, start)); \
438 struct u64_stats_sync syncp; member
/linux-6.6.21/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(&repr_stats->syncp); in nfp_repr_get_host_stats64()
143 } while (u64_stats_fetch_retry(&repr_stats->syncp, start)); in nfp_repr_get_host_stats64()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ !
Di40e_txrx_common.h48 u64_stats_update_begin(&tx_ring->syncp); in i40e_update_tx_stats()
51 u64_stats_update_end(&tx_ring->syncp); in i40e_update_tx_stats()
/linux-6.6.21/drivers/net/ !
Dmacsec.c84 struct u64_stats_sync syncp; member
506 u64_stats_update_begin(&txsc_stats->syncp); in macsec_count_tx()
516 u64_stats_update_end(&txsc_stats->syncp); in macsec_count_tx()
649 u64_stats_update_begin(&secy_stats->syncp); in macsec_encrypt()
651 u64_stats_update_end(&secy_stats->syncp); in macsec_encrypt()
737 u64_stats_update_begin(&rxsc_stats->syncp); in macsec_post_decrypt()
739 u64_stats_update_end(&rxsc_stats->syncp); in macsec_post_decrypt()
746 u64_stats_update_begin(&rxsc_stats->syncp); in macsec_post_decrypt()
751 u64_stats_update_end(&rxsc_stats->syncp); in macsec_post_decrypt()
760 u64_stats_update_begin(&rxsc_stats->syncp); in macsec_post_decrypt()
[all …]
/linux-6.6.21/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(&ns->syncp); in nsim_get_stats64()
73 } while (u64_stats_fetch_retry(&ns->syncp, start)); in nsim_get_stats64()
393 u64_stats_init(&ns->syncp); in nsim_create()

1234567