Searched refs:cntxt_pd (Results 1 – 2 of 2) sorted by relevance
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()[all …]
440 struct ocrdma_pd *cntxt_pd; member