/linux/net/core/ |
A D | gen_estimator.c | 44 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 D | atl2.c | 99 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 D | opa_vnic_ethtool.c | 147 spin_lock(&adapter->stats_lock); in vnic_get_ethtool_stats() 149 spin_unlock(&adapter->stats_lock); in vnic_get_ethtool_stats()
|
A D | opa_vnic_vema_iface.c | 92 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 D | opa_vnic_netdev.c | 72 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 D | opa_vnic_internal.h | 218 spinlock_t stats_lock; member
|
/linux/drivers/net/ethernet/sfc/ |
A D | efx_common.c | 556 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 D | ar9331.c | 234 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 D | net_failover.h | 27 spinlock_t stats_lock; member
|
/linux/drivers/net/ethernet/atheros/alx/ |
A D | ethtool.c | 292 spin_lock(&alx->stats_lock); in alx_get_ethtool_stats() 299 spin_unlock(&alx->stats_lock); in alx_get_ethtool_stats()
|
A D | alx.h | 139 spinlock_t stats_lock; member
|
/linux/arch/um/drivers/ |
A D | vector_kern.h | 116 spinlock_t stats_lock; member
|
/linux/drivers/net/dsa/ |
A D | rtl8365mb.c | 530 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 D | metadata.c | 124 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 D | cputime.c | 318 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 D | cxgb4_debugfs.c | 3621 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 D | falcon.c | 1460 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 D | efx.c | 1834 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 D | bnxt_tc.h | 143 spinlock_t stats_lock; member
|
/linux/drivers/net/ethernet/intel/igbvf/ |
A D | igbvf.h | 223 spinlock_t stats_lock; /* prevent concurrent stats updates */ member
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A D | cxgb3_offload.c | 362 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 D | cxgb3_main.c | 1494 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 D | exit.c | 135 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 D | xgene_enet_main.h | 217 spinlock_t stats_lock; /* statistics lock */ member
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_port.c | 238 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()
|