to_mucontext
struct mlx4_ib_ucontext *context = to_mucontext(uctx);
struct mlx4_ib_ucontext *context = to_mucontext(ibcontext);
to_mucontext(context)->uar.pfn,
to_mucontext(context)->uar.pfn +
err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context),
mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &qp->db);
return to_mucontext(ib_uverbs_get_ucontext(attrs));
struct mlx5_ib_ucontext *context = to_mucontext(uctx);
struct mlx5_ib_ucontext *context = to_mucontext(ibcontext);
struct mlx5_ib_ucontext *context = to_mucontext(ibcontext);
struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext);
struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext);
err = get_qp_user_index(to_mucontext(pd->uobject->context),
} else if (!to_mucontext(pd->uobject->context)->cqe_version) {
context = to_mucontext(pd->uobject->context);
context = to_mucontext(pd->uobject->context);
struct mthca_ucontext *context = to_mucontext(uctx);
mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar,
to_mucontext(context)->db_tab);
mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar);
to_mucontext(context)->uar.pfn,
if (!to_mucontext(pd->uobject->context)->reg_mr_warned) {
++to_mucontext(pd->uobject->context)->reg_mr_warned;