Lines Matching refs:guest_page
1584 struct page **guest_page; in sev_send_update_data() local
1609 guest_page = sev_pin_memory(kvm, params.guest_uaddr & PAGE_MASK, in sev_send_update_data()
1611 if (IS_ERR(guest_page)) in sev_send_update_data()
1612 return PTR_ERR(guest_page); in sev_send_update_data()
1631 data.guest_address = (page_to_pfn(guest_page[0]) << PAGE_SHIFT) + offset; in sev_send_update_data()
1658 sev_unpin_memory(kvm, guest_page, n); in sev_send_update_data()
1767 struct page **guest_page; in sev_receive_update_data() local
1805 guest_page = sev_pin_memory(kvm, params.guest_uaddr & PAGE_MASK, in sev_receive_update_data()
1807 if (IS_ERR(guest_page)) { in sev_receive_update_data()
1808 ret = PTR_ERR(guest_page); in sev_receive_update_data()
1817 sev_clflush_pages(guest_page, n); in sev_receive_update_data()
1820 data.guest_address = (page_to_pfn(guest_page[0]) << PAGE_SHIFT) + offset; in sev_receive_update_data()
1828 sev_unpin_memory(kvm, guest_page, n); in sev_receive_update_data()