Home
last modified time | relevance | path

Searched refs:rdma_counter (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dcounters.c6 #include <rdma/rdma_counter.h>
67 static struct rdma_counter *rdma_counter_alloc(struct ib_device *dev, u8 port, in rdma_counter_alloc()
71 struct rdma_counter *counter; in rdma_counter_alloc()
116 static void rdma_counter_free(struct rdma_counter *counter) in rdma_counter_free()
135 static void auto_mode_init_counter(struct rdma_counter *counter, in auto_mode_init_counter()
148 static bool auto_mode_match(struct ib_qp *qp, struct rdma_counter *counter, in auto_mode_match()
164 static int __rdma_counter_bind_qp(struct rdma_counter *counter, in __rdma_counter_bind_qp()
184 struct rdma_counter *counter = qp->counter; in __rdma_counter_unbind_qp()
197 static void counter_history_stat_update(struct rdma_counter *counter) in counter_history_stat_update()
219 static struct rdma_counter *rdma_get_counter_auto_mod
[all...]
H A Drestrack.c9 #include <rdma/rdma_counter.h>
143 return container_of(res, struct rdma_counter, res)->device; in res_to_dev()
239 struct rdma_counter *counter; in rdma_restrack_add()
241 counter = container_of(res, struct rdma_counter, res); in rdma_restrack_add()
H A Dnldev.c707 struct rdma_counter *counter) in fill_stat_counter_mode()
747 struct rdma_counter *counter) in fill_stat_counter_qps()
825 struct rdma_counter *counter) in fill_stat_counter_hwcounters()
851 struct rdma_counter *counter = in fill_res_counter_entry()
852 container_of(res, struct rdma_counter, res); in fill_res_counter_entry()
H A Dsysfs.c46 #include <rdma/rdma_counter.h>
H A Ddevice.c48 #include <rdma/rdma_counter.h>
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dcounters.c6 #include <rdma/rdma_counter.h>
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_mod
[all...]
H A Drestrack.c9 #include <rdma/rdma_counter.h>
144 return container_of(res, struct rdma_counter, res)->device; in res_to_dev()
252 struct rdma_counter *counter; in rdma_restrack_add()
254 counter = container_of(res, struct rdma_counter, res); in rdma_restrack_add()
H A Dnldev.c847 struct rdma_counter *counter) in fill_stat_counter_mode()
887 struct rdma_counter *counter) in fill_stat_counter_qps()
965 struct rdma_counter *counter) in fill_stat_counter_hwcounters()
998 struct rdma_counter *counter = in fill_res_counter_entry()
999 container_of(res, struct rdma_counter, res); in fill_res_counter_entry()
H A Ddevice.c48 #include <rdma/rdma_counter.h>
H A Dsysfs.c46 #include <rdma/rdma_counter.h>
/kernel/linux/linux-5.10/include/rdma/
H A Drdma_counter.h35 struct rdma_counter { struct
53 int rdma_counter_query_stats(struct rdma_counter *counter);
H A Dib_verbs.h39 #include <rdma/rdma_counter.h>
1778 struct rdma_counter *counter;
2575 int (*counter_bind_qp)(struct rdma_counter *counter, struct ib_qp *qp);
2584 int (*counter_dealloc)(struct rdma_counter *counter);
2590 struct rdma_counter *counter);
2594 int (*counter_update_stats)(struct rdma_counter *counter);
/kernel/linux/linux-6.6/include/rdma/
H A Drdma_counter.h35 struct rdma_counter { struct
54 int rdma_counter_query_stats(struct rdma_counter *counter);
H A Dib_verbs.h40 #include <rdma/rdma_counter.h>
1817 struct rdma_counter *counter;
2640 int (*counter_bind_qp)(struct rdma_counter *counter, struct ib_qp *qp);
2649 int (*counter_dealloc)(struct rdma_counter *counter);
2655 struct rdma_counter *counter);
2659 int (*counter_update_stats)(struct rdma_counter *counter);
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dcounters.c299 mlx5_ib_counter_alloc_stats(struct rdma_counter *counter) in mlx5_ib_counter_alloc_stats()
312 static int mlx5_ib_counter_update_stats(struct rdma_counter *counter) in mlx5_ib_counter_update_stats()
322 static int mlx5_ib_counter_dealloc(struct rdma_counter *counter) in mlx5_ib_counter_dealloc()
336 static int mlx5_ib_counter_bind_qp(struct rdma_counter *counter, in mlx5_ib_counter_bind_qp()
H A Dqp.h46 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter);
H A Dqp.c37 #include <rdma/rdma_counter.h>
3742 struct rdma_counter *counter) in __mlx5_ib_qp_set_counter()
5474 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter) in mlx5_ib_qp_set_counter()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dqp.h56 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter);
H A Dcounters.c510 mlx5_ib_counter_alloc_stats(struct rdma_counter *counter) in mlx5_ib_counter_alloc_stats()
518 static int mlx5_ib_counter_update_stats(struct rdma_counter *counter) in mlx5_ib_counter_update_stats()
527 static int mlx5_ib_counter_dealloc(struct rdma_counter *counter) in mlx5_ib_counter_dealloc()
541 static int mlx5_ib_counter_bind_qp(struct rdma_counter *counter, in mlx5_ib_counter_bind_qp()
H A Dqp.c37 #include <rdma/rdma_counter.h>
4073 struct rdma_counter *counter) in __mlx5_ib_qp_set_counter()
5806 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter) in mlx5_ib_qp_set_counter()

Completed in 52 milliseconds