Lines Matching refs:cntxt_pd
400 return (uctx->cntxt_pd == pd ? true : false); in is_ucontext_pd()
423 uctx->cntxt_pd = _ocrdma_alloc_pd(dev, uctx, udata); in ocrdma_alloc_ucontext_pd()
424 if (IS_ERR(uctx->cntxt_pd)) { in ocrdma_alloc_ucontext_pd()
425 status = PTR_ERR(uctx->cntxt_pd); in ocrdma_alloc_ucontext_pd()
426 uctx->cntxt_pd = NULL; in ocrdma_alloc_ucontext_pd()
430 uctx->cntxt_pd->uctx = uctx; in ocrdma_alloc_ucontext_pd()
431 uctx->cntxt_pd->ibpd.device = &dev->ibdev; in ocrdma_alloc_ucontext_pd()
438 struct ocrdma_pd *pd = uctx->cntxt_pd; in ocrdma_dealloc_ucontext_pd()
445 uctx->cntxt_pd = NULL; in ocrdma_dealloc_ucontext_pd()
457 pd = uctx->cntxt_pd; in ocrdma_get_ucontext_pd()
980 uresp.db_page_addr = ocrdma_get_db_addr(dev, uctx->cntxt_pd->id); in ocrdma_copy_cq_uresp()
1030 pd_id = uctx->cntxt_pd->id; in ocrdma_create_cq()
1113 pdid = cq->ucontext->cntxt_pd->id; in ocrdma_destroy_cq()