Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c397 return (uctx->cntxt_pd == pd); in is_ucontext_pd()
422 uctx->cntxt_pd = get_ocrdma_pd(pd); in ocrdma_alloc_ucontext_pd()
424 status = _ocrdma_alloc_pd(dev, uctx->cntxt_pd, uctx, udata); in ocrdma_alloc_ucontext_pd()
426 kfree(uctx->cntxt_pd); 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 kfree(uctx->cntxt_pd); in ocrdma_dealloc_ucontext_pd()
446 uctx->cntxt_pd = NULL; in ocrdma_dealloc_ucontext_pd()
457 pd = uctx->cntxt_pd; in ocrdma_get_ucontext_pd()
[all …]
Docrdma.h439 struct ocrdma_pd *cntxt_pd; member