/openbmc/linux/net/core/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mcs_rvu_if.c | 248 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_clear_stats() 254 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_clear_stats() 276 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_flowid_stats() 278 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_flowid_stats() 302 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_secy_stats() 309 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_secy_stats() 331 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_sc_stats() 333 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_sc_stats() 355 mutex_lock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_sa_stats() 357 mutex_unlock(&mcs->stats_lock); in rvu_mbox_handler_mcs_get_sa_stats() [all …]
|
H A 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() 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() 400 mutex_lock(&mcs->stats_lock); in rvu_dbg_mcs_flowid_stats_display() 433 mutex_lock(&mcs->stats_lock); in rvu_dbg_mcs_tx_secy_stats_display() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A 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()
|
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/ |
H 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()
|
H 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()
|
H A 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()
|
/openbmc/linux/include/net/ |
H A D | net_failover.h | 27 spinlock_t stats_lock; member
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/memcached/memcached/ |
H A D | 0001-Fix-function-protypes.patch | 103 pthread_mutex_lock(&stats_lock); 108 pthread_mutex_unlock(&stats_lock);
|
/openbmc/linux/drivers/net/ethernet/atheros/atlx/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/atheros/alx/ |
H A 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()
|
H A D | alx.h | 139 spinlock_t stats_lock; member
|
/openbmc/linux/arch/um/drivers/ |
H A D | vector_kern.h | 118 spinlock_t stats_lock; member
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.h | 143 spinlock_t stats_lock; member
|
/openbmc/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | igbvf.h | 223 spinlock_t stats_lock; /* prevent concurrent stats updates */ member
|
/openbmc/linux/kernel/sched/ |
H A 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()
|
/openbmc/linux/drivers/net/dsa/realtek/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H 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()
|