Searched refs:to_mucontext (Results 1 – 9 of 9) sorted by relevance
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 347 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 …]
|
D | mthca_provider.h | 299 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|
D | mthca_srq.c | 108 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()
|
D | mthca_qp.c | 611 cpu_to_be32(to_mucontext(qp->ibqp.uobject->context)->uar.index); in __mthca_modify_qp()
|
/drivers/infiniband/hw/mlx4/ |
D | srq.c | 132 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()
|
D | cq.c | 205 err = mlx4_ib_db_map_user(to_mucontext(context), ucmd.db_addr, in mlx4_ib_create_cq() 210 uar = &to_mucontext(context)->uar; in mlx4_ib_create_cq() 249 mlx4_ib_db_unmap_user(to_mucontext(context), &cq->db); in mlx4_ib_create_cq() 464 mlx4_ib_db_unmap_user(to_mucontext(cq->uobject->context), &mcq->db); in mlx4_ib_destroy_cq()
|
D | main.c | 622 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext() 641 to_mucontext(context)->uar.pfn, in mlx4_ib_mmap() 648 to_mucontext(context)->uar.pfn + in mlx4_ib_mmap()
|
D | mlx4_ib.h | 511 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|
D | qp.c | 705 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in create_qp_common() 801 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &qp->db); in create_qp_common() 942 mlx4_ib_db_unmap_user(to_mucontext(qp->ibqp.uobject->context), in destroy_qp_common() 1300 context->usr_page = cpu_to_be32(to_mucontext(ibqp->uobject->context)->uar.index); in __mlx4_ib_modify_qp()
|