Home
last modified time | relevance | path

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

123

/linux/net/core/
A 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()
162 est->stats_lock = lock; in gen_new_estimator()
/linux/drivers/net/ethernet/atheros/atlx/
A 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()
964 spin_lock_irqsave(&adapter->stats_lock, flags); in atl2_mii_ioctl()
1019 spin_lock_irqsave(&adapter->stats_lock, flags); in atl2_watchdog()
1043 spin_lock_irqsave(&adapter->stats_lock, flags); in atl2_phy_config()
1047 spin_unlock_irqrestore(&adapter->stats_lock, flags); in atl2_phy_config()
[all …]
/linux/drivers/infiniband/ulp/opa_vnic/
A 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()
A 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()
A 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()
A Dopa_vnic_internal.h218 spinlock_t stats_lock; member
/linux/drivers/net/ethernet/sfc/
A Defx_common.c556 spin_lock_bh(&efx->stats_lock); in efx_start_all()
558 spin_unlock_bh(&efx->stats_lock); in efx_start_all()
580 spin_lock_bh(&efx->stats_lock); in efx_stop_all()
582 spin_unlock_bh(&efx->stats_lock); in efx_stop_all()
604 spin_lock_bh(&efx->stats_lock); in efx_net_stats()
606 spin_unlock_bh(&efx->stats_lock); in efx_net_stats()
1012 spin_lock_init(&efx->stats_lock); in efx_init_struct()
/linux/drivers/net/dsa/qca/
A Dar9331.c234 struct spinlock stats_lock; member
645 spin_lock(&port->stats_lock); in ar9331_read_stats()
672 spin_unlock(&port->stats_lock); in ar9331_read_stats()
691 spin_lock(&p->stats_lock); in ar9331_get_stats64()
693 spin_unlock(&p->stats_lock); in ar9331_get_stats64()
1063 spin_lock_init(&port->stats_lock); in ar9331_sw_probe()
/linux/include/net/
A Dnet_failover.h27 spinlock_t stats_lock; member
/linux/drivers/net/ethernet/atheros/alx/
A Dethtool.c292 spin_lock(&alx->stats_lock); in alx_get_ethtool_stats()
299 spin_unlock(&alx->stats_lock); in alx_get_ethtool_stats()
A Dalx.h139 spinlock_t stats_lock; member
/linux/arch/um/drivers/
A Dvector_kern.h116 spinlock_t stats_lock; member
/linux/drivers/net/dsa/
A Drtl8365mb.c530 spinlock_t stats_lock; member
1354 spin_lock(&mb->ports[port].stats_lock); in rtl8365mb_stats_update()
1385 spin_unlock(&mb->ports[port].stats_lock); in rtl8365mb_stats_update()
1410 spin_lock(&p->stats_lock); in rtl8365mb_get_stats64()
1412 spin_unlock(&p->stats_lock); in rtl8365mb_get_stats64()
1432 spin_lock_init(&p->stats_lock); in rtl8365mb_stats_setup()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dmetadata.c124 spin_lock(&priv->stats_lock); in nfp_flower_rx_flow_stats()
132 spin_unlock(&priv->stats_lock); in nfp_flower_rx_flow_stats()
575 spin_lock_init(&priv->stats_lock); in nfp_flower_metadata_init()
/linux/kernel/sched/
A Dcputime.c318 flags = read_seqbegin_or_lock_irqsave(&sig->stats_lock, &seq); in thread_group_cputime()
331 } while (need_seqretry(&sig->stats_lock, seq)); in thread_group_cputime()
332 done_seqretry_irqrestore(&sig->stats_lock, seq, flags); in thread_group_cputime()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A 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()
3695 spin_lock(&adap->stats_lock); in show_tp_err_channel_stats()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
A 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()
A Defx.c1834 spin_lock_bh(&efx->stats_lock); in ef4_start_all()
1836 spin_unlock_bh(&efx->stats_lock); in ef4_start_all()
1856 spin_lock_bh(&efx->stats_lock); in ef4_stop_all()
1858 spin_unlock_bh(&efx->stats_lock); in ef4_stop_all()
2101 spin_lock_bh(&efx->stats_lock); in ef4_net_stats()
2103 spin_unlock_bh(&efx->stats_lock); in ef4_net_stats()
2659 spin_lock_init(&efx->stats_lock); in ef4_init_struct()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_tc.h143 spinlock_t stats_lock; member
/linux/drivers/net/ethernet/intel/igbvf/
A Digbvf.h223 spinlock_t stats_lock; /* prevent concurrent stats updates */ member
/linux/drivers/net/ethernet/chelsio/cxgb3/
A 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()
A Dcxgb3_main.c1494 spin_lock(&adapter->stats_lock); in cxgb_get_stats()
1496 spin_unlock(&adapter->stats_lock); in cxgb_get_stats()
1625 spin_lock(&adapter->stats_lock); in get_drvinfo()
1628 spin_unlock(&adapter->stats_lock); in get_drvinfo()
1669 spin_lock(&adapter->stats_lock); in get_stats()
1671 spin_unlock(&adapter->stats_lock); in get_stats()
2642 spin_lock(&adapter->stats_lock); in mac_stats_update()
2644 spin_unlock(&adapter->stats_lock); in mac_stats_update()
3272 spin_lock_init(&adapter->stats_lock); in init_one()
/linux/kernel/
A Dexit.c135 write_seqlock(&sig->stats_lock); in __exit_signal()
149 write_sequnlock(&sig->stats_lock); in __exit_signal()
1068 write_seqlock(&psig->stats_lock); in wait_task_zombie()
1091 write_sequnlock(&psig->stats_lock); in wait_task_zombie()
/linux/drivers/net/ethernet/apm/xgene/
A Dxgene_enet_main.h217 spinlock_t stats_lock; /* statistics lock */ member
/linux/drivers/net/ethernet/mellanox/mlx4/
A Den_port.c238 spin_lock_bh(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()
429 spin_unlock_bh(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()

Completed in 72 milliseconds

123