Lines Matching refs:hstats
51 if (!port_counter->hstats) in rdma_counter_set_auto_mode()
231 if (!port_counter->hstats) in counter_history_stat_update()
237 port_counter->hstats->value[i] += counter->stats->value[i]; in counter_history_stat_update()
403 if (!port_counter->hstats) in rdma_counter_get_hwstat_value()
407 sum += port_counter->hstats->value[index]; in rdma_counter_get_hwstat_value()
514 if (!port_counter->hstats) in rdma_counter_bind_qpn_alloc()
611 port_counter->hstats = dev->ops.alloc_hw_port_stats(dev, port); in rdma_counter_init()
612 if (!port_counter->hstats) in rdma_counter_init()
621 kfree(port_counter->hstats); in rdma_counter_init()
622 port_counter->hstats = NULL; in rdma_counter_init()
634 kfree(port_counter->hstats); in rdma_counter_release()