Home
last modified time | relevance | path

Searched refs:mfn_valid (Results 1 – 25 of 42) sorted by relevance

12

/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dpaging.c81 if ( mfn_valid(mfn) ) in paging_new_log_dirty_leaf()
91 if ( mfn_valid(mfn) ) in paging_new_log_dirty_node()
304 if ( !mfn_valid(mfn) ) in paging_mark_pfn_dirty()
307 if ( !mfn_valid(mfn) ) in paging_mark_pfn_dirty()
312 if ( !mfn_valid(mfn) ) in paging_mark_pfn_dirty()
315 if ( !mfn_valid(mfn) ) in paging_mark_pfn_dirty()
320 if ( !mfn_valid(mfn) ) in paging_mark_pfn_dirty()
323 if ( !mfn_valid(mfn) ) in paging_mark_pfn_dirty()
377 if ( !mfn_valid(mfn) ) in paging_mfn_is_dirty()
383 if ( !mfn_valid(mfn) ) in paging_mfn_is_dirty()
[all …]
A Dp2m-pt.c575 ASSERT(!mfn_valid(mfn) || p2mt != p2m_mmio_direct); in p2m_pt_set_entry()
576 l3e_content = mfn_valid(mfn) || p2m_allows_invalid_mfn(p2mt) in p2m_pt_set_entry()
615 if ( mfn_valid(mfn) || p2m_allows_invalid_mfn(p2mt) ) in p2m_pt_set_entry()
667 ASSERT(!mfn_valid(mfn) || p2mt != p2m_mmio_direct); in p2m_pt_set_entry()
668 l2e_content = mfn_valid(mfn) || p2m_allows_invalid_mfn(p2mt) in p2m_pt_set_entry()
824 ASSERT(mfn_valid(mfn) || !p2m_is_ram(*t)); in p2m_pt_get_entry()
863 ASSERT(mfn_valid(mfn) || !p2m_is_ram(*t)); in p2m_pt_get_entry()
899 ASSERT(mfn_valid(mfn) || !p2m_is_ram(*t) || p2m_is_paging(*t)); in p2m_pt_get_entry()
1020 ASSERT(mfn_valid(_mfn(mfn))); in p2m_pt_audit_p2m()
1057 ASSERT(mfn_valid(_mfn(mfn))); in p2m_pt_audit_p2m()
[all …]
A Dp2m.c738 if ( mfn_valid(_mfn(mfn)) ) in p2m_remove_page()
905 if ( mfn_valid(mfn) ) in guest_physmap_add_entry()
1300 ASSERT(mfn_valid(omfn)); in set_shared_p2m_entry()
1352 if ( !mfn_valid(mfn) ) in p2m_mem_paging_nominate()
1616 if ( !mfn_valid(mfn) ) in p2m_mem_paging_prep()
1637 ASSERT( mfn_valid(mfn) ); in p2m_mem_paging_prep()
2061 ASSERT(mfn_valid(*mfn)); in map_domain_gfn()
2400 if ( mfn_valid(mfn) ) in p2m_change_altp2m_gfn()
2407 if ( !mfn_valid(mfn) ) in p2m_change_altp2m_gfn()
2432 if ( !mfn_valid(mfn) ) in p2m_change_altp2m_gfn()
[all …]
A Dmem_sharing.c401 if ( mfn_valid(_mfn(mfn)) ) in mem_sharing_lookup()
692 if ( !mfn_valid(mfn) ) in __grab_shared_page()
787 if ( !mfn_valid(mfn) ) in nominate_page()
828 if ( mfn_valid(amfn) && (!mfn_eq(amfn, mfn) || ap2ma != p2ma) ) in nominate_page()
1069 if ( mfn_valid(cmfn) ) in mem_sharing_add_to_physmap()
1234 if ( mfn_valid(mfn) && (t == p2m_ram_shared) ) in relinquish_shared_pages()
A Dmem_access.c253 if ( !mfn_valid(mfn) ) in p2m_set_altp2m_mem_access()
260 if ( !mfn_valid(mfn) || t != p2m_ram_rw ) in p2m_set_altp2m_mem_access()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dtraps.c200 pfn = mfn_valid(_mfn(mfn)) && machine_to_phys_mapping_valid ? in show_page_walk()
205 !mfn_valid(_mfn(mfn)) ) in show_page_walk()
212 pfn = mfn_valid(_mfn(mfn)) && machine_to_phys_mapping_valid ? in show_page_walk()
219 !mfn_valid(_mfn(mfn)) ) in show_page_walk()
226 pfn = mfn_valid(_mfn(mfn)) && machine_to_phys_mapping_valid ? in show_page_walk()
233 !mfn_valid(_mfn(mfn)) ) in show_page_walk()
240 pfn = mfn_valid(_mfn(mfn)) && machine_to_phys_mapping_valid ? in show_page_walk()
A Dmm.c68 if ( !(l3e_get_flags(l3e) & _PAGE_PRESENT) || !mfn_valid(_mfn(mfn)) ) in do_page_walk()
80 if ( !(l2e_get_flags(l2e) & _PAGE_PRESENT) || !mfn_valid(_mfn(mfn)) ) in do_page_walk()
92 if ( !(l1e_get_flags(l1e) & _PAGE_PRESENT) || !mfn_valid(_mfn(mfn)) ) in do_page_walk()
367 if ( mfn_valid(_mfn(i + n * PDX_GROUP_COUNT)) ) in setup_compat_m2p_table()
437 if ( mfn_valid(_mfn(i + n * PDX_GROUP_COUNT)) ) in setup_m2p_table()
554 if ( mfn_valid(_mfn(MFN(i + k) + n * PDX_GROUP_COUNT)) ) in paging_init()
587 if ( mfn_valid(_mfn(MFN(i) + n * PDX_GROUP_COUNT)) ) in paging_init()
653 if ( mfn_valid(_mfn(MFN(i) + n * PDX_GROUP_COUNT)) ) in paging_init()
/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/
A Dmulti.c337 if ( mfn_valid(gw->l4mfn) in sh_audit_gw()
341 if ( mfn_valid(gw->l3mfn) in sh_audit_gw()
357 if ( mfn_valid(gw->l1mfn) in sh_audit_gw()
363 && mfn_valid( in sh_audit_gw()
898 if ( mfn_valid(mfn) ) in shadow_get_page_from_l1e()
2278 if ( mfn_valid(gl1mfn) in validate_gl1e()
2374 ASSERT(mfn_valid(smfn)); in sh_safe_not_to_sync()
2383 ASSERT(mfn_valid(smfn)); in sh_safe_not_to_sync()
3943 if ( !mfn_valid(gmfn) ) in sh_set_toplevel_shadow()
3951 if ( !mfn_valid(smfn) ) in sh_set_toplevel_shadow()
[all …]
A Dcommon.c513 ASSERT(mfn_valid(gmfn)); in _sh_resync_l1()
707 if ( mfn_valid(oos[idx]) in oos_hash_add()
716 if ( mfn_valid(oos[idx]) ) in oos_hash_add()
854 if ( mfn_valid(oos[idx]) ) in sh_resync_all()
940 ASSERT(mfn_valid(gmfn)); in shadow_promote()
1185 ASSERT(mfn_valid(smfn)); in trace_shadow_prealloc_unpin()
1673 ASSERT(mfn_valid(mfn)); in emulate_gva_to_mfn()
2517 ASSERT(mfn_valid(smfn)); in sh_remove_write_access_from_sl1p()
2518 ASSERT(mfn_valid(gmfn)); in sh_remove_write_access_from_sl1p()
2641 ASSERT(mfn_valid(pmfn)); in sh_remove_shadow_via_pointer()
[all …]
A Dprivate.h500 if ( !mfn_valid(gmfn) ) in sh_mfn_is_a_page_table()
526 ASSERT(mfn_valid(smfn)); in sh_get_ref()
559 ASSERT(mfn_valid(smfn)); in sh_put_ref()
636 ASSERT(mfn_valid(smfn)); in sh_pin()
684 ASSERT(mfn_valid(smfn)); in sh_unpin()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Diommu_guest.c202 ASSERT(mfn_valid(_mfn(mfn))); in guest_iommu_add_ppr_log()
251 ASSERT(mfn_valid(_mfn(mfn))); in guest_iommu_add_event_log()
423 ASSERT(mfn_valid(_mfn(dte_mfn))); in do_invalidate_dte()
444 ASSERT(mfn_valid(_mfn(gcr3_mfn))); in do_invalidate_dte()
505 ASSERT(mfn_valid(_mfn(cmd_mfn))); in guest_iommu_process_command()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/x86/
A Dvtd.c132 (!mfn_valid(_mfn(pfn)) || in vtd_set_hwdom_mapping()
/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/
A Dguest_walk.c89 ASSERT(mfn_valid(top_mfn)); in hap_p2m_ga_to_gfn()
A Dnested_hap.c177 if ( !mfn_valid(mfn) ) in nestedhap_walk_L0_p2m()
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Dro-page-fault.c123 ASSERT(mfn_valid(_mfn(mfn))); in ptwr_emulated_update()
309 if ( mfn_valid(mfn) ) in mmio_ro_do_page_fault()
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dmm.h150 (mfn_valid(_mfn(mfn)) && is_xen_heap_page(__mfn_to_page(mfn)))
217 #define mfn_valid(mfn) ({ \ macro
A Dp2m.h287 if ( !mfn_valid(_mfn(mfn)) ) in get_page_from_gfn()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dtboot.c189 if ( !mfn_valid(_mfn(mfn)) ) in update_pagetable_mac()
281 if ( !mfn_valid(_mfn(mfn)) ) in tboot_gen_xenheap_integrity()
A Ddebug.c153 return mfn_valid(mfn) ? mfn : INVALID_MFN; in dbg_pv_va2mfn()
/xen-4.10.0-shim-comet/xen/common/
A Dpage_alloc.c1417 if ( !mfn_valid(_mfn(page_to_mfn(predecessor))) || in free_heap_pages()
1440 if ( !mfn_valid(_mfn(page_to_mfn(successor))) || in free_heap_pages()
1528 if ( !mfn_valid(_mfn(mfn)) ) in offline_page()
1637 if ( !mfn_valid(_mfn(mfn)) ) in online_page()
1688 if ( !mfn_valid(_mfn(mfn)) || !page_is_ram_type(mfn, RAM_TYPE_CONVENTIONAL) ) in query_page_offline()
1868 if ( !mfn_valid(_mfn(mfn)) || !page_state_is(pg, free) ) in smp_scrub_heap_pages()
A Dmemory.c212 if ( !mfn_valid(_mfn(mfn)) ) in populate_physmap()
303 ASSERT(mfn_valid(mfn)); in guest_remove_page()
322 if ( unlikely(!mfn_valid(mfn)) ) in guest_remove_page()
600 if ( unlikely(!mfn_valid(_mfn(mfn))) ) in memory_exchange()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dtmem_xen.h28 #define IS_VALID_PAGE(_pi) mfn_valid(_mfn(page_to_mfn(_pi)))
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dsetup.c271 if ( !mfn_valid(_mfn(paddr_to_pfn(s))) || in discard_initial_modules()
272 !mfn_valid(_mfn(paddr_to_pfn(e)))) in discard_initial_modules()
A Dmem_access.c204 if ( !mfn_valid(mfn) ) in p2m_mem_access_check_and_get_page()
A Dp2m.c633 ASSERT(mfn_valid(mfn)); in p2m_put_l3_page()
681 ASSERT(mfn_valid(mfn)); in p2m_free_entry()
1438 if ( !mfn_valid(maddr_to_mfn(maddr)) ) in get_page_from_gva()

Completed in 101 milliseconds

12