Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_db.c10 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()
Dhns_roce_cq.c230 struct hns_roce_ucontext *uctx; in alloc_cq_db()
237 struct hns_roce_ucontext, ibucontext); in alloc_cq_db()
263 struct hns_roce_ucontext *uctx; in free_cq_db()
271 struct hns_roce_ucontext, in free_cq_db()
Dhns_roce_qp.c814 struct hns_roce_ucontext *uctx = in qp_mmap_entry()
816 struct hns_roce_ucontext, ibucontext); in qp_mmap_entry()
845 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context(udata, in alloc_user_qp_db()
846 struct hns_roce_ucontext, ibucontext); in alloc_user_qp_db()
953 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context( in free_qp_db()
954 udata, struct hns_roce_ucontext, ibucontext); in free_qp_db()
1013 struct hns_roce_ucontext *uctx; in set_qp_param()
1038 uctx = rdma_udata_to_drv_context(udata, struct hns_roce_ucontext, in set_qp_param()
Dhns_roce_device.h201 struct hns_roce_ucontext { struct
985 static inline struct hns_roce_ucontext
988 return container_of(ibucontext, struct hns_roce_ucontext, ibucontext); in to_hr_ucontext()
1220 int hns_roce_db_map_user(struct hns_roce_ucontext *context, unsigned long virt,
1222 void hns_roce_db_unmap_user(struct hns_roce_ucontext *context,
Dhns_roce_main.c336 static void hns_roce_dealloc_uar_entry(struct hns_roce_ucontext *context) in hns_roce_dealloc_uar_entry()
345 struct hns_roce_ucontext *context = to_hr_ucontext(uctx); in hns_roce_alloc_uar_entry()
360 struct hns_roce_ucontext *context = to_hr_ucontext(uctx); in hns_roce_alloc_ucontext()
432 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_dealloc_ucontext()
644 INIT_RDMA_OBJ_SIZE(ib_ucontext, hns_roce_ucontext, ibucontext),
Dhns_roce_hw_v2.c4465 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context(udata, in modify_qp_init_to_rtr()
4466 struct hns_roce_ucontext, ibucontext); in modify_qp_init_to_rtr()