Searched refs:to_mucontext (Results 1 – 14 of 14) sorted by relevance
| /freebsd-12-stable/sys/dev/mthca/ |
| D | mthca_provider.c | 351 mthca_cleanup_user_db_tab(to_mdev(context->device), &to_mucontext(context)->uar, in mthca_dealloc_ucontext() 352 to_mucontext(context)->db_tab); in mthca_dealloc_ucontext() 353 mthca_uar_free(to_mdev(context->device), &to_mucontext(context)->uar); in mthca_dealloc_ucontext() 354 kfree(to_mucontext(context)); in mthca_dealloc_ucontext() 368 to_mucontext(context)->uar.pfn, in mthca_mmap_uar() 456 context = to_mucontext(pd->uobject->context); in mthca_create_srq() 503 context = to_mucontext(srq->uobject->context); in mthca_destroy_srq() 538 context = to_mucontext(pd->uobject->context); in mthca_create_qp() 577 context = to_mucontext(pd->uobject->context); in mthca_create_qp() 636 &to_mucontext(qp->uobject->context)->uar, in mthca_destroy_qp() [all …]
|
| D | mthca_provider.h | 301 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 | 611 cpu_to_be32(to_mucontext(qp->ibqp.uobject->context)->uar.index); in __mthca_modify_qp()
|
| /freebsd-12-stable/sys/dev/mlx5/mlx5_ib/ |
| D | mlx5_ib_srq.c | 100 err = get_srq_user_index(to_mucontext(pd->uobject->context), in create_srq_user() 133 err = mlx5_ib_db_map_user(to_mucontext(pd->uobject->context), in create_srq_user() 222 mlx5_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db); in destroy_srq_user() 406 mlx5_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx5_ib_destroy_srq()
|
| D | mlx5_ib_cq.c | 781 err = mlx5_ib_db_map_user(to_mucontext(context), ucmd.db_addr, in create_cq_user() 806 *index = to_mucontext(context)->uuari.uars[0].index; in create_cq_user() 811 mlx5_ib_db_unmap_user(to_mucontext(context), &cq->db); in create_cq_user() 820 mlx5_ib_db_unmap_user(to_mucontext(context), &cq->db); in destroy_cq_user()
|
| D | mlx5_ib_qp.c | 696 context = to_mucontext(pd->uobject->context); in destroy_user_rq() 716 context = to_mucontext(pd->uobject->context); in create_user_rq() 783 context = to_mucontext(pd->uobject->context); in create_user_qp() 887 context = to_mucontext(pd->uobject->context); in destroy_qp_user() 1242 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_raw_packet_qp() 1330 struct mlx5_ib_ucontext *mucontext = to_mucontext(ucontext); in create_rss_raw_qp_tir() 1591 err = get_qp_user_index(to_mucontext(pd->uobject->context), in create_qp_common() 2020 } else if (!to_mucontext(pd->uobject->context)->cqe_version) { in mlx5_ib_create_qp()
|
| D | mlx5_ib.h | 123 static inline struct mlx5_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|
| D | mlx5_ib_main.c | 1303 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_dealloc_ucontext() 1412 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_disassociate_ucontext() 1544 struct mlx5_ib_ucontext *context = to_mucontext(ibcontext); in mlx5_ib_mmap()
|
| /freebsd-12-stable/sys/dev/mlx4/mlx4_ib/ |
| D | mlx4_ib_srq.c | 132 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in mlx4_ib_create_srq() 210 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &srq->db); in mlx4_ib_create_srq() 286 mlx4_ib_db_unmap_user(to_mucontext(srq->uobject->context), &msrq->db); in mlx4_ib_destroy_srq()
|
| D | mlx4_ib_cq.c | 216 err = mlx4_ib_db_map_user(to_mucontext(context), ucmd.db_addr, in mlx4_ib_create_cq() 221 uar = &to_mucontext(context)->uar; in mlx4_ib_create_cq() 264 mlx4_ib_db_unmap_user(to_mucontext(context), &cq->db); in mlx4_ib_create_cq() 483 mlx4_ib_db_unmap_user(to_mucontext(cq->uobject->context), &mcq->db); in mlx4_ib_destroy_cq()
|
| D | mlx4_ib.h | 639 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() function
|
| D | mlx4_ib_main.c | 1097 struct mlx4_ib_ucontext *context = to_mucontext(ibcontext); in mlx4_ib_dealloc_ucontext() 1156 struct mlx4_ib_ucontext *mucontext = to_mucontext(context); in mlx4_ib_mmap() 1169 to_mucontext(context)->uar.pfn, in mlx4_ib_mmap() 1183 to_mucontext(context)->uar.pfn + in mlx4_ib_mmap()
|
| D | mlx4_ib_qp.c | 763 err = mlx4_ib_db_map_user(to_mucontext(pd->uobject->context), in create_qp_common() 918 mlx4_ib_db_unmap_user(to_mucontext(pd->uobject->context), &qp->db); in create_qp_common() 1092 mlx4_ib_db_unmap_user(to_mucontext(qp->ibqp.uobject->context), in destroy_qp_common() 1705 to_mucontext(ibqp->uobject->context)->uar.index)); in __mlx4_ib_modify_qp()
|