Lines Matching refs:page_sz
372 mana_handle_t *gdma_region, unsigned long page_sz) in mana_ib_gd_create_dma_region() argument
392 num_pages_total = ib_umem_num_dma_blocks(umem, page_sz); in mana_ib_gd_create_dma_region()
411 create_req->offset_in_page = ib_umem_dma_offset(umem, page_sz); in mana_ib_gd_create_dma_region()
412 create_req->gdma_page_type = order_base_2(page_sz) - MANA_PAGE_SHIFT; in mana_ib_gd_create_dma_region()
419 page_sz, create_req->offset_in_page); in mana_ib_gd_create_dma_region()
425 rdma_umem_for_each_dma_block(umem, &biter, page_sz) { in mana_ib_gd_create_dma_region()
480 unsigned long page_sz; in mana_ib_create_dma_region() local
482 page_sz = ib_umem_find_best_pgsz(umem, PAGE_SZ_BM, virt); in mana_ib_create_dma_region()
483 if (!page_sz) { in mana_ib_create_dma_region()
488 return mana_ib_gd_create_dma_region(dev, umem, gdma_region, page_sz); in mana_ib_create_dma_region()
494 unsigned long page_sz; in mana_ib_create_zero_offset_dma_region() local
497 page_sz = ib_umem_find_best_pgoff(umem, PAGE_SZ_BM, 0); in mana_ib_create_zero_offset_dma_region()
498 if (!page_sz) { in mana_ib_create_zero_offset_dma_region()
503 return mana_ib_gd_create_dma_region(dev, umem, gdma_region, page_sz); in mana_ib_create_zero_offset_dma_region()