Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c170 if ((pd->uctx) && (pd->uctx->ah_tbl.va)) { in ocrdma_create_ah()
171 ahid_addr = pd->uctx->ah_tbl.va + attr->dlid; in ocrdma_create_ah()
Docrdma_verbs.c554 ctx->ah_tbl.va = dma_alloc_coherent(&pdev->dev, map_len, in ocrdma_alloc_ucontext()
555 &ctx->ah_tbl.pa, GFP_KERNEL); in ocrdma_alloc_ucontext()
556 if (!ctx->ah_tbl.va) { in ocrdma_alloc_ucontext()
560 memset(ctx->ah_tbl.va, 0, map_len); in ocrdma_alloc_ucontext()
561 ctx->ah_tbl.len = map_len; in ocrdma_alloc_ucontext()
564 resp.ah_tbl_len = ctx->ah_tbl.len; in ocrdma_alloc_ucontext()
565 resp.ah_tbl_page = virt_to_phys(ctx->ah_tbl.va); in ocrdma_alloc_ucontext()
589 ocrdma_del_mmap(ctx, ctx->ah_tbl.pa, ctx->ah_tbl.len); in ocrdma_alloc_ucontext()
591 dma_free_coherent(&pdev->dev, ctx->ah_tbl.len, ctx->ah_tbl.va, in ocrdma_alloc_ucontext()
592 ctx->ah_tbl.pa); in ocrdma_alloc_ucontext()
[all …]
Docrdma.h447 } ah_tbl; member