Searched refs:hstats (Results 1 – 3 of 3) sorted by relevance
263 struct fc_host_statistics *hstats; in bfad_im_get_stats() local271 hstats = &bfad->link_stats; in bfad_im_get_stats()274 memset(hstats, 0, sizeof(struct fc_host_statistics)); in bfad_im_get_stats()286 hstats->seconds_since_last_reset = fcstats->fc.secs_reset; in bfad_im_get_stats()287 hstats->tx_frames = fcstats->fc.tx_frames; in bfad_im_get_stats()288 hstats->tx_words = fcstats->fc.tx_words; in bfad_im_get_stats()289 hstats->rx_frames = fcstats->fc.rx_frames; in bfad_im_get_stats()290 hstats->rx_words = fcstats->fc.rx_words; in bfad_im_get_stats()291 hstats->lip_count = fcstats->fc.lip_count; in bfad_im_get_stats()292 hstats->nos_count = fcstats->fc.nos_count; in bfad_im_get_stats()[all …]
41 if (!port_counter->hstats) in rdma_counter_set_auto_mode()204 if (!port_counter->hstats) in counter_history_stat_update()210 port_counter->hstats->value[i] += counter->stats->value[i]; in counter_history_stat_update()393 if (!port_counter->hstats) in rdma_counter_get_hwstat_value()397 sum += port_counter->hstats->value[index]; in rdma_counter_get_hwstat_value()508 if (!port_counter->hstats) in rdma_counter_bind_qpn_alloc()613 port_counter->hstats = dev->ops.alloc_hw_stats(dev, port); in rdma_counter_init()614 if (!port_counter->hstats) in rdma_counter_init()623 kfree(port_counter->hstats); in rdma_counter_init()624 port_counter->hstats = NULL; in rdma_counter_init()[all …]
1386 const struct objagg_stats *hstats; in mlxsw_sp_acl_erp_hints_check() local1399 hstats = objagg_hints_stats_get(hints); in mlxsw_sp_acl_erp_hints_check()1400 if (IS_ERR(hstats)) { in mlxsw_sp_acl_erp_hints_check()1402 err = PTR_ERR(hstats); in mlxsw_sp_acl_erp_hints_check()1407 if (hstats->root_count < ostats->root_count) in mlxsw_sp_acl_erp_hints_check()1412 objagg_stats_put(hstats); in mlxsw_sp_acl_erp_hints_check()