Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/hw/qedr/
Dverbs.c507 struct qedr_pbl_info *pbl_info, struct qedr_pbl *pbl) in qedr_free_pbl() argument
512 for (i = 0; i < pbl_info->num_pbls; i++) { in qedr_free_pbl()
515 dma_free_coherent(&pdev->dev, pbl_info->pbl_size, in qedr_free_pbl()
530 struct qedr_pbl_info *pbl_info, in qedr_alloc_pbl_tbl() argument
540 pbl_table = kcalloc(pbl_info->num_pbls, sizeof(*pbl_table), flags); in qedr_alloc_pbl_tbl()
544 for (i = 0; i < pbl_info->num_pbls; i++) { in qedr_alloc_pbl_tbl()
545 va = dma_alloc_coherent(&pdev->dev, pbl_info->pbl_size, &pa, in qedr_alloc_pbl_tbl()
558 for (i = 0; i < pbl_info->num_pbls - 1; i++) in qedr_alloc_pbl_tbl()
565 dma_free_coherent(&pdev->dev, pbl_info->pbl_size, in qedr_alloc_pbl_tbl()
568 qedr_free_pbl(dev, pbl_info, pbl_table); in qedr_alloc_pbl_tbl()
[all …]
Dqedr.h267 struct qedr_pbl_info pbl_info; member
477 struct qedr_pbl_info pbl_info; member