Searched refs:scratch_va (Results 1 – 2 of 2) sorted by relevance
2686 void *scratch_va; in setup_vmgexit_scratch() local2719 scratch_va = (void *)svm->sev_es.ghcb; in setup_vmgexit_scratch()2720 scratch_va += (scratch_gpa_beg - control->ghcb_gpa); in setup_vmgexit_scratch()2731 scratch_va = kvzalloc(len, GFP_KERNEL_ACCOUNT); in setup_vmgexit_scratch()2732 if (!scratch_va) in setup_vmgexit_scratch()2735 if (kvm_read_guest(svm->vcpu.kvm, scratch_gpa_beg, scratch_va, len)) { in setup_vmgexit_scratch()2739 kvfree(scratch_va); in setup_vmgexit_scratch()2753 svm->sev_es.ghcb_sa = scratch_va; in setup_vmgexit_scratch()
931 struct virt_addr scratch_va; member