Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c465 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 …]
Docrdma.h440 struct ocrdma_pd *cntxt_pd; member