Lines Matching refs:rdma_counter

78 static void auto_mode_init_counter(struct rdma_counter *counter,  in auto_mode_init_counter()
91 static int __rdma_counter_bind_qp(struct rdma_counter *counter, in __rdma_counter_bind_qp()
141 static struct rdma_counter *alloc_and_bind(struct ib_device *dev, u32 port, in alloc_and_bind()
146 struct rdma_counter *counter; in alloc_and_bind()
207 static void rdma_counter_free(struct rdma_counter *counter) in rdma_counter_free()
225 static bool auto_mode_match(struct ib_qp *qp, struct rdma_counter *counter, in auto_mode_match()
243 struct rdma_counter *counter = qp->counter; in __rdma_counter_unbind_qp()
256 static void counter_history_stat_update(struct rdma_counter *counter) in counter_history_stat_update()
278 static struct rdma_counter *rdma_get_counter_auto_mode(struct ib_qp *qp, in rdma_get_counter_auto_mode()
282 struct rdma_counter *counter = NULL; in rdma_get_counter_auto_mode()
292 counter = container_of(res, struct rdma_counter, res); in rdma_get_counter_auto_mode()
311 struct rdma_counter *counter; in counter_release()
313 counter = container_of(kref, struct rdma_counter, kref); in counter_release()
327 struct rdma_counter *counter; in rdma_counter_bind_qp_auto()
363 struct rdma_counter *counter = qp->counter; in rdma_counter_unbind_qp()
377 int rdma_counter_query_stats(struct rdma_counter *counter) in rdma_counter_query_stats()
397 struct rdma_counter *counter; in get_running_counters_hwstat_sum()
409 counter = container_of(res, struct rdma_counter, res); in get_running_counters_hwstat_sum()
464 static struct rdma_counter *rdma_get_counter_by_id(struct ib_device *dev, in rdma_get_counter_by_id()
468 struct rdma_counter *counter; in rdma_get_counter_by_id()
474 counter = container_of(res, struct rdma_counter, res); in rdma_get_counter_by_id()
488 struct rdma_counter *counter; in rdma_counter_bind_qpn()
538 struct rdma_counter *counter; in rdma_counter_bind_qpn_alloc()