Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
584 ibucontext); in mthca_destroy_qp()
612 udata, struct mthca_ucontext, ibucontext); in mthca_create_cq()
805 ibucontext); in mthca_destroy_cq()
858 udata, struct mthca_ucontext, ibucontext); in mthca_reg_user_mr()
1118 INIT_RDMA_OBJ_SIZE(ib_ucontext, mthca_ucontext, ibucontext),
Dmthca_srq.c104 udata, struct mthca_ucontext, ibucontext); in mthca_tavor_init_srq_context()
125 udata, struct mthca_ucontext, ibucontext); in mthca_arbel_init_srq_context()
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa.h68 struct ib_ucontext ibucontext; member
147 int efa_alloc_ucontext(struct ib_ucontext *ibucontext, struct ib_udata *udata);
148 void efa_dealloc_ucontext(struct ib_ucontext *ibucontext);
149 int efa_mmap(struct ib_ucontext *ibucontext,
Defa_verbs.c118 static inline struct efa_ucontext *to_eucontext(struct ib_ucontext *ibucontext) in to_eucontext() argument
120 return container_of(ibucontext, struct efa_ucontext, ibucontext); in to_eucontext()
483 efa_user_mmap_entry_insert(&ucontext->ibucontext, in qp_mmap_entries_setup()
497 efa_user_mmap_entry_insert(&ucontext->ibucontext, in qp_mmap_entries_setup()
510 efa_user_mmap_entry_insert(&ucontext->ibucontext, in qp_mmap_entries_setup()
521 efa_user_mmap_entry_insert(&ucontext->ibucontext, in qp_mmap_entries_setup()
616 ibucontext); in efa_create_qp()
1004 cq->mmap_entry = efa_user_mmap_entry_insert(&cq->ucontext->ibucontext, in cq_mmap_entries_setup()
1018 udata, struct efa_ucontext, ibucontext); in efa_create_cq()
1646 static int efa_user_comp_handshake(const struct ib_ucontext *ibucontext, in efa_user_comp_handshake() argument
[all …]
/kernel/linux/linux-5.10/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()
277 ibucontext), in mlx4_ib_destroy_srq()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr.h229 struct ib_ucontext ibucontext; member
568 struct qedr_ucontext *get_qedr_ucontext(struct ib_ucontext *ibucontext) in get_qedr_ucontext() argument
570 return container_of(ibucontext, struct qedr_ucontext, ibucontext); in get_qedr_ucontext()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Ddevx.c853 dev = to_mdev(c->ibucontext.device); in devx_get_uid()
916 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
960 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
993 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
1362 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1363 struct mlx5_ib_dev *dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
1469 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1470 struct mlx5_ib_dev *mdev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
1514 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1518 struct mlx5_ib_dev *mdev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
[all …]
Ddoorbell.c67 page->umem = ib_umem_get(context->ibucontext.device, virt & PAGE_MASK, in mlx5_ib_db_map_user()
Dmlx5_ib.h123 struct ib_ucontext ibucontext; member
140 static inline struct mlx5_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext() argument
142 return container_of(ibucontext, struct mlx5_ib_ucontext, ibucontext); in to_mucontext()
1048 udata, struct mlx5_ib_ucontext, ibucontext); in mlx5_udata_to_mdev()
1050 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()
204 ibucontext), in destroy_srq_user()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw.h361 static inline struct i40iw_ucontext *to_ucontext(struct ib_ucontext *ibucontext) in to_ucontext() argument
363 return container_of(ibucontext, struct i40iw_ucontext, ibucontext); in to_ucontext()
Di40iw_verbs.h39 struct ib_ucontext ibucontext; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_cq.c184 struct hns_roce_ucontext, ibucontext); in alloc_cq_db()
220 ibucontext); in free_cq_db()
Dhns_roce_device.h278 struct ib_ucontext ibucontext; member
1021 *to_hr_ucontext(struct ib_ucontext *ibucontext) in to_hr_ucontext() argument
1023 return container_of(ibucontext, struct hns_roce_ucontext, ibucontext); in to_hr_ucontext()
Dhns_roce_db.c34 page->umem = ib_umem_get(context->ibucontext.device, page_addr, in hns_roce_db_map_user()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dprovider.c68 rhp = to_c4iw_dev(ucontext->ibucontext.device); in c4iw_dealloc_ucontext()
506 INIT_RDMA_OBJ_SIZE(ib_ucontext, c4iw_ucontext, ibucontext),
/kernel/linux/linux-5.10/include/rdma/
Drdma_vt.h151 struct ib_ucontext ibucontext; member

12