Lines Matching refs:container_of
87 return container_of(res, struct ib_pd, res)->device; in res_to_dev()
89 return container_of(res, struct ib_cq, res)->device; in res_to_dev()
91 return container_of(res, struct ib_qp, res)->device; in res_to_dev()
93 return container_of(res, struct rdma_id_private, in res_to_dev()
96 return container_of(res, struct ib_mr, res)->device; in res_to_dev()
98 return container_of(res, struct ib_ucontext, res)->device; in res_to_dev()
100 return container_of(res, struct rdma_counter, res)->device; in res_to_dev()
102 return container_of(res, struct ib_srq, res)->device; in res_to_dev()
195 struct ib_qp *qp = container_of(res, struct ib_qp, res); in rdma_restrack_add()
213 counter = container_of(res, struct rdma_counter, res); in rdma_restrack_add()
263 res = container_of(kref, struct rdma_restrack_entry, kref); in restrack_release()