Home
last modified time | relevance | path

Searched refs:ah_tbl (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c196 if ((pd->uctx) && (pd->uctx->ah_tbl.va)) { in ocrdma_create_ah()
197 ahid_addr = pd->uctx->ah_tbl.va + rdma_ah_get_dlid(attr); in ocrdma_create_ah()
Docrdma_verbs.c478 ctx->ah_tbl.va = dma_alloc_coherent(&pdev->dev, map_len, in ocrdma_alloc_ucontext()
479 &ctx->ah_tbl.pa, GFP_KERNEL); in ocrdma_alloc_ucontext()
480 if (!ctx->ah_tbl.va) in ocrdma_alloc_ucontext()
483 ctx->ah_tbl.len = map_len; in ocrdma_alloc_ucontext()
485 resp.ah_tbl_len = ctx->ah_tbl.len; in ocrdma_alloc_ucontext()
486 resp.ah_tbl_page = virt_to_phys(ctx->ah_tbl.va); in ocrdma_alloc_ucontext()
511 ocrdma_del_mmap(ctx, ctx->ah_tbl.pa, ctx->ah_tbl.len); in ocrdma_alloc_ucontext()
513 dma_free_coherent(&pdev->dev, ctx->ah_tbl.len, ctx->ah_tbl.va, in ocrdma_alloc_ucontext()
514 ctx->ah_tbl.pa); in ocrdma_alloc_ucontext()
527 ocrdma_del_mmap(uctx, uctx->ah_tbl.pa, uctx->ah_tbl.len); in ocrdma_dealloc_ucontext()
[all …]
Docrdma.h444 } ah_tbl; member