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()
455 context = to_mucontext(pd->uobject->context); in mthca_create_srq()
502 context = to_mucontext(srq->uobject->context); in mthca_destroy_srq()
537 context = to_mucontext(pd->uobject->context); in mthca_create_qp()
576 context = to_mucontext(pd->uobject->context); in mthca_create_qp()
635 &to_mucontext(qp->uobject->context)->uar, in mthca_destroy_qp()
636 to_mucontext(qp->uobject->context)->db_tab, in mthca_destroy_qp()
639 &to_mucontext(qp->uobject->context)->uar, in mthca_destroy_qp()
640 to_mucontext(qp->uobject->context)->db_tab, in mthca_destroy_qp()
669 err = mthca_map_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
670 to_mucontext(context)->db_tab, in mthca_create_cq()
675 err = mthca_map_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
676 to_mucontext(context)->db_tab, in mthca_create_cq()
698 context ? to_mucontext(context) : NULL, in mthca_create_cq()
719 mthca_unmap_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
720 to_mucontext(context)->db_tab, ucmd.arm_db_index); in mthca_create_cq()
724 mthca_unmap_user_db(to_mdev(ibdev), &to_mucontext(context)->uar, in mthca_create_cq()
725 to_mucontext(context)->db_tab, ucmd.set_db_index); in mthca_create_cq()
855 &to_mucontext(cq->uobject->context)->uar, in mthca_destroy_cq()
856 to_mucontext(cq->uobject->context)->db_tab, in mthca_destroy_cq()
859 &to_mucontext(cq->uobject->context)->uar, in mthca_destroy_cq()
860 to_mucontext(cq->uobject->context)->db_tab, in mthca_destroy_cq()
998 if (!to_mucontext(pd->uobject->context)->reg_mr_warned) { in mthca_reg_user_mr()
1003 ++to_mucontext(pd->uobject->context)->reg_mr_warned; in mthca_reg_user_mr()