| /Linux-v4.19/drivers/infiniband/hw/mthca/ |
| D | mthca_provider.c | 353 mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar, in mthca_dealloc_ucontext() 354 to_mucontext(context)->db_tab); in mthca_dealloc_ucontext() 355 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar); in mthca_dealloc_ucontext() 356 kfree(to_mucontext(context)); in mthca_dealloc_ucontext() 370 to_mucontext(context)->uar.pfn, in mthca_mmap_uar() 459 context = to_mucontext(pd->uobject->context); in mthca_create_srq() 506 context = to_mucontext(srq->uobject->context); in mthca_destroy_srq() 541 context = to_mucontext(pd->uobject->context); in mthca_create_qp() 580 context = to_mucontext(pd->uobject->context); in mthca_create_qp() 639 &to_mucontext(qp->uobject->context)->uar, in mthca_destroy_qp() [all …]
|
| D | mthca_provider.h | 299 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|
| D | mthca_srq.c | 108 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index); in mthca_tavor_init_srq_context() 134 cpu_to_be32(to_mucontext(pd->ibpd.uobject->context)->uar.index); in mthca_arbel_init_srq_context()
|
| D | mthca_qp.c | 623 cpu_to_be32(to_mucontext(qp->ibqp.uobject->context)->uar.index); in __mthca_modify_qp()
|
| /Linux-v4.19/drivers/infiniband/hw/mlx4/ |
| D | srq.c | 132 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in mlx4_ib_create_srq() 206 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db); in mlx4_ib_create_srq() 282 mlx4_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx4_ib_destroy_srq()
|
| D | cq.c | 219 err = mlx4_ib_db_map_user(to_mucontext(context), ucmd.db_addr, in mlx4_ib_create_cq() 224 uar = &to_mucontext(context)->uar; in mlx4_ib_create_cq() 272 mlx4_ib_db_unmap_user(to_mucontext(context), &cq->db); in mlx4_ib_create_cq() 491 mlx4_ib_db_unmap_user(to_mucontext(cq->uobject->context), &mcq->db); in mlx4_ib_destroy_cq()
|
| D | qp.c | 1038 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in create_qp_common() 1111 err = mlx4_ib_alloc_wqn(to_mucontext(pd->uobject->context), qp, in create_qp_common() 1183 mlx4_ib_release_wqn(to_mucontext(pd->uobject->context), in create_qp_common() 1194 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &qp->db); in create_qp_common() 1395 mlx4_ib_release_wqn(to_mucontext( in destroy_qp_common() 1406 to_mucontext(qp->ibqp.uobject->context) : in destroy_qp_common() 1407 to_mucontext(qp->ibwq.uobject->context); in destroy_qp_common() 2166 to_mucontext(ibuobject->context) in __mlx4_ib_modify_qp()
|
| D | main.c | 1135 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext() 1187 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_disassociate_ucontext() 1218 struct mlx4_ib_ucontext *mucontext = to_mucontext(context); in mlx4_ib_mmap() 1231 to_mucontext(context)->uar.pfn, in mlx4_ib_mmap() 1245 to_mucontext(context)->uar.pfn + in mlx4_ib_mmap()
|
| D | mlx4_ib.h | 649 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|
| /Linux-v4.19/drivers/infiniband/hw/mlx5/ |
| D | srq.c | 105 err = get_srq_user_index(to_mucontext(pd->uobject->context), in create_srq_user() 138 err = mlx5_ib_db_map_user(to_mucontext(pd->uobject->context), in create_srq_user() 226 mlx5_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db); in destroy_srq_user() 425 mlx5_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx5_ib_destroy_srq()
|
| D | devx.c | 45 return to_mucontext(ib_uverbs_get_ucontext(file)); in devx_ufile2uctx() 724 struct mlx5_ib_ucontext *c = to_mucontext(uobj->context); in UVERBS_HANDLER() 777 struct mlx5_ib_ucontext *c = to_mucontext(uobj->context); in UVERBS_HANDLER() 814 struct mlx5_ib_ucontext *c = to_mucontext(uobj->context); in UVERBS_HANDLER() 926 struct mlx5_ib_ucontext *c = to_mucontext(uobj->context); in UVERBS_HANDLER()
|
| D | cq.c | 813 err = mlx5_ib_db_map_user(to_mucontext(context), ucmd.db_addr, in create_cq_user() 838 *index = to_mucontext(context)->bfregi.sys_pages[0]; in create_cq_user() 886 mlx5_ib_db_unmap_user(to_mucontext(context), &cq->db); in create_cq_user() 895 mlx5_ib_db_unmap_user(to_mucontext(context), &cq->db); in destroy_cq_user()
|
| D | qp.c | 705 context = to_mucontext(pd->uobject->context); in destroy_user_rq() 725 context = to_mucontext(pd->uobject->context); in create_user_rq() 799 context = to_mucontext(pd->uobject->context); in create_user_qp() 905 context = to_mucontext(pd->uobject->context); in destroy_qp_user() 1306 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_raw_packet_qp() 1400 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_rss_raw_qp_tir() 1700 err = get_qp_user_index(to_mucontext(pd->uobject->context), in create_qp_common() 2180 err = get_qp_user_index(to_mucontext(pd->uobject->context), in mlx5_ib_create_dct() 2267 } else if (!to_mucontext(pd->uobject->context)->cqe_version) { in mlx5_ib_create_qp()
|
| D | main.c | 1854 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext() 1975 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_disassociate_ucontext() 2157 struct mlx5_ib_ucontext *mctx = to_mucontext(context); in dm_mmap() 2185 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap() 2275 bitmap_set(to_mucontext(context)->dm_pages, page_idx, in mlx5_ib_alloc_dm() 2305 bitmap_clear(to_mucontext(ibdm->uobject->context)->dm_pages, in mlx5_ib_dealloc_dm()
|
| D | mlx5_ib.h | 144 static inline struct mlx5_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|