Home
last modified time | relevance | path

Searched refs:to_mucontext (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dqos.c39 c = to_mucontext(ib_uverbs_get_ucontext(attrs)); in UVERBS_HANDLER()
H A Dmain.c1737 struct mlx5_ib_ucontext *context = to_mucontext(uctx); in set_ucontext_resp()
1825 struct mlx5_ib_ucontext *context = to_mucontext(uctx); in mlx5_ib_alloc_ucontext()
1982 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext()
2285 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap()
2424 to_mucontext(ctx)->devx_uid, &dm->dev_addr, in handle_alloc_dm_sw_icm()
2434 to_mucontext(ctx)->devx_uid, dm->dev_addr, in handle_alloc_dm_sw_icm()
3686 c = to_mucontext(ib_uverbs_get_ucontext(attrs)); in UVERBS_HANDLER()
3800 c = to_mucontext(ib_uverbs_get_ucontext(attrs)); in UVERBS_HANDLER()
H A Dmlx5_ib.h140 static inline struct mlx5_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
H A Ddevx.c112 return to_mucontext(ib_uverbs_get_ucontext(attrs)); in devx_ufile2uctx()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c299 struct mthca_ucontext *context = to_mucontext(uctx); in mthca_alloc_ucontext()
335 mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar, in mthca_dealloc_ucontext()
336 to_mucontext(context)->db_tab); in mthca_dealloc_ucontext()
337 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar); in mthca_dealloc_ucontext()
349 to_mucontext(context)->uar.pfn, in mthca_mmap_uar()
H A Dmthca_provider.h281 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx4/
H A Dmain.c1098 struct mlx4_ib_ucontext *context = to_mucontext(uctx); in mlx4_ib_alloc_ucontext()
1144 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext()
1160 to_mucontext(context)->uar.pfn, in mlx4_ib_mmap()
1170 to_mucontext(context)->uar.pfn + in mlx4_ib_mmap()
H A Dmlx4_ib.h673 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function