Lines Matching refs:ex
77 struct x86_exception ex; in sgx_gva_to_gpa() local
80 *gpa = kvm_mmu_gva_to_gpa_write(vcpu, gva, &ex); in sgx_gva_to_gpa()
82 *gpa = kvm_mmu_gva_to_gpa_read(vcpu, gva, &ex); in sgx_gva_to_gpa()
85 kvm_inject_emulated_page_fault(vcpu, &ex); in sgx_gva_to_gpa()
107 struct x86_exception ex; in sgx_inject_fault() local
127 memset(&ex, 0, sizeof(ex)); in sgx_inject_fault()
128 ex.vector = PF_VECTOR; in sgx_inject_fault()
129 ex.error_code = PFERR_PRESENT_MASK | PFERR_WRITE_MASK | in sgx_inject_fault()
131 ex.address = gva; in sgx_inject_fault()
132 ex.error_code_valid = true; in sgx_inject_fault()
133 ex.nested_page_fault = false; in sgx_inject_fault()
134 kvm_inject_emulated_page_fault(vcpu, &ex); in sgx_inject_fault()
225 struct x86_exception ex; in handle_encls_ecreate() local
237 sizeof(pageinfo), &ex); in handle_encls_ecreate()
239 kvm_inject_emulated_page_fault(vcpu, &ex); in handle_encls_ecreate()