Lines Matching refs:hstats
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()
636 kfree(port_counter->hstats); in rdma_counter_release()