Home
last modified time | relevance | path

Searched refs:stats_lock (Results 1 – 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/net/core/
Dgen_estimator.c44 spinlock_t *stats_lock; member
66 if (e->stats_lock) in est_fetch_counters()
67 spin_lock(e->stats_lock); in est_fetch_counters()
71 if (e->stats_lock) in est_fetch_counters()
72 spin_unlock(e->stats_lock); in est_fetch_counters()
156 est->stats_lock = lock; in gen_new_estimator()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_ethtool.c147 spin_lock(&adapter->stats_lock); in vnic_get_ethtool_stats()
149 spin_unlock(&adapter->stats_lock); in vnic_get_ethtool_stats()
Dopa_vnic_vema_iface.c92 spin_lock(&adapter->stats_lock); in opa_vnic_get_summary_counters()
94 spin_unlock(&adapter->stats_lock); in opa_vnic_get_summary_counters()
131 spin_lock(&adapter->stats_lock); in opa_vnic_get_error_counters()
133 spin_unlock(&adapter->stats_lock); in opa_vnic_get_error_counters()
Dopa_vnic_netdev.c72 spin_lock(&adapter->stats_lock); in opa_vnic_get_stats64()
74 spin_unlock(&adapter->stats_lock); in opa_vnic_get_stats64()
361 spin_lock_init(&adapter->stats_lock); in opa_vnic_add_netdev()
Dopa_vnic_internal.h218 spinlock_t stats_lock; member
/kernel/linux/linux-5.10/include/net/
Dnet_failover.h27 spinlock_t stats_lock; member
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/
Datl2.c99 spin_lock_init(&adapter->stats_lock); in atl2_sw_init()
552 spin_lock(&adapter->stats_lock); in atl2_check_for_link()
555 spin_unlock(&adapter->stats_lock); in atl2_check_for_link()
573 spin_lock(&adapter->stats_lock); in atl2_clear_phy_int()
575 spin_unlock(&adapter->stats_lock); in atl2_clear_phy_int()
953 spin_lock_irqsave(&adapter->stats_lock, flags); in atl2_mii_ioctl()
956 spin_unlock_irqrestore(&adapter->stats_lock, flags); in atl2_mii_ioctl()
959 spin_unlock_irqrestore(&adapter->stats_lock, flags); in atl2_mii_ioctl()
964 spin_lock_irqsave(&adapter->stats_lock, flags); in atl2_mii_ioctl()
967 spin_unlock_irqrestore(&adapter->stats_lock, flags); in atl2_mii_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Defx_common.c558 spin_lock_bh(&efx->stats_lock); in efx_start_all()
560 spin_unlock_bh(&efx->stats_lock); in efx_start_all()
582 spin_lock_bh(&efx->stats_lock); in efx_stop_all()
584 spin_unlock_bh(&efx->stats_lock); in efx_stop_all()
606 spin_lock_bh(&efx->stats_lock); in efx_net_stats()
608 spin_unlock_bh(&efx->stats_lock); in efx_net_stats()
1014 spin_lock_init(&efx->stats_lock); in efx_init_struct()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/
Dethtool.c281 spin_lock(&alx->stats_lock); in alx_get_ethtool_stats()
288 spin_unlock(&alx->stats_lock); in alx_get_ethtool_stats()
Dalx.h139 spinlock_t stats_lock; member
/kernel/linux/linux-5.10/arch/um/drivers/
Dvector_kern.h116 spinlock_t stats_lock; member
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
Dislpci_dev.h79 struct mutex stats_lock; member
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c123 spin_lock(&priv->stats_lock); in nfp_flower_rx_flow_stats()
131 spin_unlock(&priv->stats_lock); in nfp_flower_rx_flow_stats()
553 spin_lock_init(&priv->stats_lock); in nfp_flower_metadata_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.h143 spinlock_t stats_lock; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/
Digbvf.h223 spinlock_t stats_lock; /* prevent concurrent stats updates */ member
/kernel/linux/linux-5.10/kernel/sched/
Dcputime.c332 flags = read_seqbegin_or_lock_irqsave(&sig->stats_lock, &seq); in thread_group_cputime()
345 } while (need_seqretry(&sig->stats_lock, seq)); in thread_group_cputime()
346 done_seqretry_irqrestore(&sig->stats_lock, seq, flags); in thread_group_cputime()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c3621 spin_lock(&adap->stats_lock); in show_tcp_stats()
3623 spin_unlock(&adap->stats_lock); in show_tcp_stats()
3640 spin_lock(&adap->stats_lock); in show_ddp_stats()
3642 spin_unlock(&adap->stats_lock); in show_ddp_stats()
3654 spin_lock(&adap->stats_lock); in show_rdma_stats()
3656 spin_unlock(&adap->stats_lock); in show_rdma_stats()
3667 spin_lock(&adap->stats_lock); in show_tp_err_adapter_stats()
3669 spin_unlock(&adap->stats_lock); in show_tp_err_adapter_stats()
3681 spin_lock(&adap->stats_lock); in show_cpl_stats()
3683 spin_unlock(&adap->stats_lock); in show_cpl_stats()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dfalcon.c1460 spin_lock(&efx->stats_lock); in falcon_stats_timer_func()
1466 spin_unlock(&efx->stats_lock); in falcon_stats_timer_func()
2635 spin_lock_bh(&efx->stats_lock); in falcon_start_nic_stats()
2638 spin_unlock_bh(&efx->stats_lock); in falcon_start_nic_stats()
2656 spin_lock_bh(&efx->stats_lock); in falcon_stop_nic_stats()
2658 spin_unlock_bh(&efx->stats_lock); in falcon_stop_nic_stats()
2670 spin_lock_bh(&efx->stats_lock); in falcon_stop_nic_stats()
2672 spin_unlock_bh(&efx->stats_lock); in falcon_stop_nic_stats()
Defx.c1838 spin_lock_bh(&efx->stats_lock); in ef4_start_all()
1840 spin_unlock_bh(&efx->stats_lock); in ef4_start_all()
1860 spin_lock_bh(&efx->stats_lock); in ef4_stop_all()
1862 spin_unlock_bh(&efx->stats_lock); in ef4_stop_all()
2105 spin_lock_bh(&efx->stats_lock); in ef4_net_stats()
2107 spin_unlock_bh(&efx->stats_lock); in ef4_net_stats()
2663 spin_lock_init(&efx->stats_lock); in ef4_init_struct()
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.h217 spinlock_t stats_lock; /* statistics lock */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_port.c238 spin_lock_bh(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()
425 spin_unlock_bh(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h264 spinlock_t stats_lock; member
Dcxgb3_offload.c362 spin_lock(&adapter->stats_lock); in cxgb_rdma_ctl()
364 spin_unlock(&adapter->stats_lock); in cxgb_rdma_ctl()
463 spin_lock(&adapter->stats_lock); in cxgb_offload_ctl()
466 spin_unlock(&adapter->stats_lock); in cxgb_offload_ctl()
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot.c855 mutex_lock(&ocelot->stats_lock); in ocelot_update_stats()
876 mutex_unlock(&ocelot->stats_lock); in ocelot_update_stats()
1515 mutex_init(&ocelot->stats_lock); in ocelot_init()
1633 mutex_destroy(&ocelot->stats_lock); in ocelot_deinit()
/kernel/linux/linux-5.10/kernel/
Dexit.c190 write_seqlock(&sig->stats_lock); in __exit_signal()
204 write_sequnlock(&sig->stats_lock); in __exit_signal()
1135 write_seqlock(&psig->stats_lock); in wait_task_zombie()
1158 write_sequnlock(&psig->stats_lock); in wait_task_zombie()

1234