Searched refs:to_mucontext (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 299 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|
D | mthca_provider.c | 309 struct mthca_ucontext *context = to_mucontext(uctx); in mthca_alloc_ucontext() 345 mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar, in mthca_dealloc_ucontext() 346 to_mucontext(context)->db_tab); in mthca_dealloc_ucontext() 347 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar); in mthca_dealloc_ucontext() 359 to_mucontext(context)->uar.pfn, in mthca_mmap_uar()
|
/Linux-v5.4/drivers/infiniband/hw/mlx4/ |
D | main.c | 1085 struct mlx4_ib_ucontext *context = to_mucontext(uctx); in mlx4_ib_alloc_ucontext() 1131 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext() 1147 to_mucontext(context)->uar.pfn, in mlx4_ib_mmap() 1156 to_mucontext(context)->uar.pfn + in mlx4_ib_mmap()
|
D | mlx4_ib.h | 646 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | main.c | 1776 struct mlx5_ib_ucontext *context = to_mucontext(uctx); in mlx5_ib_alloc_ucontext() 1994 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext() 2197 struct mlx5_ib_ucontext *mctx = to_mucontext(context); in dm_mmap() 2218 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap() 2322 bitmap_set(to_mucontext(ctx)->dm_pages, page_idx, in handle_alloc_dm_memic() 2351 to_mucontext(ctx)->devx_uid, &dm->dev_addr, in handle_alloc_dm_sw_icm() 2361 to_mucontext(ctx)->devx_uid, dm->dev_addr, in handle_alloc_dm_sw_icm()
|
D | mlx5_ib.h | 144 static inline struct mlx5_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|
D | devx.c | 126 return to_mucontext(ib_uverbs_get_ucontext(attrs)); in devx_ufile2uctx()
|