Home
last modified time | relevance | path

Searched refs:max_mfn (Results 1 – 15 of 15) sorted by relevance

/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_sr_common_x86_pv.c7 assert(mfn <= ctx->x86_pv.max_mfn); in mfn_to_pfn()
13 return ( (mfn <= ctx->x86_pv.max_mfn) && in mfn_in_pseudophysmap()
24 ERROR("mfn %#lx, max %#lx", mfn, ctx->x86_pv.max_mfn); in dump_bad_pseudophysmap_entry()
26 if ( (mfn != ~0UL) && (mfn <= ctx->x86_pv.max_mfn) ) in dump_bad_pseudophysmap_entry()
111 ctx->x86_pv.max_mfn = max_page; in x86_pv_map_m2p()
112 m2p_size = M2P_SIZE(ctx->x86_pv.max_mfn); in x86_pv_map_m2p()
113 m2p_chunks = M2P_CHUNKS(ctx->x86_pv.max_mfn); in x86_pv_map_m2p()
176 DPRINTF("max_mfn %#lx", ctx->x86_pv.max_mfn); in x86_pv_map_m2p()
A Dxc_offline_page.c399 unsigned long max_mfn, in xc_map_m2p() argument
410 m2p_size = M2P_SIZE(max_mfn); in xc_map_m2p()
411 m2p_chunks = M2P_CHUNKS(max_mfn); in xc_map_m2p()
473 unsigned long max_mfn; in xc_exchange_page() local
494 rc = xc_maximum_ram_page(xch, &max_mfn); in xc_exchange_page()
495 if ( rc || !(m2p_table = xc_map_m2p(xch, max_mfn, PROT_READ, NULL)) ) in xc_exchange_page()
705 munmap(m2p_table, M2P_SIZE(max_mfn)); in xc_exchange_page()
A Dxg_save_restore.h52 /* OUT */ unsigned long *max_mfn, in get_platform_info() argument
66 if (xc_maximum_ram_page(xch, max_mfn)) in get_platform_info()
A Dxc_sr_save_x86_pv.c157 if ( fll_mfn == 0 || fll_mfn > ctx->x86_pv.max_mfn ) in map_p2m_tree()
192 if ( local_fll[x] == 0 || local_fll[x] > ctx->x86_pv.max_mfn ) in map_p2m_tree()
252 if ( local_fl[x] == 0 || local_fl[x] > ctx->x86_pv.max_mfn ) in map_p2m_tree()
326 if ( p2m_mfn > ctx->x86_pv.max_mfn ) in map_p2m_list()
411 if ( mfn == 0 || mfn > ctx->x86_pv.max_mfn ) in map_p2m_list()
A Dxc_sr_common.h274 xen_pfn_t max_mfn; member
A Dxc_private.c335 int xc_maximum_ram_page(xc_interface *xch, unsigned long *max_mfn) in xc_maximum_ram_page() argument
341 *max_mfn = rc; in xc_maximum_ram_page()
/xen-4.10.0-shim-comet/tools/misc/
A Dxen-mfndump.c35 unsigned long max_mfn; in dump_m2p_func() local
45 if ( xc_maximum_ram_page(xch, &max_mfn) < 0 ) in dump_m2p_func()
51 if ( !(m2p_table = xc_map_m2p(xch, max_mfn, PROT_READ, NULL)) ) in dump_m2p_func()
58 printf(" Max MFN: %lu\n", max_mfn); in dump_m2p_func()
59 for ( i = 0; i < max_mfn; i++ ) in dump_m2p_func()
65 munmap(m2p_table, M2P_SIZE(max_mfn)); in dump_m2p_func()
158 unsigned long i, max_mfn; in dump_ptes_func() local
186 rc = xc_maximum_ram_page(xch, &max_mfn); in dump_ptes_func()
187 if ( rc || (mfn > max_mfn) || in dump_ptes_func()
188 !(m2p_table = xc_map_m2p(xch, max_mfn, PROT_READ, NULL)) ) in dump_ptes_func()
[all …]
/xen-4.10.0-shim-comet/tools/libxc/include/
A Dxenguest.h310 unsigned long max_mfn,
A Dxenctrl.h1546 int xc_maximum_ram_page(xc_interface *xch, unsigned long *max_mfn);
/xen-4.10.0-shim-comet/xen/include/public/
A Dmemory.h212 xen_ulong_t max_mfn; /* Maximum MFN that can be looked up. */ member
A Dsysctl.h104 uint64_aligned_t max_mfn; /* Largest possible MFN on this host */ member
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/compat/
A Dmm.c103 .max_mfn = MACH2PHYS_COMPAT_NR_ENTRIES(d) - 1 in compat_arch_memory_op()
/xen-4.10.0-shim-comet/xen/common/
A Dsysctl.c269 pi->max_mfn = get_upper_mfn_bound(); in do_sysctl()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dmm.c4336 .max_mfn = MACH2PHYS_NR_ENTRIES - 1 in arch_memory_op()
4340 mapping.max_mfn = max_page - 1; in arch_memory_op()
5573 unsigned long max_mfn; in get_upper_mfn_bound() local
5575 max_mfn = mem_hotplug ? PFN_DOWN(mem_hotplug) : max_page; in get_upper_mfn_bound()
5577 max_mfn = min(max_mfn, 1UL << 32); in get_upper_mfn_bound()
5579 return min(max_mfn, 1UL << (paddr_bits - PAGE_SHIFT)) - 1; in get_upper_mfn_bound()
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl.c376 physinfo->max_possible_mfn = xcphysinfo.max_mfn; in libxl_get_physinfo()

Completed in 32 milliseconds