Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/atheros/atlx/
Datl2.c119 spin_lock_init(&adapter->stats_lock); in atl2_sw_init()
576 spin_lock(&adapter->stats_lock); in atl2_check_for_link()
579 spin_unlock(&adapter->stats_lock); in atl2_check_for_link()
597 spin_lock(&adapter->stats_lock); in atl2_clear_phy_int()
599 spin_unlock(&adapter->stats_lock); in atl2_clear_phy_int()
989 spin_lock_irqsave(&adapter->stats_lock, flags); in atl2_mii_ioctl()
992 spin_unlock_irqrestore(&adapter->stats_lock, flags); in atl2_mii_ioctl()
995 spin_unlock_irqrestore(&adapter->stats_lock, flags); in atl2_mii_ioctl()
1000 spin_lock_irqsave(&adapter->stats_lock, flags); in atl2_mii_ioctl()
1003 spin_unlock_irqrestore(&adapter->stats_lock, flags); in atl2_mii_ioctl()
[all …]
Datl2.h459 spinlock_t stats_lock; member
/drivers/net/ethernet/sfc/
Dfalcon.c625 spin_lock(&efx->stats_lock); in falcon_stats_timer_func()
631 spin_unlock(&efx->stats_lock); in falcon_stats_timer_func()
1716 spin_lock_bh(&efx->stats_lock); in falcon_start_nic_stats()
1719 spin_unlock_bh(&efx->stats_lock); in falcon_start_nic_stats()
1729 spin_lock_bh(&efx->stats_lock); in falcon_stop_nic_stats()
1731 spin_unlock_bh(&efx->stats_lock); in falcon_stop_nic_stats()
1743 spin_lock_bh(&efx->stats_lock); in falcon_stop_nic_stats()
1745 spin_unlock_bh(&efx->stats_lock); in falcon_stop_nic_stats()
Dethtool.c483 spin_lock_bh(&efx->stats_lock); in efx_ethtool_get_stats()
517 spin_unlock_bh(&efx->stats_lock); in efx_ethtool_get_stats()
Dnet_driver.h865 spinlock_t stats_lock; member
/drivers/net/ethernet/mellanox/mlx4/
Den_port.c139 spin_lock_bh(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()
214 spin_unlock_bh(&priv->stats_lock); in mlx4_en_DUMP_ETH_STATS()
Den_netdev.c404 spin_lock_bh(&priv->stats_lock); in mlx4_en_get_stats()
406 spin_unlock_bh(&priv->stats_lock); in mlx4_en_get_stats()
472 spin_lock_bh(&priv->stats_lock); in mlx4_en_auto_moderation()
475 spin_unlock_bh(&priv->stats_lock); in mlx4_en_auto_moderation()
1076 spin_lock_init(&priv->stats_lock); in mlx4_en_init_netdev()
Den_ethtool.c207 spin_lock_bh(&priv->stats_lock); in mlx4_en_get_ethtool_stats()
241 spin_unlock_bh(&priv->stats_lock); in mlx4_en_get_ethtool_stats()
Dmlx4_en.h422 spinlock_t stats_lock; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c68 spin_lock_bh(&bp->stats_lock); in bnx2x_storm_stats_post()
71 spin_unlock_bh(&bp->stats_lock); in bnx2x_storm_stats_post()
91 spin_unlock_bh(&bp->stats_lock); in bnx2x_storm_stats_post()
817 spin_lock_bh(&bp->stats_lock); in bnx2x_storm_stats_update()
819 spin_unlock_bh(&bp->stats_lock); in bnx2x_storm_stats_update()
1270 spin_lock_bh(&bp->stats_lock); in bnx2x_stats_handle()
1273 spin_unlock_bh(&bp->stats_lock); in bnx2x_stats_handle()
/drivers/target/
Dtarget_core_tmr.c486 spin_lock_irq(&dev->stats_lock); in core_tmr_lun_reset()
488 spin_unlock_irq(&dev->stats_lock); in core_tmr_lun_reset()
Dtarget_core_tpg.c286 spin_lock_init(&acl->stats_lock); in core_tpg_check_initiator_node_acl()
416 spin_lock_init(&acl->stats_lock); in core_tpg_add_initiator_node_acl()
/drivers/net/wireless/prism54/
Dislpci_dev.h92 struct mutex stats_lock; member
Disl_ioctl.c170 mutex_lock(&priv->stats_lock); in prism54_update_stats()
212 mutex_unlock(&priv->stats_lock); in prism54_update_stats()
221 if (mutex_trylock(&priv->stats_lock)) { in prism54_get_wireless_stats()
226 mutex_unlock(&priv->stats_lock); in prism54_get_wireless_stats()
/drivers/net/ethernet/intel/igbvf/
Digbvf.h252 spinlock_t stats_lock; /* prevent concurrent stats updates */ member
/drivers/net/ethernet/intel/e1000/
De1000_main.c1327 spin_lock_init(&adapter->stats_lock); in e1000_sw_init()
3611 spin_lock_irqsave(&adapter->stats_lock, flags); in e1000_update_stats()
3739 spin_unlock_irqrestore(&adapter->stats_lock, flags); in e1000_update_stats()
4056 spin_lock_irqsave(&adapter->stats_lock, in e1000_clean_jumbo_rx_irq()
4060 spin_unlock_irqrestore(&adapter->stats_lock, in e1000_clean_jumbo_rx_irq()
4276 spin_lock_irqsave(&adapter->stats_lock, flags); in e1000_clean_rx_irq()
4279 spin_unlock_irqrestore(&adapter->stats_lock, in e1000_clean_rx_irq()
4665 spin_lock_irqsave(&adapter->stats_lock, flags); in e1000_mii_ioctl()
4668 spin_unlock_irqrestore(&adapter->stats_lock, flags); in e1000_mii_ioctl()
4671 spin_unlock_irqrestore(&adapter->stats_lock, flags); in e1000_mii_ioctl()
[all …]
De1000.h226 spinlock_t stats_lock; member
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c358 spin_lock(&adapter->stats_lock); in cxgb_rdma_ctl()
360 spin_unlock(&adapter->stats_lock); in cxgb_rdma_ctl()
459 spin_lock(&adapter->stats_lock); in cxgb_offload_ctl()
462 spin_unlock(&adapter->stats_lock); in cxgb_offload_ctl()
Dcxgb3_main.c1488 spin_lock(&adapter->stats_lock); in cxgb_get_stats()
1490 spin_unlock(&adapter->stats_lock); in cxgb_get_stats()
1619 spin_lock(&adapter->stats_lock); in get_drvinfo()
1622 spin_unlock(&adapter->stats_lock); in get_drvinfo()
1664 spin_lock(&adapter->stats_lock); in get_stats()
1666 spin_unlock(&adapter->stats_lock); in get_stats()
2614 spin_lock(&adapter->stats_lock); in mac_stats_update()
2616 spin_unlock(&adapter->stats_lock); in mac_stats_update()
3262 spin_lock_init(&adapter->stats_lock); in init_one()
Dadapter.h265 spinlock_t stats_lock; member
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c107 spin_lock(&qdev->stats_lock); in ql_update_stats()
181 spin_unlock(&qdev->stats_lock); in ql_update_stats()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h365 spinlock_t stats_lock; member
/drivers/net/ethernet/calxeda/
Dxgmac.c389 spinlock_t stats_lock; member
1455 spin_lock_bh(&priv->stats_lock); in xgmac_get_stats64()
1476 spin_unlock_bh(&priv->stats_lock); in xgmac_get_stats64()
1727 spin_lock_init(&priv->stats_lock); in xgmac_probe()
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe.h610 spinlock_t stats_lock; member
/drivers/target/iscsi/
Discsi_target.c838 spin_lock(&conn->sess->se_sess->se_node_acl->stats_lock); in iscsit_handle_scsi_cmd()
840 spin_unlock(&conn->sess->se_sess->se_node_acl->stats_lock); in iscsit_handle_scsi_cmd()
1255 spin_lock(&conn->sess->se_sess->se_node_acl->stats_lock); in iscsit_handle_data_out()
1257 spin_unlock(&conn->sess->se_sess->se_node_acl->stats_lock); in iscsit_handle_data_out()
2460 spin_lock(&conn->sess->se_sess->se_node_acl->stats_lock); in iscsit_send_data_in()
2462 spin_unlock(&conn->sess->se_sess->se_node_acl->stats_lock); in iscsit_send_data_in()

12