Home
last modified time | relevance | path

Searched refs:hns_roce_ucontext (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
H A Dhns_roce_cq.c177 struct hns_roce_ucontext *uctx; in alloc_cq_db()
184 struct hns_roce_ucontext, ibucontext); in alloc_cq_db()
211 struct hns_roce_ucontext *uctx; in free_cq_db()
219 struct hns_roce_ucontext, in free_cq_db()
H A Dhns_roce_db.c11 int hns_roce_db_map_user(struct hns_roce_ucontext *context, in hns_roce_db_map_user()
57 void hns_roce_db_unmap_user(struct hns_roce_ucontext *context, in hns_roce_db_unmap_user()
H A Dhns_roce_device.h275 struct hns_roce_ucontext { struct
1018 static inline struct hns_roce_ucontext
1021 return container_of(ibucontext, struct hns_roce_ucontext, ibucontext); in to_hr_ucontext()
1267 int hns_roce_db_map_user(struct hns_roce_ucontext *context,
1270 void hns_roce_db_unmap_user(struct hns_roce_ucontext *context,
H A Dhns_roce_main.c311 struct hns_roce_ucontext *context = to_hr_ucontext(uctx); in hns_roce_alloc_ucontext()
347 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_dealloc_ucontext()
453 INIT_RDMA_OBJ_SIZE(ib_ucontext, hns_roce_ucontext, ibucontext),
H A Dhns_roce_qp.c725 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context( in alloc_qp_db()
726 udata, struct hns_roce_ucontext, ibucontext); in alloc_qp_db()
785 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context( in free_qp_db()
786 udata, struct hns_roce_ucontext, ibucontext); in free_qp_db()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/
H A 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()
H A 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()
H A 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()
H A 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()
633 INIT_RDMA_OBJ_SIZE(ib_ucontext, hns_roce_ucontext, ibucontext),
H A Dhns_roce_device.h201 struct hns_roce_ucontext { struct
986 static inline struct hns_roce_ucontext
989 return container_of(ibucontext, struct hns_roce_ucontext, ibucontext); in to_hr_ucontext()
1221 int hns_roce_db_map_user(struct hns_roce_ucontext *context, unsigned long virt,
1223 void hns_roce_db_unmap_user(struct hns_roce_ucontext *context,
H A Dhns_roce_hw_v2.c4469 struct hns_roce_ucontext *uctx = rdma_udata_to_drv_context(udata, in modify_qp_init_to_rtr()
4470 struct hns_roce_ucontext, ibucontext); in modify_qp_init_to_rtr()

Completed in 23 milliseconds