/xen/xen/arch/x86/mm/hap/ |
A D | nested_hap.c | 100 unsigned int page_order, p2m_type_t p2mt, p2m_access_t p2ma) in nestedhap_fix_p2m() argument 118 rc = p2m_set_entry(p2m, _gfn(gfn), mfn, page_order, p2mt, p2ma); in nestedhap_fix_p2m() 151 p2m_type_t *p2mt, p2m_access_t *p2ma, in nestedhap_walk_L0_p2m() argument 159 mfn = get_gfn_type_access(p2m, L1_gpa >> PAGE_SHIFT, p2mt, p2ma, in nestedhap_walk_L0_p2m()
|
/xen/xen/arch/x86/mm/ |
A D | mem_access.c | 153 p2m_access_t p2ma; in p2m_mem_access_check() local 166 mfn = p2m->get_entry(p2m, gfn, &p2mt, &p2ma, 0, NULL, NULL); in p2m_mem_access_check() 168 if ( npfec.write_access && p2ma == p2m_access_rx2rw ) in p2m_mem_access_check() 175 else if ( p2ma == p2m_access_n2rwx ) in p2m_mem_access_check() 199 mfn = p2m->get_entry(p2m, gfn, &p2mt, &p2ma, 0, NULL, NULL); in p2m_mem_access_check() 200 if ( p2ma != p2m_access_n2rwx ) in p2m_mem_access_check() 262 return (p2ma != p2m_access_n2rwx); in p2m_mem_access_check()
|
A D | p2m.c | 618 unsigned int page_order, p2m_type_t p2mt, p2m_access_t p2ma) in p2m_set_entry() argument 643 set_rc = p2m->set_entry(p2m, gfn, mfn, order, p2mt, p2ma, -1); in p2m_set_entry() 1342 p2m_access_t p2ma, unsigned int flag) in set_identity_p2m_entry() argument 1365 p2m_mmio_direct, p2ma); in set_identity_p2m_entry() 1366 else if ( mfn_x(mfn) == gfn_l && p2mt == p2m_mmio_direct && a == p2ma ) in set_identity_p2m_entry() 2063 *p2ma = ap2ma; in p2m_altp2m_get_or_propagate() 2083 rc = p2m_set_entry(ap2m, gfn, amfn, page_order, *p2mt, *p2ma); in p2m_altp2m_get_or_propagate() 2365 p2m_type_t p2mt, p2m_access_t p2ma) in p2m_altp2m_propagate_change() argument 2419 int rc = p2m_set_entry(p2m, gfn, mfn, page_order, p2mt, p2ma); in p2m_altp2m_propagate_change() 2448 p2m_access_t p2ma; in audit_p2m() local [all …]
|
A D | p2m-ept.c | 669 unsigned int order, p2m_type_t p2mt, p2m_access_t p2ma, in ept_set_entry() argument 803 new_entry.access = p2ma; in ept_set_entry() 867 ret = p2m_altp2m_propagate_change(d, _gfn(gfn), mfn, order, p2mt, p2ma); in ept_set_entry()
|
A D | mem_sharing.c | 826 p2m_access_t p2ma; in nominate_page() local 833 mfn = get_gfn_type_access(hp2m, gfn_x(gfn), &p2mt, &p2ma, 0, NULL); in nominate_page() 880 if ( mfn_valid(amfn) && (!mfn_eq(amfn, mfn) || ap2ma != p2ma) ) in nominate_page()
|
A D | p2m-pt.c | 503 unsigned int page_order, p2m_type_t p2mt, p2m_access_t p2ma, in p2m_pt_set_entry() argument
|
/xen/xen/include/asm-x86/ |
A D | p2m.h | 245 p2m_access_t p2ma, 250 p2m_access_t *p2ma, 648 p2m_access_t p2ma, unsigned int flag); 753 p2m_access_t p2ma); 871 p2m_access_t *p2ma, unsigned int page_order); 893 p2m_type_t p2mt, p2m_access_t p2ma);
|
/xen/xen/arch/x86/hvm/ |
A D | hvm.c | 1740 p2m_access_t p2ma; in hvm_hap_nested_page_fault() local 1812 mfn = get_gfn_type_access(hostp2m, gfn, &p2mt, &p2ma, in hvm_hap_nested_page_fault() 1826 &p2ma, page_order) ) in hvm_hap_nested_page_fault() 1842 switch (p2ma) in hvm_hap_nested_page_fault() 1881 p2mt, p2ma); in hvm_hap_nested_page_fault() 1898 p2m->get_entry(p2m, _gfn(gfn), &p2mt, &p2ma, 0, NULL, &sve); in hvm_hap_nested_page_fault()
|
/xen/xen/arch/x86/hvm/svm/ |
A D | svm.c | 1675 p2m_access_t p2ma; in svm_do_nested_pgfault() local 1708 mfn = __get_gfn_type_access(p2m, gfn, &p2mt, &p2ma, 0, NULL, 0); in svm_do_nested_pgfault() 1733 mfn = __get_gfn_type_access(p2m, gfn, &p2mt, &p2ma, 0, NULL, 0); in svm_do_nested_pgfault()
|