Lines Matching refs:container_of
131 return container_of(res, struct ib_pd, res)->device; in res_to_dev()
133 return container_of(res, struct ib_cq, res)->device; in res_to_dev()
135 return container_of(res, struct ib_qp, res)->device; in res_to_dev()
137 return container_of(res, struct rdma_id_private, in res_to_dev()
140 return container_of(res, struct ib_mr, res)->device; in res_to_dev()
142 return container_of(res, struct ib_ucontext, res)->device; in res_to_dev()
144 return container_of(res, struct rdma_counter, res)->device; in res_to_dev()
146 return container_of(res, struct ib_srq, res)->device; in res_to_dev()
239 struct ib_qp *qp = container_of(res, struct ib_qp, res); in rdma_restrack_add()
254 counter = container_of(res, struct rdma_counter, res); in rdma_restrack_add()
304 res = container_of(kref, struct rdma_restrack_entry, kref); in restrack_release()