Lines Matching refs:to_mucontext

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()
632 to_mucontext(qp->uobject->context)->db_tab, in mthca_destroy_qp()
635 &to_mucontext(qp->uobject->context)->uar, in mthca_destroy_qp()
636 to_mucontext(qp->uobject->context)->db_tab, in mthca_destroy_qp()
661 err = mthca_map_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
662 to_mucontext(context)->db_tab, in mthca_create_cq()
667 err = mthca_map_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
668 to_mucontext(context)->db_tab, in mthca_create_cq()
690 context ? to_mucontext(context) : NULL, in mthca_create_cq()
711 mthca_unmap_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
712 to_mucontext(context)->db_tab, ucmd.arm_db_index); in mthca_create_cq()
716 mthca_unmap_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
717 to_mucontext(context)->db_tab, ucmd.set_db_index); in mthca_create_cq()
847 &to_mucontext(cq->uobject->context)->uar, in mthca_destroy_cq()
848 to_mucontext(cq->uobject->context)->db_tab, in mthca_destroy_cq()
851 &to_mucontext(cq->uobject->context)->uar, in mthca_destroy_cq()
852 to_mucontext(cq->uobject->context)->db_tab, in mthca_destroy_cq()
990 if (!to_mucontext(pd->uobject->context)->reg_mr_warned) { in mthca_reg_user_mr()
995 ++to_mucontext(pd->uobject->context)->reg_mr_warned; in mthca_reg_user_mr()