Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx5/
H A Dstd_types.c167 c = to_mucontext(ib_uverbs_get_ucontext(attrs)); in MLX5_IB_METHOD_QUERY_PORT()
201 c = to_mucontext(ib_uverbs_get_ucontext(attrs)); in MLX5_IB_METHOD_GET_DATA_DIRECT_SYSFS_PATH()
H A Dqos.c39 c = to_mucontext(ib_uverbs_get_ucontext(attrs)); in MLX5_IB_METHOD_PP_OBJ_ALLOC()
H A Ddm.c402 to_mucontext(ctx)->devx_uid, in handle_alloc_dm_sw_icm()
411 to_mucontext(ctx)->devx_uid, in handle_alloc_dm_sw_icm()
H A Dmain.c2097 struct mlx5_ib_ucontext *context = to_mucontext(uctx); in set_ucontext_resp()
2183 struct mlx5_ib_ucontext *context = to_mucontext(uctx); in mlx5_ib_alloc_ucontext()
2353 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext()
2526 struct mlx5_ib_ucontext *context = to_mucontext(entry->ucontext); in mlx5_ib_mmap_free()
2711 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap()
4199 c = to_mucontext(ib_uverbs_get_ucontext(attrs)); in MLX5_IB_METHOD_VAR_OBJ_ALLOC()
4313 c = to_mucontext(ib_uverbs_get_ucontext(attrs)); in MLX5_IB_METHOD_UAR_OBJ_ALLOC()
H A Dmlx5_ib.h203 static inline struct mlx5_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
H A Ddevx.c123 return to_mucontext(ib_uverbs_get_ucontext(attrs)); in devx_ufile2uctx()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c291 struct mthca_ucontext *context = to_mucontext(uctx); in mthca_alloc_ucontext()
327 mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar, in mthca_dealloc_ucontext()
328 to_mucontext(context)->db_tab); in mthca_dealloc_ucontext()
329 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar); in mthca_dealloc_ucontext()
341 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
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c1097 struct mlx4_ib_ucontext *context = to_mucontext(uctx); in mlx4_ib_alloc_ucontext()
1143 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext()
1159 to_mucontext(context)->uar.pfn, in mlx4_ib_mmap()
1169 to_mucontext(context)->uar.pfn + in mlx4_ib_mmap()
H A Dmlx4_ib.h678 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function