Searched refs:to_hr_ucontext (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 360 ret = hns_roce_db_map_user(to_hr_ucontext(context), in hns_roce_ib_create_cq() 371 uar = &to_hr_ucontext(context)->uar; in hns_roce_ib_create_cq() 433 hns_roce_db_unmap_user(to_hr_ucontext(context), in hns_roce_ib_create_cq() 471 to_hr_ucontext(ib_cq->uobject->context), in hns_roce_ib_destroy_cq()
|
D | hns_roce_main.c | 371 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_dealloc_ucontext() 434 to_hr_ucontext(context)->uar.pfn, in hns_roce_mmap() 448 return hns_roce_set_vma_data(vma, to_hr_ucontext(context)); in hns_roce_mmap() 474 struct hns_roce_ucontext *context = to_hr_ucontext(ibcontext); in hns_roce_disassociate_ucontext()
|
D | hns_roce_qp.c | 632 to_hr_ucontext(ib_pd->uobject->context), in hns_roce_create_qp_common() 648 to_hr_ucontext(ib_pd->uobject->context), in hns_roce_create_qp_common() 794 to_hr_ucontext(ib_pd->uobject->context), in hns_roce_create_qp_common() 808 to_hr_ucontext(ib_pd->uobject->context), in hns_roce_create_qp_common()
|
D | hns_roce_device.h | 846 *to_hr_ucontext(struct ib_ucontext *ibucontext) in to_hr_ucontext() function
|
D | hns_roce_hw_v2.c | 3877 to_hr_ucontext(hr_qp->ibqp.uobject->context), in hns_roce_v2_destroy_qp_common() 3882 to_hr_ucontext(hr_qp->ibqp.uobject->context), in hns_roce_v2_destroy_qp_common()
|