Home
last modified time | relevance | path

Searched refs:hns_roce_ucontext (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_db.c11 int hns_roce_db_map_user(struct hns_roce_ucontext *context, unsigned long virt, in hns_roce_db_map_user()
56 void hns_roce_db_unmap_user(struct hns_roce_ucontext *context, in hns_roce_db_unmap_user()
Dhns_roce_cq.c229 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()
Dhns_roce_device.h228 struct hns_roce_ucontext { struct
1006 static inline struct hns_roce_ucontext
1009 return container_of(ibucontext, struct hns_roce_ucontext, ibucontext); in to_hr_ucontext()
1243 int hns_roce_db_map_user(struct hns_roce_ucontext *context, unsigned long virt,
1245 void hns_roce_db_unmap_user(struct hns_roce_ucontext *context,
Dhns_roce_main.c298 struct hns_roce_ucontext *context = to_hr_ucontext(uctx); in hns_roce_alloc_ucontext()
336 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_dealloc_ucontext()
459 INIT_RDMA_OBJ_SIZE(ib_ucontext, hns_roce_ucontext, ibucontext),
Dhns_roce_qp.c832 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context(udata, in alloc_user_qp_db()
833 struct hns_roce_ucontext, ibucontext); in alloc_user_qp_db()
928 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context( in free_qp_db()
929 udata, struct hns_roce_ucontext, ibucontext); in free_qp_db()