Searched refs:cntxt_pd (Results 1 – 2 of 2) sorted by relevance
400 return (uctx->cntxt_pd == pd ? true : false); in is_ucontext_pd()423 uctx->cntxt_pd = _ocrdma_alloc_pd(dev, uctx, udata); in ocrdma_alloc_ucontext_pd()424 if (IS_ERR(uctx->cntxt_pd)) { in ocrdma_alloc_ucontext_pd()425 status = PTR_ERR(uctx->cntxt_pd); in ocrdma_alloc_ucontext_pd()426 uctx->cntxt_pd = NULL; 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 uctx->cntxt_pd = NULL; in ocrdma_dealloc_ucontext_pd()457 pd = uctx->cntxt_pd; in ocrdma_get_ucontext_pd()[all …]
420 struct ocrdma_pd *cntxt_pd; member