Lines Matching refs:inpages
476 struct page **inpages, unsigned long npages) in get_num_contig_pages() argument
482 paddr = __sme_page_pa(inpages[idx]); in get_num_contig_pages()
484 next_paddr = __sme_page_pa(inpages[i++]); in get_num_contig_pages()
502 struct page **inpages; in sev_launch_update_data() local
516 inpages = sev_pin_memory(kvm, vaddr, size, &npages, 1); in sev_launch_update_data()
517 if (IS_ERR(inpages)) in sev_launch_update_data()
518 return PTR_ERR(inpages); in sev_launch_update_data()
524 sev_clflush_pages(inpages, npages); in sev_launch_update_data()
539 pages = get_num_contig_pages(i, inpages, npages); in sev_launch_update_data()
544 data.address = __sme_page_pa(inpages[i]) + offset; in sev_launch_update_data()
556 set_page_dirty_lock(inpages[i]); in sev_launch_update_data()
557 mark_page_accessed(inpages[i]); in sev_launch_update_data()
560 sev_unpin_memory(kvm, inpages, npages); in sev_launch_update_data()