Home
last modified time | relevance | path

Searched refs:smfn (Results 1 – 12 of 12) sorted by relevance

/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/
A Dmulti.c101 ASSERT(!mfn_valid(smfn) || mfn_to_page(smfn)->u.sh.head); in get_fl1_shadow_status()
102 return smfn; in get_fl1_shadow_status()
110 ASSERT(!mfn_valid(smfn) || mfn_to_page(smfn)->u.sh.head); in get_shadow_status()
112 return smfn; in get_shadow_status()
331 mfn_t smfn; in sh_audit_gw() local
469 *smfn = sh_next_page(*smfn); in shadow_l1_index()
485 *smfn = sh_next_page(*smfn); in shadow_l2_index()
2361 mfn_t smfn; in sh_safe_not_to_sync() local
3341 if ( mfn_valid(smfn) && (mfn_x(smfn) != 0) ) in sh_page_fault()
3891 mfn_t smfn; in sh_detach_old_tables() local
[all …]
A Dprivate.h524 struct page_info *sp = mfn_to_page(smfn); in sh_get_ref()
526 ASSERT(mfn_valid(smfn)); in sh_get_ref()
557 struct page_info *sp = mfn_to_page(smfn); in sh_put_ref()
559 ASSERT(mfn_valid(smfn)); in sh_put_ref()
583 sh_destroy_shadow(d, smfn); in sh_put_ref()
636 ASSERT(mfn_valid(smfn)); in sh_pin()
637 sp[0] = mfn_to_page(smfn); in sh_pin()
664 if ( !sh_get_ref(d, smfn, 0) ) in sh_pin()
684 ASSERT(mfn_valid(smfn)); in sh_unpin()
685 sp = mfn_to_page(smfn); in sh_unpin()
[all …]
A Dmulti.h41 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 Dcommon.c575 && (mfn_x(oos_fixup[idx].smfn[i]) == mfn_x(smfn)) in oos_fixup_add()
598 oos_fixup[idx].smfn[next] = smfn; in oos_fixup_add()
1197 mfn_t smfn; in _shadow_prealloc() local
1209 smfn = page_to_mfn(sp); in _shadow_prealloc()
1213 sh_unpin(d, smfn); in _shadow_prealloc()
1269 mfn_t smfn; in shadow_blow_tables() local
1279 sh_unpin(d, smfn); in shadow_blow_tables()
2057 sp = mfn_to_page(smfn); in shadow_hash_insert()
2081 sp = mfn_to_page(smfn); in shadow_hash_delete()
2517 ASSERT(mfn_valid(smfn)); in sh_remove_write_access_from_sl1p()
[all …]
/xen-4.10.0-shim-comet/xen/common/efi/
A Dboot.c1378 return !(smfn & pfn_hole_mask) && in ram_range_valid()
1398 unsigned long smfn, emfn; in efi_init_memory() member
1414 unsigned long smfn, emfn; in efi_init_memory() local
1431 smfn = PFN_DOWN(desc->PhysicalStart); in efi_init_memory()
1461 !(smfn & pfn_hole_mask) && in efi_init_memory()
1467 smfn, emfn - smfn, prot) == 0 ) in efi_init_memory()
1472 smfn, emfn - 1); in efi_init_memory()
1478 extra->smfn = smfn; in efi_init_memory()
1492 smfn, emfn - 1); in efi_init_memory()
1577 ++i, ++extra->smfn ) in efi_init_memory()
[all …]
/xen-4.10.0-shim-comet/xen/common/
A Dpdx.c60 void set_pdx_range(unsigned long smfn, unsigned long emfn) in set_pdx_range() argument
64 idx = pfn_to_pdx(smfn) / PDX_GROUP_COUNT; in set_pdx_range()
A Dpage_alloc.c2162 unsigned long smfn, emfn; in init_domheap_pages() local
2166 smfn = round_pgup(ps) >> PAGE_SHIFT; in init_domheap_pages()
2169 if ( emfn <= smfn ) in init_domheap_pages()
2172 init_heap_pages(mfn_to_page(smfn), emfn - smfn); in init_domheap_pages()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dp2m.c780 mfn_t smfn, in __p2m_set_entry() argument
816 rc = p2m_next_level(p2m, mfn_eq(smfn, INVALID_MFN), in __p2m_set_entry()
827 rc = mfn_eq(smfn, INVALID_MFN) ? 0 : -ENOENT; in __p2m_set_entry()
905 ASSERT(!mfn_eq(INVALID_MFN, smfn) || (a == p2m_access_rwx)); in __p2m_set_entry()
922 if ( mfn_eq(smfn, INVALID_MFN) ) in __p2m_set_entry()
927 lpae_t pte = mfn_to_p2m_entry(smfn, t, a); in __p2m_set_entry()
979 mfn_t smfn, in p2m_set_entry() argument
997 mask = !mfn_eq(smfn, INVALID_MFN) ? mfn_x(smfn) : 0; in p2m_set_entry()
1010 rc = __p2m_set_entry(p2m, sgfn, order, smfn, t, a); in p2m_set_entry()
1015 if ( !mfn_eq(smfn, INVALID_MFN) ) in p2m_set_entry()
[all …]
/xen-4.10.0-shim-comet/xen/include/xen/
A Dpdx.h19 extern void set_pdx_range(unsigned long smfn, unsigned long emfn);
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dmem_sharing.c901 mfn_t smfn, cmfn; in share_pages() local
906 get_two_gfns(sd, gfn_x(sgfn), &smfn_type, NULL, &smfn, in share_pages()
912 if( mfn_x(smfn) == mfn_x(cmfn) ) in share_pages()
922 else if ( mfn_x(smfn) < mfn_x(cmfn) ) in share_pages()
925 spage = firstpg = __grab_shared_page(smfn); in share_pages()
943 spage = secondpg = __grab_shared_page(smfn); in share_pages()
984 BUG_ON(set_shared_p2m_entry(d, gfn->gfn, smfn)); in share_pages()
1015 mfn_t smfn, cmfn; in mem_sharing_add_to_physmap() local
1022 get_two_gfns(sd, sgfn, &smfn_type, NULL, &smfn, in mem_sharing_add_to_physmap()
1028 spage = __grab_shared_page(smfn); in mem_sharing_add_to_physmap()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dp2m.h225 mfn_t smfn,
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Ddomain.h147 mfn_t smfn[SHADOW_OOS_FIXUPS]; member

Completed in 46 milliseconds