Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_cq.c360 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()
Dhns_roce_main.c371 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()
Dhns_roce_qp.c632 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()
Dhns_roce_device.h846 *to_hr_ucontext(struct ib_ucontext *ibucontext) in to_hr_ucontext() function
Dhns_roce_hw_v2.c3877 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()