Lines Matching refs:cntxt_pd
465 return (uctx->cntxt_pd == pd ? true : false); in is_ucontext_pd()
488 uctx->cntxt_pd = _ocrdma_alloc_pd(dev, uctx, udata); in ocrdma_alloc_ucontext_pd()
489 if (IS_ERR(uctx->cntxt_pd)) { in ocrdma_alloc_ucontext_pd()
490 status = PTR_ERR(uctx->cntxt_pd); in ocrdma_alloc_ucontext_pd()
491 uctx->cntxt_pd = NULL; in ocrdma_alloc_ucontext_pd()
495 uctx->cntxt_pd->uctx = uctx; in ocrdma_alloc_ucontext_pd()
496 uctx->cntxt_pd->ibpd.device = &dev->ibdev; in ocrdma_alloc_ucontext_pd()
503 struct ocrdma_pd *pd = uctx->cntxt_pd; in ocrdma_dealloc_ucontext_pd()
510 uctx->cntxt_pd = NULL; in ocrdma_dealloc_ucontext_pd()
522 pd = uctx->cntxt_pd; in ocrdma_get_ucontext_pd()
1046 uresp.db_page_addr = ocrdma_get_db_addr(dev, uctx->cntxt_pd->id); in ocrdma_copy_cq_uresp()
1101 pd_id = uctx->cntxt_pd->id; in ocrdma_create_cq()
1184 pdid = cq->ucontext->cntxt_pd->id; in ocrdma_destroy_cq()