Lines Matching refs:page_list
437 int *shift, __be64 **page_list) in build_phys_page_list() argument
481 *page_list = kmalloc(sizeof(u64) * *npages, GFP_KERNEL); in build_phys_page_list()
482 if (!*page_list) in build_phys_page_list()
490 (*page_list)[n++] = cpu_to_be64(buffer_list[i].addr + in build_phys_page_list()
510 __be64 *page_list = NULL; in c4iw_reregister_phys_mem() local
543 &shift, &page_list); in c4iw_reregister_phys_mem()
549 kfree(page_list); in c4iw_reregister_phys_mem()
554 kfree(page_list); in c4iw_reregister_phys_mem()
576 __be64 *page_list; in c4iw_register_phys_mem() local
609 &page_list); in c4iw_register_phys_mem()
614 kfree(page_list); in c4iw_register_phys_mem()
621 kfree(page_list); in c4iw_register_phys_mem()
625 ret = write_pbl(&mhp->rhp->rdev, page_list, mhp->attr.pbl_addr, in c4iw_register_phys_mem()
627 kfree(page_list); in c4iw_register_phys_mem()
919 c4pl->ibpl.page_list = dma_alloc_coherent(&dev->rdev.lldi.pdev->dev, in c4iw_alloc_fastreg_pbl()
922 if (!c4pl->ibpl.page_list) { in c4iw_alloc_fastreg_pbl()
932 __func__, c4pl, c4pl->pll_len, c4pl->ibpl.page_list, in c4iw_alloc_fastreg_pbl()
943 __func__, c4pl, c4pl->pll_len, c4pl->ibpl.page_list, in c4iw_free_fastreg_pbl()
948 c4pl->ibpl.page_list, dma_unmap_addr(c4pl, mapping)); in c4iw_free_fastreg_pbl()