Home
last modified time | relevance | path

Searched refs:ibucontext (Results 1 – 25 of 49) sorted by relevance

12

/drivers/infiniband/hw/usnic/
Dusnic_ib.h53 struct ib_ucontext ibucontext; member
107 struct usnic_ib_ucontext *to_ucontext(struct ib_ucontext *ibucontext) in to_ucontext() argument
109 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); in to_ucontext()
119 struct usnic_ib_ucontext *to_uucontext(struct ib_ucontext *ibucontext) in to_uucontext() argument
121 return container_of(ibucontext, struct usnic_ib_ucontext, ibucontext); in to_uucontext()
/drivers/infiniband/hw/mthca/
Dmthca_provider.h65 struct ib_ucontext ibucontext; member
281 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() argument
283 return container_of(ibucontext, struct mthca_ucontext, ibucontext); in to_mucontext()
Dmthca_provider.c405 udata, struct mthca_ucontext, ibucontext); in mthca_create_srq()
452 ibucontext); in mthca_destroy_srq()
467 udata, struct mthca_ucontext, ibucontext); in mthca_create_qp()
567 ibucontext); in mthca_destroy_qp()
594 udata, struct mthca_ucontext, ibucontext); in mthca_create_cq()
787 ibucontext); in mthca_destroy_cq()
840 udata, struct mthca_ucontext, ibucontext); in mthca_reg_user_mr()
1107 INIT_RDMA_OBJ_SIZE(ib_ucontext, mthca_ucontext, ibucontext),
/drivers/infiniband/hw/efa/
Defa.h67 struct ib_ucontext ibucontext; member
145 int efa_alloc_ucontext(struct ib_ucontext *ibucontext, struct ib_udata *udata);
146 void efa_dealloc_ucontext(struct ib_ucontext *ibucontext);
147 int efa_mmap(struct ib_ucontext *ibucontext,
Defa_verbs.c128 static inline struct efa_ucontext *to_eucontext(struct ib_ucontext *ibucontext) in to_eucontext() argument
130 return container_of(ibucontext, struct efa_ucontext, ibucontext); in to_eucontext()
492 efa_user_mmap_entry_insert(&ucontext->ibucontext, in qp_mmap_entries_setup()
506 efa_user_mmap_entry_insert(&ucontext->ibucontext, in qp_mmap_entries_setup()
519 efa_user_mmap_entry_insert(&ucontext->ibucontext, in qp_mmap_entries_setup()
530 efa_user_mmap_entry_insert(&ucontext->ibucontext, in qp_mmap_entries_setup()
624 ibucontext); in efa_create_qp()
1007 cq->mmap_entry = efa_user_mmap_entry_insert(&cq->ucontext->ibucontext, in cq_mmap_entries_setup()
1021 udata, struct efa_ucontext, ibucontext); in efa_create_cq()
1652 static int efa_user_comp_handshake(const struct ib_ucontext *ibucontext, in efa_user_comp_handshake() argument
[all …]
/drivers/infiniband/hw/mlx4/
Ddoorbell.c51 udata, struct mlx4_ib_ucontext, ibucontext); in mlx4_ib_db_map_user()
67 page->umem = ib_umem_get(context->ibucontext.device, virt & PAGE_MASK, in mlx4_ib_db_map_user()
Dmlx4_ib.h84 struct ib_ucontext ibucontext; member
673 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() argument
675 return container_of(ibucontext, struct mlx4_ib_ucontext, ibucontext); in to_mucontext()
Dsrq.c78 udata, struct mlx4_ib_ucontext, ibucontext); in mlx4_ib_create_srq()
281 ibucontext), in mlx4_ib_destroy_srq()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma.h121 struct ib_ucontext ibucontext; member
264 pvrdma_ucontext *to_vucontext(struct ib_ucontext *ibucontext) in to_vucontext() argument
266 return container_of(ibucontext, struct pvrdma_ucontext, ibucontext); in to_vucontext()
Dpvrdma_verbs.c354 pvrdma_dealloc_ucontext(&context->ibucontext); in pvrdma_alloc_ucontext()
439 udata, struct pvrdma_ucontext, ibucontext); in pvrdma_alloc_pd()
/drivers/infiniband/hw/ocrdma/
Docrdma.h433 struct ib_ucontext ibucontext; member
461 *ibucontext) in get_ocrdma_ucontext() argument
463 return container_of(ibucontext, struct ocrdma_ucontext, ibucontext); in get_ocrdma_ucontext()
/drivers/infiniband/hw/mlx5/
Ddevx.c938 dev = to_mdev(c->ibucontext.device); in devx_get_uid()
1001 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
1045 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
1078 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
1474 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1475 struct mlx5_ib_dev *dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
1589 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1590 struct mlx5_ib_dev *mdev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
1634 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1638 struct mlx5_ib_dev *mdev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
[all …]
Ddoorbell.c68 page->umem = ib_umem_get(context->ibucontext.device, virt & PAGE_MASK, in mlx5_ib_db_map_user()
Dmlx5_ib.h191 struct ib_ucontext ibucontext; member
208 static inline struct mlx5_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() argument
210 return container_of(ibucontext, struct mlx5_ib_ucontext, ibucontext); in to_mucontext()
1126 udata, struct mlx5_ib_ucontext, ibucontext); in mlx5_udata_to_mdev()
1128 return to_mdev(context->ibucontext.device); in mlx5_udata_to_mdev()
Dqos.c47 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
Dsrq.c51 udata, struct mlx5_ib_ucontext, ibucontext); in create_srq_user()
179 ibucontext), in destroy_srq_user()
Dstd_types.c171 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
/drivers/infiniband/hw/qedr/
Dqedr.h229 struct ib_ucontext ibucontext; member
569 struct qedr_ucontext *get_qedr_ucontext(struct ib_ucontext *ibucontext) in get_qedr_ucontext() argument
571 return container_of(ibucontext, struct qedr_ucontext, ibucontext); in get_qedr_ucontext()
/drivers/infiniband/hw/irdma/
Dmain.h361 static inline struct irdma_ucontext *to_ucontext(struct ib_ucontext *ibucontext) in to_ucontext() argument
363 return container_of(ibucontext, struct irdma_ucontext, ibucontext); in to_ucontext()
Dverbs.h13 struct ib_ucontext ibucontext; member
Dverbs.c128 return rdma_user_mmap_io(&ucontext->ibucontext, vma, pfn, PAGE_SIZE, in irdma_mmap_legacy()
152 ret = rdma_user_mmap_entry_insert(&ucontext->ibucontext, in irdma_user_mmap_entry_insert()
182 rdma_entry = rdma_user_mmap_entry_get(&ucontext->ibucontext, vma); in irdma_mmap()
378 ibucontext); in irdma_alloc_pd()
882 ibucontext); in irdma_create_qp()
1418 struct irdma_ucontext, ibucontext); in irdma_modify_qp_roce()
1655 struct irdma_ucontext, ibucontext); in irdma_modify_qp()
1826 ibucontext); in irdma_resize_cq()
1993 ibucontext); in irdma_create_cq()
2813 ibucontext); in irdma_reg_user_mr()
[all …]
/drivers/infiniband/hw/hns/
Dhns_roce_device.h230 struct ib_ucontext ibucontext; member
1013 *to_hr_ucontext(struct ib_ucontext *ibucontext) in to_hr_ucontext() argument
1015 return container_of(ibucontext, struct hns_roce_ucontext, ibucontext); in to_hr_ucontext()
Dhns_roce_cq.c236 struct hns_roce_ucontext, ibucontext); in alloc_cq_db()
271 ibucontext); in free_cq_db()
Dhns_roce_db.c33 page->umem = ib_umem_get(context->ibucontext.device, page_addr, in hns_roce_db_map_user()
/drivers/infiniband/hw/cxgb4/
Dprovider.c68 rhp = to_c4iw_dev(ucontext->ibucontext.device); in c4iw_dealloc_ucontext()
504 INIT_RDMA_OBJ_SIZE(ib_ucontext, c4iw_ucontext, ibucontext),

12