/drivers/infiniband/hw/usnic/ |
D | usnic_ib.h | 53 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/ |
D | mthca_provider.h | 65 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()
|
D | mthca_provider.c | 405 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/ |
D | efa.h | 67 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,
|
D | efa_verbs.c | 128 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/ |
D | doorbell.c | 51 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()
|
D | mlx4_ib.h | 84 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()
|
D | srq.c | 78 udata, struct mlx4_ib_ucontext, ibucontext); in mlx4_ib_create_srq() 281 ibucontext), in mlx4_ib_destroy_srq()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma.h | 121 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()
|
D | pvrdma_verbs.c | 354 pvrdma_dealloc_ucontext(&context->ibucontext); in pvrdma_alloc_ucontext() 439 udata, struct pvrdma_ucontext, ibucontext); in pvrdma_alloc_pd()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 433 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/ |
D | devx.c | 938 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 …]
|
D | doorbell.c | 68 page->umem = ib_umem_get(context->ibucontext.device, virt & PAGE_MASK, in mlx5_ib_db_map_user()
|
D | mlx5_ib.h | 191 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()
|
D | qos.c | 47 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
|
D | srq.c | 51 udata, struct mlx5_ib_ucontext, ibucontext); in create_srq_user() 179 ibucontext), in destroy_srq_user()
|
D | std_types.c | 171 dev = to_mdev(c->ibucontext.device); in UVERBS_HANDLER()
|
/drivers/infiniband/hw/qedr/ |
D | qedr.h | 229 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/ |
D | main.h | 361 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()
|
D | verbs.h | 13 struct ib_ucontext ibucontext; member
|
D | verbs.c | 128 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/ |
D | hns_roce_device.h | 230 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()
|
D | hns_roce_cq.c | 236 struct hns_roce_ucontext, ibucontext); in alloc_cq_db() 271 ibucontext); in free_cq_db()
|
D | hns_roce_db.c | 33 page->umem = ib_umem_get(context->ibucontext.device, page_addr, in hns_roce_db_map_user()
|
/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 68 rhp = to_c4iw_dev(ucontext->ibucontext.device); in c4iw_dealloc_ucontext() 504 INIT_RDMA_OBJ_SIZE(ib_ucontext, c4iw_ucontext, ibucontext),
|