Lines Matching refs:prp_list
303 __le64 *prp_list = list[i]; in nvme_free_iod() local
304 dma_addr_t next_prp_dma = le64_to_cpu(prp_list[last_prp]); in nvme_free_iod()
305 dma_pool_free(dev->prp_page_pool, prp_list, prp_dma); in nvme_free_iod()
338 __le64 *prp_list; in nvme_setup_prps() local
371 prp_list = dma_pool_alloc(pool, gfp, &prp_dma); in nvme_setup_prps()
372 if (!prp_list) { in nvme_setup_prps()
377 list[0] = prp_list; in nvme_setup_prps()
383 __le64 *old_prp_list = prp_list; in nvme_setup_prps()
384 prp_list = dma_pool_alloc(pool, gfp, &prp_dma); in nvme_setup_prps()
385 if (!prp_list) in nvme_setup_prps()
387 list[iod->npages++] = prp_list; in nvme_setup_prps()
388 prp_list[0] = old_prp_list[i - 1]; in nvme_setup_prps()
392 prp_list[i++] = cpu_to_le64(dma_addr); in nvme_setup_prps()