/linux-6.6.21/net/core/ |
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-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mcs_rvu_if.c | 243 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_clear_stats() 249 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_clear_stats() 271 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_flowid_stats() 273 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_flowid_stats() 297 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_secy_stats() 304 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_secy_stats() 326 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_sc_stats() 328 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_sc_stats() 350 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_sa_stats() 352 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_sa_stats() [all …]
|
D | rvu_debugfs.c | 235 mutex_lock(&mcs->stats_lock); in rvu_dbg_mcs_port_stats_display() 248 mutex_unlock(&mcs->stats_lock); in rvu_dbg_mcs_port_stats_display() 275 mutex_lock(&mcs->stats_lock); in rvu_dbg_mcs_sa_stats_display() 285 mutex_unlock(&mcs->stats_lock); in rvu_dbg_mcs_sa_stats_display() 291 mutex_lock(&mcs->stats_lock); in rvu_dbg_mcs_sa_stats_display() 301 mutex_unlock(&mcs->stats_lock); in rvu_dbg_mcs_sa_stats_display() 329 mutex_lock(&mcs->stats_lock); in rvu_dbg_mcs_tx_sc_stats_display() 343 mutex_unlock(&mcs->stats_lock); in rvu_dbg_mcs_tx_sc_stats_display() 359 mutex_lock(&mcs->stats_lock); in rvu_dbg_mcs_rx_sc_stats_display() 380 mutex_unlock(&mcs->stats_lock); in rvu_dbg_mcs_rx_sc_stats_display() [all …]
|
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_ethtool.c | 297 mutex_lock(&lan966x->stats_lock); in lan966x_stats_update() 313 mutex_unlock(&lan966x->stats_lock); in lan966x_stats_update() 368 mutex_lock(&lan966x->stats_lock); in lan966x_get_eth_mac_stats() 427 mutex_unlock(&lan966x->stats_lock); in lan966x_get_eth_mac_stats() 453 mutex_lock(&lan966x->stats_lock); in lan966x_get_eth_rmon_stats() 511 mutex_unlock(&lan966x->stats_lock); in lan966x_get_eth_rmon_stats() 617 mutex_lock(&lan966x->stats_lock); in lan966x_stats_get() 699 mutex_unlock(&lan966x->stats_lock); in lan966x_stats_get() 715 mutex_init(&lan966x->stats_lock); in lan966x_stats_init()
|
D | lan966x_vcap_impl.c | 406 mutex_lock(&lan966x->stats_lock); in lan966x_es0_read_esdx_counter() 410 mutex_unlock(&lan966x->stats_lock); in lan966x_es0_read_esdx_counter() 420 mutex_lock(&lan966x->stats_lock); in lan966x_es0_write_esdx_counter() 427 mutex_unlock(&lan966x->stats_lock); in lan966x_es0_write_esdx_counter()
|
/linux-6.6.21/drivers/net/dsa/qca/ |
D | ar9331.c | 235 struct spinlock stats_lock; member 622 spin_lock(&port->stats_lock); in ar9331_read_stats() 652 spin_unlock(&port->stats_lock); in ar9331_read_stats() 671 spin_lock(&p->stats_lock); in ar9331_get_stats64() 673 spin_unlock(&p->stats_lock); in ar9331_get_stats64() 682 spin_lock(&p->stats_lock); in ar9331_get_pause_stats() 684 spin_unlock(&p->stats_lock); in ar9331_get_pause_stats() 1068 spin_lock_init(&port->stats_lock); in ar9331_sw_probe()
|
/linux-6.6.21/drivers/infiniband/ulp/opa_vnic/ |
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()
|
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()
|
D | opa_vnic_netdev.c | 71 spin_lock(&adapter->stats_lock); in opa_vnic_get_stats64() 73 spin_unlock(&adapter->stats_lock); in opa_vnic_get_stats64() 360 spin_lock_init(&adapter->stats_lock); in opa_vnic_add_netdev()
|
D | opa_vnic_internal.h | 218 spinlock_t stats_lock; member
|
/linux-6.6.21/drivers/net/ethernet/atheros/atlx/ |
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() 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 …]
|
/linux-6.6.21/include/net/ |
D | net_failover.h | 27 spinlock_t stats_lock; member
|
/linux-6.6.21/drivers/net/ethernet/mscc/ |
D | ocelot_stats.c | 378 spin_lock(&ocelot->stats_lock); in ocelot_check_stats_work() 380 spin_unlock(&ocelot->stats_lock); in ocelot_check_stats_work() 431 spin_lock(&ocelot->stats_lock); in ocelot_port_stats_run() 436 spin_unlock(&ocelot->stats_lock); in ocelot_port_stats_run() 829 spin_lock(&ocelot->stats_lock); in ocelot_port_get_stats64() 885 spin_unlock(&ocelot->stats_lock); in ocelot_port_get_stats64() 969 spin_lock_init(&ocelot->stats_lock); in ocelot_stats_init()
|
/linux-6.6.21/drivers/net/ethernet/sfc/siena/ |
D | efx_common.c | 557 spin_lock_bh(&efx->stats_lock); in efx_siena_start_all() 559 spin_unlock_bh(&efx->stats_lock); in efx_siena_start_all() 581 spin_lock_bh(&efx->stats_lock); in efx_siena_stop_all() 583 spin_unlock_bh(&efx->stats_lock); in efx_siena_stop_all() 614 spin_lock_bh(&efx->stats_lock); in efx_siena_net_stats() 616 spin_unlock_bh(&efx->stats_lock); in efx_siena_net_stats() 1023 spin_lock_init(&efx->stats_lock); in efx_siena_init_struct()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | efx_common.c | 555 spin_lock_bh(&efx->stats_lock); in efx_start_all() 557 spin_unlock_bh(&efx->stats_lock); in efx_start_all() 579 spin_lock_bh(&efx->stats_lock); in efx_stop_all() 581 spin_unlock_bh(&efx->stats_lock); in efx_stop_all() 603 spin_lock_bh(&efx->stats_lock); in efx_net_stats() 605 spin_unlock_bh(&efx->stats_lock); in efx_net_stats() 1007 spin_lock_init(&efx->stats_lock); in efx_init_struct()
|
/linux-6.6.21/drivers/net/ethernet/atheros/alx/ |
D | ethtool.c | 292 spin_lock(&alx->stats_lock); in alx_get_ethtool_stats() 298 spin_unlock(&alx->stats_lock); in alx_get_ethtool_stats()
|
D | alx.h | 139 spinlock_t stats_lock; member
|
/linux-6.6.21/arch/um/drivers/ |
D | vector_kern.h | 118 spinlock_t stats_lock; member
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/ |
D | metadata.c | 126 spin_lock(&priv->stats_lock); in nfp_flower_rx_flow_stats() 134 spin_unlock(&priv->stats_lock); in nfp_flower_rx_flow_stats() 581 spin_lock_init(&priv->stats_lock); in nfp_flower_metadata_init()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.h | 143 spinlock_t stats_lock; member
|
/linux-6.6.21/drivers/net/ethernet/intel/igbvf/ |
D | igbvf.h | 223 spinlock_t stats_lock; /* prevent concurrent stats updates */ member
|
/linux-6.6.21/kernel/sched/ |
D | cputime.c | 336 flags = read_seqbegin_or_lock_irqsave(&sig->stats_lock, &seq); in thread_group_cputime() 349 } while (need_seqretry(&sig->stats_lock, seq)); in thread_group_cputime() 350 done_seqretry_irqrestore(&sig->stats_lock, seq, flags); in thread_group_cputime()
|
/linux-6.6.21/drivers/net/dsa/realtek/ |
D | rtl8365mb.c | 623 spinlock_t stats_lock; member 1481 spin_lock(&mb->ports[port].stats_lock); in rtl8365mb_stats_update() 1512 spin_unlock(&mb->ports[port].stats_lock); in rtl8365mb_stats_update() 1537 spin_lock(&p->stats_lock); in rtl8365mb_get_stats64() 1539 spin_unlock(&p->stats_lock); in rtl8365mb_get_stats64() 1559 spin_lock_init(&p->stats_lock); in rtl8365mb_stats_setup()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
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() 3683 spin_unlock(&adap->stats_lock); in show_cpl_stats() [all …]
|
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/ |
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()
|