/xen/xen/arch/x86/mm/shadow/ |
A D | multi.c | 107 ASSERT(!mfn_valid(smfn) || mfn_to_page(smfn)->u.sh.head); in get_fl1_shadow_status() 108 return smfn; in get_fl1_shadow_status() 116 ASSERT(!mfn_valid(smfn) || mfn_to_page(smfn)->u.sh.head); in get_shadow_status() 118 return smfn; in get_shadow_status() 347 mfn_t smfn; in sh_audit_gw() local 436 *smfn = sh_next_page(*smfn); in shadow_l1_index() 452 *smfn = sh_next_page(*smfn); in shadow_l2_index() 2332 mfn_t smfn; in sh_safe_not_to_sync() local 3292 if ( mfn_valid(smfn) && (mfn_x(smfn) != 0) ) in sh_page_fault() 3819 mfn_t smfn; in sh_detach_old_tables() local [all …]
|
A D | private.h | 507 struct page_info *sp = mfn_to_page(smfn); in sh_get_ref() 509 ASSERT(mfn_valid(smfn)); in sh_get_ref() 540 struct page_info *sp = mfn_to_page(smfn); in sh_put_ref() 542 ASSERT(mfn_valid(smfn)); in sh_put_ref() 566 sh_destroy_shadow(d, smfn); in sh_put_ref() 619 ASSERT(mfn_valid(smfn)); in sh_pin() 620 sp[0] = mfn_to_page(smfn); in sh_pin() 647 if ( !sh_get_ref(d, smfn, 0) ) in sh_pin() 667 ASSERT(mfn_valid(smfn)); in sh_unpin() 668 sp = mfn_to_page(smfn); in sh_unpin() [all …]
|
A D | multi.h | 41 struct domain *d, mfn_t smfn); 44 struct domain *d, mfn_t smfn); 47 struct domain *d, mfn_t smfn); 50 struct domain *d, mfn_t smfn); 71 (struct domain *d, void *ep, mfn_t smfn); 115 (struct domain *d, mfn_t gmfn, mfn_t smfn, unsigned long off);
|
A D | common.c | 255 ASSERT(mfn_valid(smfn)); in sh_remove_write_access_from_sl1p() 329 && mfn_eq(oos_fixup[idx].smfn[i], smfn) in oos_fixup_add() 352 oos_fixup[idx].smfn[next] = smfn; in oos_fixup_add() 934 mfn_t smfn; in _shadow_prealloc() local 946 smfn = page_to_mfn(sp); in _shadow_prealloc() 950 sh_unpin(d, smfn); in _shadow_prealloc() 1006 mfn_t smfn; in shadow_blow_tables() local 1016 sh_unpin(d, smfn); in shadow_blow_tables() 1570 sp = mfn_to_page(smfn); in shadow_hash_insert() 1594 sp = mfn_to_page(smfn); in shadow_hash_delete() [all …]
|
/xen/xen/common/efi/ |
A D | boot.c | 1474 return !(smfn & pfn_hole_mask) && in ram_range_valid() 1490 unsigned long smfn, emfn; in efi_init_memory() member 1505 unsigned long smfn, emfn; in efi_init_memory() local 1532 smfn = PFN_DOWN(desc->PhysicalStart); in efi_init_memory() 1562 !(smfn & pfn_hole_mask) && in efi_init_memory() 1568 _mfn(smfn), emfn - smfn, prot) == 0 ) in efi_init_memory() 1573 smfn, emfn - 1); in efi_init_memory() 1578 extra->smfn = smfn; in efi_init_memory() 1588 smfn, emfn - 1); in efi_init_memory() 1672 ++i, ++extra->smfn ) in efi_init_memory() [all …]
|
/xen/xen/common/ |
A D | pdx.c | 65 void set_pdx_range(unsigned long smfn, unsigned long emfn) in set_pdx_range() argument 69 idx = pfn_to_pdx(smfn) / PDX_GROUP_COUNT; in set_pdx_range()
|
A D | page_alloc.c | 2238 mfn_t smfn, emfn; in init_domheap_pages() local 2242 smfn = maddr_to_mfn(round_pgup(ps)); in init_domheap_pages() 2245 if ( mfn_x(emfn) <= mfn_x(smfn) ) in init_domheap_pages() 2248 init_heap_pages(mfn_to_page(smfn), mfn_x(emfn) - mfn_x(smfn)); in init_domheap_pages()
|
/xen/xen/arch/arm/ |
A D | p2m.c | 877 mfn_t smfn, in __p2m_set_entry() argument 886 bool removing_mapping = mfn_eq(smfn, INVALID_MFN); in __p2m_set_entry() 996 ASSERT(!mfn_eq(INVALID_MFN, smfn) || (a == p2m_access_rwx)); in __p2m_set_entry() 1018 lpae_t pte = mfn_to_p2m_entry(smfn, t, a); in __p2m_set_entry() 1081 mfn_t smfn, in p2m_set_entry() argument 1099 mask = !mfn_eq(smfn, INVALID_MFN) ? mfn_x(smfn) : 0; in p2m_set_entry() 1112 rc = __p2m_set_entry(p2m, sgfn, order, smfn, t, a); in p2m_set_entry() 1117 if ( !mfn_eq(smfn, INVALID_MFN) ) in p2m_set_entry() 1118 smfn = mfn_add(smfn, (1 << order)); in p2m_set_entry()
|
A D | domain_build.c | 112 mfn_t smfn; in insert_11_bank() local 115 smfn = page_to_mfn(pg); in insert_11_bank() 116 start = mfn_to_maddr(smfn); in insert_11_bank() 134 res = guest_physmap_add_page(d, _gfn(mfn_x(smfn)), smfn, order); in insert_11_bank()
|
/xen/xen/include/xen/ |
A D | pdx.h | 19 extern void set_pdx_range(unsigned long smfn, unsigned long emfn);
|
/xen/xen/arch/x86/mm/ |
A D | mem_sharing.c | 953 mfn_t smfn, cmfn; in share_pages() local 959 get_two_gfns(sd, sgfn, &smfn_type, NULL, &smfn, in share_pages() 966 if ( mfn_eq(smfn, cmfn) ) in share_pages() 979 if ( mfn_x(smfn) < mfn_x(cmfn) ) in share_pages() 982 spage = firstpg = __grab_shared_page(smfn); in share_pages() 1002 spage = secondpg = __grab_shared_page(smfn); in share_pages() 1048 BUG_ON(set_shared_p2m_entry(d, gfn->gfn, smfn)); in share_pages() 1106 mfn_t smfn, cmfn; in add_to_physmap() local 1112 get_two_gfns(sd, _gfn(sgfn), &smfn_type, NULL, &smfn, in add_to_physmap() 1117 spage = __grab_shared_page(smfn); in add_to_physmap() [all …]
|
/xen/xen/include/asm-arm/ |
A D | p2m.h | 250 mfn_t smfn,
|
/xen/xen/include/asm-x86/ |
A D | domain.h | 154 mfn_t smfn[SHADOW_OOS_FIXUPS]; member
|