Lines Matching refs:hstats
51 if (!port_counter->hstats) in rdma_counter_set_auto_mode()
263 if (!port_counter->hstats) in counter_history_stat_update()
269 port_counter->hstats->value[i] += counter->stats->value[i]; in counter_history_stat_update()
435 if (!port_counter->hstats) in rdma_counter_get_hwstat_value()
439 sum += port_counter->hstats->value[index]; in rdma_counter_get_hwstat_value()
546 if (!port_counter->hstats) in rdma_counter_bind_qpn_alloc()
643 port_counter->hstats = dev->ops.alloc_hw_port_stats(dev, port); in rdma_counter_init()
644 if (!port_counter->hstats) in rdma_counter_init()
653 rdma_free_hw_stats_struct(port_counter->hstats); in rdma_counter_init()
654 port_counter->hstats = NULL; in rdma_counter_init()
666 rdma_free_hw_stats_struct(port_counter->hstats); in rdma_counter_release()