Home
last modified time | relevance | path

Searched refs:dst_tpage (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c880 struct page *dst_tpage = NULL; in __sev_dbg_encrypt_user() local
906 dst_tpage = alloc_page(GFP_KERNEL_ACCOUNT); in __sev_dbg_encrypt_user()
907 if (!dst_tpage) { in __sev_dbg_encrypt_user()
913 __sme_page_pa(dst_tpage), size, error); in __sev_dbg_encrypt_user()
924 memcpy(page_address(dst_tpage) + dst_offset, in __sev_dbg_encrypt_user()
927 if (copy_from_user(page_address(dst_tpage) + dst_offset, in __sev_dbg_encrypt_user()
934 paddr = __sme_page_pa(dst_tpage); in __sev_dbg_encrypt_user()
944 if (dst_tpage) in __sev_dbg_encrypt_user()
945 __free_page(dst_tpage); in __sev_dbg_encrypt_user()