/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/ |
A D | nested_hap.c | 101 unsigned int page_order, p2m_type_t p2mt, p2m_access_t p2ma) in nestedhap_fix_p2m() argument 115 mask = ~((1UL << page_order) - 1); in nestedhap_fix_p2m() 119 rc = p2m_set_entry(p2m, _gfn(gfn), mfn, page_order, p2mt, p2ma); in nestedhap_fix_p2m() 136 unsigned int *page_order, uint8_t *p2m_acc, in nestedhap_walk_L1_p2m() argument 141 return hvm_funcs.nhvm_hap_walk_L1_p2m(v, L2_gpa, L1_gpa, page_order, in nestedhap_walk_L1_p2m() 153 unsigned int *page_order, in nestedhap_walk_L0_p2m() argument 161 0, page_order); in nestedhap_walk_L0_p2m()
|
A D | private.h | 42 paddr_t ga, uint32_t *pfec, unsigned int *page_order); 45 paddr_t ga, uint32_t *pfec, unsigned int *page_order); 48 paddr_t ga, uint32_t *pfec, unsigned int *page_order);
|
A D | guest_walk.c | 51 paddr_t ga, uint32_t *pfec, unsigned int *page_order) in hap_p2m_ga_to_gfn() 121 if ( page_order ) in hap_p2m_ga_to_gfn() 122 *page_order = guest_walk_to_page_order(&gw); in hap_p2m_ga_to_gfn()
|
A D | nested_ept.c | 231 unsigned int *page_order, uint32_t rwx_acc, in nept_translate_l2ga() argument 249 *page_order = 9; in nept_translate_l2ga() 255 *page_order = 0; in nept_translate_l2ga() 260 *page_order = 18; in nept_translate_l2ga()
|
A D | hap.c | 760 paddr_t ga, uint32_t *pfec, unsigned int *page_order) in hap_p2m_ga_to_gfn_real_mode() argument 762 if ( page_order ) in hap_p2m_ga_to_gfn_real_mode() 763 *page_order = PAGE_ORDER_4K; in hap_p2m_ga_to_gfn_real_mode()
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/ |
A D | p2m-pt.c | 152 if ( page_order == PAGE_ORDER_4K in p2m_free_entry() 157 if ( page_order > PAGE_ORDER_2M ) in p2m_free_entry() 524 t.order = page_order; in p2m_pt_set_entry() 551 if ( page_order == PAGE_ORDER_1G ) in p2m_pt_set_entry() 764 if ( page_order ) in p2m_pt_get_entry() 766 for ( *page_order = 3 * PAGETABLE_ORDER; *page_order; in p2m_pt_get_entry() 780 if ( page_order ) in p2m_pt_get_entry() 794 if ( page_order ) in p2m_pt_get_entry() 836 if ( page_order ) in p2m_pt_get_entry() 874 if ( page_order ) in p2m_pt_get_entry() [all …]
|
A D | p2m.c | 540 unsigned long todo = 1ul << page_order; in p2m_set_entry() 709 unsigned int page_order) in p2m_remove_page() argument 759 gfn_lock(p2m, gfn, page_order); in guest_physmap_remove_page() 761 gfn_unlock(p2m, gfn, page_order); in guest_physmap_remove_page() 810 for ( i = 0; i < (1UL << page_order); i++ ) in guest_physmap_add_entry() 870 for ( i = 0; i < (1UL << page_order); i++ ) in guest_physmap_add_entry() 2204 unsigned int page_order; in p2m_altp2m_lazy_copy() local 2213 0, &page_order); in p2m_altp2m_lazy_copy() 2232 mask = ~((1UL << page_order) - 1); in p2m_altp2m_lazy_copy() 2384 unsigned int page_order; in p2m_change_altp2m_gfn() local [all …]
|
A D | mem_access.c | 246 unsigned int page_order; in p2m_set_altp2m_mem_access() local 257 P2M_ALLOC | P2M_UNSHARE, &page_order, 0); in p2m_set_altp2m_mem_access() 264 if ( page_order != PAGE_ORDER_4K ) in p2m_set_altp2m_mem_access() 266 unsigned long mask = ~((1UL << page_order) - 1); in p2m_set_altp2m_mem_access() 270 rc = ap2m->set_entry(ap2m, gfn2, mfn2, page_order, t, old_a, 1); in p2m_set_altp2m_mem_access()
|
A D | p2m-ept.c | 915 p2m_query_t q, unsigned int *page_order, in ept_get_entry() argument 1018 if ( page_order ) in ept_get_entry() 1019 *page_order = i * EPT_TABLE_ORDER; in ept_get_entry()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | p2m.h | 216 unsigned int *page_order); 255 unsigned long page_order, 262 unsigned int page_order) in guest_physmap_add_page() argument 264 return guest_physmap_add_entry(d, gfn, mfn, page_order, p2m_ram_rw); in guest_physmap_add_page()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | p2m.h | 239 mfn_t mfn, unsigned int page_order, 248 unsigned int *page_order, 410 p2m_access_t *a, p2m_query_t q, unsigned int *page_order, bool_t locked); 421 p2m_access_t *a, p2m_query_t q, unsigned int *page_order) in get_gfn_type_access() argument 423 return __get_gfn_type_access(p2m, gfn, t, a, q, page_order, true); in get_gfn_type_access() 575 mfn_t mfn, unsigned int page_order, 582 unsigned int page_order) in guest_physmap_add_page() argument 584 return guest_physmap_add_entry(d, gfn, mfn, page_order, p2m_ram_rw); in guest_physmap_add_page() 693 unsigned int page_order, p2m_type_t p2mt, p2m_access_t p2ma); 834 mfn_t mfn, unsigned int page_order,
|
A D | paging.h | 124 unsigned int *page_order); 269 unsigned int *page_order) in paging_ga_to_gfn_cr3() argument 273 page_order); in paging_ga_to_gfn_cr3()
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | p2m.c | 295 unsigned int *page_order) in p2m_get_entry() argument 371 if ( page_order ) in p2m_get_entry() 372 *page_order = level_orders[level]; in p2m_get_entry() 779 unsigned int page_order, in __p2m_set_entry() argument 786 unsigned int target = 3 - (page_order / LPAE_SHIFT); in __p2m_set_entry() 899 ASSERT(!p2m->mem_access_enabled || page_order == 0 || in __p2m_set_entry() 953 gfn_add(sgfn, 1 << page_order)); in __p2m_set_entry() 1113 unsigned long page_order, in guest_physmap_add_entry() argument 1116 return p2m_insert_mapping(d, gfn, (1 << page_order), mfn, t); in guest_physmap_add_entry() 1120 unsigned int page_order) in guest_physmap_remove_page() argument [all …]
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | p2m-common.h | 9 unsigned int page_order);
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/vmx/ |
A D | vvmx.h | 129 unsigned int *page_order, uint8_t *p2m_acc, 242 unsigned int *page_order, uint32_t rwx_acc,
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/ |
A D | nestedhvm.h | 60 unsigned int *page_order, uint8_t *p2m_acc,
|
A D | hvm.h | 203 paddr_t *L1_gpa, unsigned int *page_order,
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/svm/ |
A D | nestedsvm.h | 129 unsigned int *page_order, uint8_t *p2m_acc,
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/ |
A D | nestedsvm.c | 1210 unsigned int *page_order, uint8_t *p2m_acc, in nsvm_hap_walk_L1_p2m() argument 1225 gfn = paging_ga_to_gfn_cr3(v, nested_cr3, L2_gpa, &pfec, page_order); in nsvm_hap_walk_L1_p2m()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/ |
A D | vvmx.c | 2164 unsigned int *page_order, uint8_t *p2m_acc, in nvmx_hap_walk_L1_p2m() argument 2177 rc = nept_translate_l2ga(v, L2_gpa, page_order, rwx_rights, &gfn, p2m_acc, in nvmx_hap_walk_L1_p2m()
|