Searched refs:hns_roce_ucontext (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_cq.c | 229 struct hns_roce_ucontext *uctx; in alloc_cq_db() 236 struct hns_roce_ucontext, ibucontext); in alloc_cq_db() 262 struct hns_roce_ucontext *uctx; in free_cq_db() 270 struct hns_roce_ucontext, in free_cq_db()
|
H A D | hns_roce_db.c | 10 int hns_roce_db_map_user(struct hns_roce_ucontext *context, unsigned long virt, in hns_roce_db_map_user() 55 void hns_roce_db_unmap_user(struct hns_roce_ucontext *context, in hns_roce_db_unmap_user()
|
H A D | hns_roce_qp.c | 832 struct hns_roce_ucontext *uctx = in qp_mmap_entry() 834 struct hns_roce_ucontext, ibucontext); in qp_mmap_entry() 864 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context(udata, in alloc_user_qp_db() 865 struct hns_roce_ucontext, ibucontext); in alloc_user_qp_db() 973 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context( in free_qp_db() 974 udata, struct hns_roce_ucontext, ibucontext); in free_qp_db() 1033 struct hns_roce_ucontext *uctx; in set_qp_param() 1058 uctx = rdma_udata_to_drv_context(udata, struct hns_roce_ucontext, in set_qp_param()
|
H A D | hns_roce_device.h | 207 struct hns_roce_ucontext { struct 991 static inline struct hns_roce_ucontext 994 return container_of(ibucontext, struct hns_roce_ucontext, ibucontext); in to_hr_ucontext() 1231 int hns_roce_db_map_user(struct hns_roce_ucontext *context, unsigned long virt, 1233 void hns_roce_db_unmap_user(struct hns_roce_ucontext *context,
|
H A D | hns_roce_main.c | 337 static void hns_roce_dealloc_uar_entry(struct hns_roce_ucontext *context) in hns_roce_dealloc_uar_entry() 346 struct hns_roce_ucontext *context = to_hr_ucontext(uctx); in hns_roce_alloc_uar_entry() 361 struct hns_roce_ucontext *context = to_hr_ucontext(uctx); in hns_roce_alloc_ucontext() 433 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_dealloc_ucontext() 634 INIT_RDMA_OBJ_SIZE(ib_ucontext, hns_roce_ucontext, ibucontext),
|
H A D | hns_roce_hw_v2.c | 4473 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context(udata, in modify_qp_init_to_rtr() 4474 struct hns_roce_ucontext, ibucontext); in modify_qp_init_to_rtr()
|