Lines Matching refs:to_mucontext
351 mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar, in mthca_dealloc_ucontext()
352 to_mucontext(context)->db_tab); in mthca_dealloc_ucontext()
353 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar); in mthca_dealloc_ucontext()
354 kfree(to_mucontext(context)); in mthca_dealloc_ucontext()
368 to_mucontext(context)->uar.pfn, in mthca_mmap_uar()
456 context = to_mucontext(pd->uobject->context); in mthca_create_srq()
503 context = to_mucontext(srq->uobject->context); in mthca_destroy_srq()
538 context = to_mucontext(pd->uobject->context); in mthca_create_qp()
577 context = to_mucontext(pd->uobject->context); in mthca_create_qp()
636 &to_mucontext(qp->uobject->context)->uar, in mthca_destroy_qp()
637 to_mucontext(qp->uobject->context)->db_tab, in mthca_destroy_qp()
640 &to_mucontext(qp->uobject->context)->uar, in mthca_destroy_qp()
641 to_mucontext(qp->uobject->context)->db_tab, in mthca_destroy_qp()
670 err = mthca_map_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
671 to_mucontext(context)->db_tab, in mthca_create_cq()
676 err = mthca_map_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
677 to_mucontext(context)->db_tab, in mthca_create_cq()
699 context ? to_mucontext(context) : NULL, in mthca_create_cq()
720 mthca_unmap_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
721 to_mucontext(context)->db_tab, ucmd.arm_db_index); in mthca_create_cq()
725 mthca_unmap_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
726 to_mucontext(context)->db_tab, ucmd.set_db_index); in mthca_create_cq()
856 &to_mucontext(cq->uobject->context)->uar, in mthca_destroy_cq()
857 to_mucontext(cq->uobject->context)->db_tab, in mthca_destroy_cq()
860 &to_mucontext(cq->uobject->context)->uar, in mthca_destroy_cq()
861 to_mucontext(cq->uobject->context)->db_tab, in mthca_destroy_cq()
916 if (!to_mucontext(pd->uobject->context)->reg_mr_warned) { in mthca_reg_user_mr()
921 ++to_mucontext(pd->uobject->context)->reg_mr_warned; in mthca_reg_user_mr()