Home
last modified time | relevance | path

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

/xen/xen/arch/arm/
A Dmem_access.c227 bool p2m_mem_access_check(paddr_t gpa, vaddr_t gla, const struct npfec npfec) in p2m_mem_access_check() argument
251 violation = npfec.insn_fetch; in p2m_mem_access_check()
254 violation = npfec.read_access; in p2m_mem_access_check()
258 violation = npfec.write_access; in p2m_mem_access_check()
261 violation = npfec.read_access || npfec.write_access; in p2m_mem_access_check()
264 violation = npfec.read_access || npfec.insn_fetch; in p2m_mem_access_check()
267 violation = npfec.write_access || npfec.insn_fetch; in p2m_mem_access_check()
280 if ( npfec.write_access && xma == XENMEM_access_rx2rw ) in p2m_mem_access_check()
327 if ( npfec.gla_valid ) in p2m_mem_access_check()
332 if ( npfec.kind == npfec_kind_with_gla ) in p2m_mem_access_check()
[all …]
A Dtraps.c1926 const struct npfec npfec = { in do_trap_stage2_abort_guest() local
1934 p2m_mem_access_check(gpa, gva, npfec); in do_trap_stage2_abort_guest()
/xen/xen/arch/x86/mm/
A Dmem_access.c144 struct npfec npfec, in p2m_mem_access_check() argument
168 if ( npfec.write_access && p2ma == p2m_access_rx2rw ) in p2m_mem_access_check()
177 ASSERT(npfec.write_access || npfec.read_access || npfec.insn_fetch); in p2m_mem_access_check()
220 npfec.kind == npfec_kind_in_gpt ) in p2m_mem_access_check()
239 if ( npfec.gla_valid ) in p2m_mem_access_check()
245 switch ( npfec.kind ) in p2m_mem_access_check()
256 req->u.mem_access.flags |= npfec.read_access ? MEM_ACCESS_R : 0; in p2m_mem_access_check()
257 req->u.mem_access.flags |= npfec.write_access ? MEM_ACCESS_W : 0; in p2m_mem_access_check()
258 req->u.mem_access.flags |= npfec.insn_fetch ? MEM_ACCESS_X : 0; in p2m_mem_access_check()
/xen/xen/include/asm-arm/
A Dmem_access.h38 bool p2m_mem_access_check(paddr_t gpa, vaddr_t gla, const struct npfec npfec);
/xen/xen/include/asm-x86/
A Dmem_access.h38 struct npfec npfec,
/xen/xen/arch/x86/hvm/
A Dhvm.c1736 struct npfec npfec) in hvm_hap_nested_page_fault() argument
1847 violation = npfec.read_access || npfec.write_access || npfec.insn_fetch; in hvm_hap_nested_page_fault()
1850 violation = npfec.write_access || npfec.insn_fetch; in hvm_hap_nested_page_fault()
1853 violation = npfec.read_access || npfec.insn_fetch; in hvm_hap_nested_page_fault()
1856 violation = npfec.read_access || npfec.write_access; in hvm_hap_nested_page_fault()
1863 violation = npfec.read_access; in hvm_hap_nested_page_fault()
1866 violation = npfec.insn_fetch; in hvm_hap_nested_page_fault()
1878 if ( page_order > 0 && npfec.insn_fetch && npfec.present && !violation ) in hvm_hap_nested_page_fault()
1925 (npfec.write_access && in hvm_hap_nested_page_fault()
1958 if ( npfec.write_access ) in hvm_hap_nested_page_fault()
[all …]
A Dio.c110 struct npfec access) in handle_mmio_with_translation()
116 ? access : (struct npfec){}; in handle_mmio_with_translation()
A Demulate.c149 vio->mmio_access = (struct npfec){}; in hvmemul_cancel()
1048 vio->mmio_access = (struct npfec){ .gla_valid = 1, in latch_linear_to_phys()
2665 vio->mmio_access = (struct npfec){}; in _hvm_emulate_one()
/xen/xen/include/asm-x86/hvm/
A Dvcpu.h65 struct npfec mmio_access;
A Dio.h118 struct npfec);
A Dhvm.h330 struct npfec;
332 struct npfec npfec);
/xen/xen/arch/x86/hvm/svm/
A Dsvm.c1683 struct npfec npfec = { in svm_do_nested_pgfault() local
1692 npfec.kind = npfec_kind_with_gla; in svm_do_nested_pgfault()
1694 npfec.kind = npfec_kind_in_gpt; in svm_do_nested_pgfault()
1696 ret = hvm_hap_nested_page_fault(gpa, ~0ul, npfec); in svm_do_nested_pgfault()
/xen/xen/arch/x86/hvm/vmx/
A Dvmx.c3390 struct npfec npfec = { in ept_handle_violation() local
3416 npfec.gla_valid = 1; in ept_handle_violation()
3418 npfec.kind = npfec_kind_with_gla; in ept_handle_violation()
3420 npfec.kind = npfec_kind_in_gpt; in ept_handle_violation()
3425 ret = hvm_hap_nested_page_fault(gpa, gla, npfec); in ept_handle_violation()
/xen/xen/include/xen/
A Dmm.h237 struct npfec { struct
/xen/xen/arch/x86/mm/shadow/
A Dmulti.c2789 const struct npfec access = { in sh_page_fault()

Completed in 211 milliseconds