Lines Matching refs:ocrdma_ucontext
193 static int ocrdma_add_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr, in ocrdma_add_mmap()
211 static void ocrdma_del_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr, in ocrdma_del_mmap()
228 static bool ocrdma_search_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr, in ocrdma_search_mmap()
358 struct ocrdma_ucontext *uctx, in _ocrdma_alloc_pd()
388 static inline int is_ucontext_pd(struct ocrdma_ucontext *uctx, in is_ucontext_pd()
404 struct ocrdma_ucontext *uctx, in ocrdma_alloc_ucontext_pd()
430 static void ocrdma_dealloc_ucontext_pd(struct ocrdma_ucontext *uctx) in ocrdma_dealloc_ucontext_pd()
444 static struct ocrdma_pd *ocrdma_get_ucontext_pd(struct ocrdma_ucontext *uctx) in ocrdma_get_ucontext_pd()
458 static void ocrdma_release_ucontext_pd(struct ocrdma_ucontext *uctx) in ocrdma_release_ucontext_pd()
469 struct ocrdma_ucontext *ctx = get_ocrdma_ucontext(uctx); in ocrdma_alloc_ucontext()
523 struct ocrdma_ucontext *uctx = get_ocrdma_ucontext(ibctx); in ocrdma_dealloc_ucontext()
541 struct ocrdma_ucontext *ucontext = get_ocrdma_ucontext(context); in ocrdma_mmap()
590 struct ocrdma_ucontext *uctx = rdma_udata_to_drv_context( in ocrdma_copy_pd_uresp()
591 udata, struct ocrdma_ucontext, ibucontext); in ocrdma_copy_pd_uresp()
636 struct ocrdma_ucontext *uctx = rdma_udata_to_drv_context( in ocrdma_alloc_pd()
637 udata, struct ocrdma_ucontext, ibucontext); in ocrdma_alloc_pd()
673 struct ocrdma_ucontext *uctx = NULL; in ocrdma_dealloc_pd()
929 struct ocrdma_ucontext *uctx = rdma_udata_to_drv_context( in ocrdma_copy_cq_uresp()
930 udata, struct ocrdma_ucontext, ibucontext); in ocrdma_copy_cq_uresp()
973 struct ocrdma_ucontext *uctx = rdma_udata_to_drv_context( in ocrdma_create_cq()
974 udata, struct ocrdma_ucontext, ibucontext); in ocrdma_create_cq()