Home
last modified time | relevance | path

Searched refs:to_mucontext (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_provider.c347 mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar, in mthca_dealloc_ucontext()
348 to_mucontext(context)->db_tab); in mthca_dealloc_ucontext()
349 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar); in mthca_dealloc_ucontext()
350 kfree(to_mucontext(context)); in mthca_dealloc_ucontext()
364 to_mucontext(context)->uar.pfn, in mthca_mmap_uar()
451 context = to_mucontext(pd->uobject->context); in mthca_create_srq()
498 context = to_mucontext(srq->uobject->context); in mthca_destroy_srq()
533 context = to_mucontext(pd->uobject->context); in mthca_create_qp()
572 context = to_mucontext(pd->uobject->context); in mthca_create_qp()
631 &to_mucontext(qp->uobject->context)->uar, in mthca_destroy_qp()
[all …]
Dmthca_provider.h299 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
Dmthca_srq.c108 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index); in mthca_tavor_init_srq_context()
134 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index); in mthca_arbel_init_srq_context()
Dmthca_qp.c609 cpu_to_be32(to_mucontext(qp->ibqp.uobject->context)->uar.index); in __mthca_modify_qp()
/linux-3.4.99/drivers/infiniband/hw/mlx4/
Dsrq.c132 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in mlx4_ib_create_srq()
204 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db); in mlx4_ib_create_srq()
280 mlx4_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx4_ib_destroy_srq()
Dcq.c202 err = mlx4_ib_db_map_user(to_mucontext(context), ucmd.db_addr, in mlx4_ib_create_cq()
207 uar = &to_mucontext(context)->uar; in mlx4_ib_create_cq()
243 mlx4_ib_db_unmap_user(to_mucontext(context), &cq->db); in mlx4_ib_create_cq()
450 mlx4_ib_db_unmap_user(to_mucontext(cq->uobject->context), &mcq->db); in mlx4_ib_destroy_cq()
Dmlx4_ib.h212 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
Dmain.c548 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext()
567 to_mucontext(context)->uar.pfn, in mlx4_ib_mmap()
574 to_mucontext(context)->uar.pfn + in mlx4_ib_mmap()
Dqp.c524 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in create_qp_common()
606 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &qp->db); in create_qp_common()
745 mlx4_ib_db_unmap_user(to_mucontext(qp->ibqp.uobject->context), in destroy_qp_common()
1075 context->usr_page = cpu_to_be32(to_mucontext(ibqp->uobject->context)->uar.index); in __mlx4_ib_modify_qp()