Home
last modified time | relevance | path

Searched refs:cntxt_pd (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c430 return (uctx->cntxt_pd == pd); in is_ucontext_pd()
453 uctx->cntxt_pd = _ocrdma_alloc_pd(dev, uctx, udata); in ocrdma_alloc_ucontext_pd()
454 if (IS_ERR(uctx->cntxt_pd)) { in ocrdma_alloc_ucontext_pd()
455 status = PTR_ERR(uctx->cntxt_pd); in ocrdma_alloc_ucontext_pd()
456 uctx->cntxt_pd = NULL; in ocrdma_alloc_ucontext_pd()
460 uctx->cntxt_pd->uctx = uctx; in ocrdma_alloc_ucontext_pd()
461 uctx->cntxt_pd->ibpd.device = &dev->ibdev; in ocrdma_alloc_ucontext_pd()
468 struct ocrdma_pd *pd = uctx->cntxt_pd; in ocrdma_dealloc_ucontext_pd()
475 uctx->cntxt_pd = NULL; in ocrdma_dealloc_ucontext_pd()
487 pd = uctx->cntxt_pd; in ocrdma_get_ucontext_pd()
[all …]
Docrdma.h439 struct ocrdma_pd *cntxt_pd; member