Searched refs:npfec (Results 1 – 15 of 15) sorted by relevance
/xen/xen/arch/arm/ |
A D | mem_access.c | 227 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 D | traps.c | 1926 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 D | mem_access.c | 144 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 D | mem_access.h | 38 bool p2m_mem_access_check(paddr_t gpa, vaddr_t gla, const struct npfec npfec);
|
/xen/xen/include/asm-x86/ |
A D | mem_access.h | 38 struct npfec npfec,
|
/xen/xen/arch/x86/hvm/ |
A D | hvm.c | 1736 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 D | io.c | 110 struct npfec access) in handle_mmio_with_translation() 116 ? access : (struct npfec){}; in handle_mmio_with_translation()
|
A D | emulate.c | 149 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 D | vcpu.h | 65 struct npfec mmio_access;
|
A D | io.h | 118 struct npfec);
|
A D | hvm.h | 330 struct npfec; 332 struct npfec npfec);
|
/xen/xen/arch/x86/hvm/svm/ |
A D | svm.c | 1683 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 D | vmx.c | 3390 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 D | mm.h | 237 struct npfec { struct
|
/xen/xen/arch/x86/mm/shadow/ |
A D | multi.c | 2789 const struct npfec access = { in sh_page_fault()
|
Completed in 211 milliseconds