Lines Matching refs:ex
75 struct x86_exception ex; in sgx_gva_to_gpa() local
78 *gpa = kvm_mmu_gva_to_gpa_write(vcpu, gva, &ex); in sgx_gva_to_gpa()
80 *gpa = kvm_mmu_gva_to_gpa_read(vcpu, gva, &ex); in sgx_gva_to_gpa()
83 kvm_inject_emulated_page_fault(vcpu, &ex); in sgx_gva_to_gpa()
105 struct x86_exception ex; in sgx_inject_fault() local
125 memset(&ex, 0, sizeof(ex)); in sgx_inject_fault()
126 ex.vector = PF_VECTOR; in sgx_inject_fault()
127 ex.error_code = PFERR_PRESENT_MASK | PFERR_WRITE_MASK | in sgx_inject_fault()
129 ex.address = gva; in sgx_inject_fault()
130 ex.error_code_valid = true; in sgx_inject_fault()
131 ex.nested_page_fault = false; in sgx_inject_fault()
132 kvm_inject_page_fault(vcpu, &ex); in sgx_inject_fault()
214 struct x86_exception ex; in handle_encls_ecreate() local
226 sizeof(pageinfo), &ex); in handle_encls_ecreate()
228 kvm_inject_emulated_page_fault(vcpu, &ex); in handle_encls_ecreate()