Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c1410 u32 size_in_pages = DIV_ROUND_UP(pbl->pbl_buf_size_in_bytes, EFA_CHUNK_PAYLOAD_SIZE); in pbl_indirect_initialize() local
1415 sgl = efa_vmalloc_buf_to_sg(pbl->pbl_buf, size_in_pages); in pbl_indirect_initialize()
1419 sg_dma_cnt = dma_map_sg(&dev->pdev->dev, sgl, size_in_pages, DMA_TO_DEVICE); in pbl_indirect_initialize()
1425 pbl->phys.indirect.pbl_buf_size_in_pages = size_in_pages; in pbl_indirect_initialize()
1443 dma_unmap_sg(&dev->pdev->dev, sgl, size_in_pages, DMA_TO_DEVICE); in pbl_indirect_initialize()