Home
last modified time | relevance | path

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

/Linux-v6.1/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_main.c333 static void hns_roce_dealloc_uar_entry(struct hns_roce_ucontext *context) in hns_roce_dealloc_uar_entry()
342 struct hns_roce_ucontext *context = to_hr_ucontext(uctx); in hns_roce_alloc_uar_entry()
358 struct hns_roce_ucontext *context = to_hr_ucontext(uctx); in hns_roce_alloc_ucontext()
403 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_dealloc_ucontext()
535 INIT_RDMA_OBJ_SIZE(ib_ucontext, hns_roce_ucontext, ibucontext),
Dhns_roce_device.h199 struct hns_roce_ucontext { struct
969 static inline struct hns_roce_ucontext
972 return container_of(ibucontext, struct hns_roce_ucontext, ibucontext); in to_hr_ucontext()
1208 int hns_roce_db_map_user(struct hns_roce_ucontext *context, unsigned long virt,
1210 void hns_roce_db_unmap_user(struct hns_roce_ucontext *context,
Dhns_roce_qp.c790 struct hns_roce_ucontext *uctx = in qp_mmap_entry()
792 struct hns_roce_ucontext, ibucontext); in qp_mmap_entry()
821 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context(udata, in alloc_user_qp_db()
822 struct hns_roce_ucontext, ibucontext); in alloc_user_qp_db()
929 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context( in free_qp_db()
930 udata, struct hns_roce_ucontext, ibucontext); in free_qp_db()