Searched refs:to_mucontext (Results 1 – 9 of 9) sorted by relevance
307 struct mthca_ucontext *context = to_mucontext(uctx); in mthca_alloc_ucontext()343 mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar, in mthca_dealloc_ucontext()344 to_mucontext(context)->db_tab); in mthca_dealloc_ucontext()345 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar); in mthca_dealloc_ucontext()357 to_mucontext(context)->uar.pfn, in mthca_mmap_uar()863 if (!to_mucontext(pd->uobject->context)->reg_mr_warned) { in mthca_reg_user_mr()868 ++to_mucontext(pd->uobject->context)->reg_mr_warned; in mthca_reg_user_mr()
301 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
634 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
1047 struct mlx4_ib_ucontext *context = to_mucontext(uctx); in mlx4_ib_alloc_ucontext()1089 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext()1101 to_mucontext(context)->uar.pfn, in mlx4_ib_mmap()1111 to_mucontext(context)->uar.pfn + in mlx4_ib_mmap()
764 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in create_qp_common()919 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &qp->db); in create_qp_common()
712 context = to_mucontext(pd->uobject->context); in create_user_rq()788 context = to_mucontext(pd->uobject->context); in create_user_qp()1280 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_raw_packet_qp()1369 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_rss_raw_qp_tir()1677 err = get_qp_user_index(to_mucontext(pd->uobject->context), in create_qp_common()2110 } else if (!to_mucontext(pd->uobject->context)->cqe_version) { in mlx5_ib_create_qp()
144 static inline struct mlx5_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
1267 struct mlx5_ib_ucontext *context = to_mucontext(uctx); in mlx5_ib_alloc_ucontext()1443 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext()1692 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap()
156 return to_mucontext(ib_uverbs_get_ucontext(attrs)); in devx_ufile2uctx()