Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/include/linux/
Du64_stats_sync.h119 #define u64_stats_init(syncp) seqcount_init(&(syncp)->seq) argument
121 static inline void u64_stats_init(struct u64_stats_sync *syncp) in u64_stats_init() argument
126 static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) in u64_stats_update_begin() argument
129 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin()
133 static inline void u64_stats_update_end(struct u64_stats_sync *syncp) in u64_stats_update_end() argument
136 write_seqcount_end(&syncp->seq); in u64_stats_update_end()
141 u64_stats_update_begin_irqsave(struct u64_stats_sync *syncp) in u64_stats_update_begin_irqsave() argument
147 write_seqcount_begin(&syncp->seq); in u64_stats_update_begin_irqsave()
153 u64_stats_update_end_irqrestore(struct u64_stats_sync *syncp, in u64_stats_update_end_irqrestore() argument
157 write_seqcount_end(&syncp->seq); in u64_stats_update_end_irqrestore()
[all …]
Dif_macvlan.h46 u64_stats_update_begin(&pcpu_stats->syncp); in macvlan_count_rx()
51 u64_stats_update_end(&pcpu_stats->syncp); in macvlan_count_rx()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c93 u64_stats_update_begin(&adapter->syncp); in ena_tx_timeout()
95 u64_stats_update_end(&adapter->syncp); in ena_tx_timeout()
155 u64_stats_update_begin(&ring->syncp); in ena_xmit_common()
157 u64_stats_update_end(&ring->syncp); in ena_xmit_common()
166 u64_stats_update_begin(&ring->syncp); in ena_xmit_common()
169 u64_stats_update_end(&ring->syncp); in ena_xmit_common()
220 u64_stats_update_begin(&xdp_ring->syncp); in ena_xdp_io_poll()
223 u64_stats_update_end(&xdp_ring->syncp); in ena_xdp_io_poll()
265 u64_stats_update_begin(&xdp_ring->syncp); in ena_xdp_tx_map_buff()
267 u64_stats_update_end(&xdp_ring->syncp); in ena_xdp_tx_map_buff()
[all …]
Dena_ethtool.c115 struct u64_stats_sync *syncp) in ena_safe_update_stat() argument
120 start = u64_stats_fetch_begin_irq(syncp); in ena_safe_update_stat()
122 } while (u64_stats_fetch_retry_irq(syncp, start)); in ena_safe_update_stat()
142 ena_safe_update_stat(ptr, (*data)++, &ring->syncp); in ena_queue_stats()
155 ena_safe_update_stat(ptr, (*data)++, &ring->syncp); in ena_queue_stats()
190 ena_safe_update_stat(ptr, data++, &adapter->syncp); in ena_get_stats()
201 ena_safe_update_stat(ptr, data++, &adapter->syncp); in ena_get_stats()
/kernel/linux/linux-5.10/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()
100 u64_stats_update_begin(&stats->syncp); in hinic_txq_get_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()
110 u64_stats_update_end(&stats->syncp); in hinic_txq_get_stats()
121 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()
[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()
76 u64_stats_update_begin(&stats->syncp); in hinic_rxq_get_stats()
78 start = u64_stats_fetch_begin(&rxq_stats->syncp); in hinic_rxq_get_stats()
85 } while (u64_stats_fetch_retry(&rxq_stats->syncp, start)); in hinic_rxq_get_stats()
86 u64_stats_update_end(&stats->syncp); in hinic_rxq_get_stats()
97 u64_stats_init(&rxq_stats->syncp); in rxq_stats_init()
454 u64_stats_update_begin(&rxq->rxq_stats.syncp); in rxq_recv()
457 u64_stats_update_end(&rxq->rxq_stats.syncp); in rxq_recv()
/kernel/linux/linux-5.10/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); \
/kernel/linux/linux-5.10/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); \
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dipoib.h137 u64_stats_update_begin(&netstats->syncp); in hfi1_ipoib_update_rx_netstats()
140 u64_stats_update_end(&netstats->syncp); in hfi1_ipoib_update_rx_netstats()
150 u64_stats_update_begin(&netstats->syncp); in hfi1_ipoib_update_tx_netstats()
153 u64_stats_update_end(&netstats->syncp); in hfi1_ipoib_update_tx_netstats()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c25 u64_stats_update_begin(&pcpu_ptr->syncp); in rmnet_vnd_rx_fixup()
28 u64_stats_update_end(&pcpu_ptr->syncp); in rmnet_vnd_rx_fixup()
38 u64_stats_update_begin(&pcpu_ptr->syncp); in rmnet_vnd_tx_fixup()
41 u64_stats_update_end(&pcpu_ptr->syncp); in rmnet_vnd_tx_fixup()
137 start = u64_stats_fetch_begin_irq(&pcpu_ptr->syncp); in rmnet_get_stats64()
139 } while (u64_stats_fetch_retry_irq(&pcpu_ptr->syncp, start)); in rmnet_get_stats64()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_est.c69 start = u64_stats_fetch_begin(&s->syncp); in ip_vs_read_cpu_stats()
75 } while (u64_stats_fetch_retry(&s->syncp, start)); in ip_vs_read_cpu_stats()
84 start = u64_stats_fetch_begin(&s->syncp); in ip_vs_read_cpu_stats()
90 } while (u64_stats_fetch_retry(&s->syncp, start)); in ip_vs_read_cpu_stats()
Dip_vs_core.c146 u64_stats_update_begin(&s->syncp); in ip_vs_in_stats()
149 u64_stats_update_end(&s->syncp); in ip_vs_in_stats()
153 u64_stats_update_begin(&s->syncp); in ip_vs_in_stats()
156 u64_stats_update_end(&s->syncp); in ip_vs_in_stats()
159 u64_stats_update_begin(&s->syncp); in ip_vs_in_stats()
162 u64_stats_update_end(&s->syncp); in ip_vs_in_stats()
182 u64_stats_update_begin(&s->syncp); in ip_vs_out_stats()
185 u64_stats_update_end(&s->syncp); in ip_vs_out_stats()
189 u64_stats_update_begin(&s->syncp); in ip_vs_out_stats()
192 u64_stats_update_end(&s->syncp); in ip_vs_out_stats()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1026 u64_stats_update_begin(&ring->syncp); in hns3_fill_skb_desc()
1028 u64_stats_update_end(&ring->syncp); in hns3_fill_skb_desc()
1050 u64_stats_update_begin(&ring->syncp); in hns3_fill_skb_desc()
1052 u64_stats_update_end(&ring->syncp); in hns3_fill_skb_desc()
1060 u64_stats_update_begin(&ring->syncp); in hns3_fill_skb_desc()
1062 u64_stats_update_end(&ring->syncp); in hns3_fill_skb_desc()
1069 u64_stats_update_begin(&ring->syncp); in hns3_fill_skb_desc()
1071 u64_stats_update_end(&ring->syncp); in hns3_fill_skb_desc()
1112 u64_stats_update_begin(&ring->syncp); in hns3_fill_desc()
1114 u64_stats_update_end(&ring->syncp); in hns3_fill_desc()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
299 u64_stats_init(&ns->syncp); in nsim_create()
/kernel/linux/linux-5.10/drivers/net/
Dmacsec.c95 struct u64_stats_sync syncp; member
504 u64_stats_update_begin(&txsc_stats->syncp); in macsec_count_tx()
514 u64_stats_update_end(&txsc_stats->syncp); in macsec_count_tx()
522 u64_stats_update_begin(&stats->syncp); in count_tx()
525 u64_stats_update_end(&stats->syncp); in count_tx()
652 u64_stats_update_begin(&secy_stats->syncp); in macsec_encrypt()
654 u64_stats_update_end(&secy_stats->syncp); in macsec_encrypt()
739 u64_stats_update_begin(&rxsc_stats->syncp); in macsec_post_decrypt()
741 u64_stats_update_end(&rxsc_stats->syncp); in macsec_post_decrypt()
746 u64_stats_update_begin(&rxsc_stats->syncp); in macsec_post_decrypt()
[all …]
Dveth.c54 struct u64_stats_sync syncp; member
190 start = u64_stats_fetch_begin_irq(&rq_stats->syncp); in veth_get_ethtool_stats()
195 } while (u64_stats_fetch_retry_irq(&rq_stats->syncp, start)); in veth_get_ethtool_stats()
211 start = u64_stats_fetch_begin_irq(&rq_stats->syncp); in veth_get_ethtool_stats()
216 } while (u64_stats_fetch_retry_irq(&rq_stats->syncp, start)); in veth_get_ethtool_stats()
347 start = u64_stats_fetch_begin_irq(&stats->syncp); in veth_stats_rx()
353 } while (u64_stats_fetch_retry_irq(&stats->syncp, start)); in veth_stats_rx()
476 u64_stats_update_begin(&rq->stats.syncp); in veth_xdp_xmit()
479 u64_stats_update_end(&rq->stats.syncp); in veth_xdp_xmit()
516 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
591 u64_stats_update_begin(&sq->stats.syncp); in virtnet_xdp_xmit()
597 u64_stats_update_end(&sq->stats.syncp); in virtnet_xdp_xmit()
1305 flags = u64_stats_update_begin_irqsave(&rq->stats.syncp); in try_fill_recv()
1307 u64_stats_update_end_irqrestore(&rq->stats.syncp, flags); in try_fill_recv()
1410 u64_stats_update_begin(&rq->stats.syncp); in virtnet_receive()
1418 u64_stats_update_end(&rq->stats.syncp); in virtnet_receive()
1453 u64_stats_update_begin(&sq->stats.syncp); in free_old_xmit_skbs()
1456 u64_stats_update_end(&sq->stats.syncp); in free_old_xmit_skbs()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
136 start = u64_stats_fetch_begin_irq(&repr_stats->syncp); in nfp_repr_get_host_stats64()
142 } while (u64_stats_fetch_retry_irq(&repr_stats->syncp, start)); in nfp_repr_get_host_stats64()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc_drv.c512 u64_stats_update_begin(&pcpu_stats->syncp); in netvsc_vf_xmit()
515 u64_stats_update_end(&pcpu_stats->syncp); in netvsc_vf_xmit()
913 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback()
915 u64_stats_update_end(&rx_stats->syncp); in netvsc_recv_callback()
935 u64_stats_update_begin(&rx_stats->syncp); in netvsc_recv_callback()
943 u64_stats_update_end(&rx_stats->syncp); in netvsc_recv_callback()
1286 start = u64_stats_fetch_begin_irq(&stats->syncp); in netvsc_get_vf_stats()
1291 } while (u64_stats_fetch_retry_irq(&stats->syncp, start)); in netvsc_get_vf_stats()
1316 start = u64_stats_fetch_begin_irq(&stats->syncp); in netvsc_get_pcpu_stats()
1321 } while (u64_stats_fetch_retry_irq(&stats->syncp, start)); in netvsc_get_pcpu_stats()
[all …]
/kernel/linux/linux-5.10/net/core/
Ddrop_monitor.c60 struct u64_stats_sync syncp; member
528 u64_stats_update_begin(&data->stats.syncp); in net_dm_packet_trace_kfree_skb_hit()
530 u64_stats_update_end(&data->stats.syncp); in net_dm_packet_trace_kfree_skb_hit()
975 u64_stats_update_begin(&hw_data->stats.syncp); in net_dm_hw_trap_packet_probe()
977 u64_stats_update_end(&hw_data->stats.syncp); in net_dm_hw_trap_packet_probe()
1430 start = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in net_dm_stats_read()
1432 } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, start)); in net_dm_stats_read()
1474 start = u64_stats_fetch_begin_irq(&cpu_stats->syncp); in net_dm_hw_stats_read()
1476 } while (u64_stats_fetch_retry_irq(&cpu_stats->syncp, start)); in net_dm_hw_stats_read()
1665 u64_stats_init(&data->stats.syncp); in __net_dm_cpu_data_init()

123456