Searched refs:max_mfn (Results 1 – 15 of 15) sorted by relevance
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_sr_common_x86_pv.c | 7 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 D | xc_offline_page.c | 399 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 D | xg_save_restore.h | 52 /* OUT */ unsigned long *max_mfn, in get_platform_info() argument 66 if (xc_maximum_ram_page(xch, max_mfn)) in get_platform_info()
|
A D | xc_sr_save_x86_pv.c | 157 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 D | xc_sr_common.h | 274 xen_pfn_t max_mfn; member
|
A D | xc_private.c | 335 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 D | xen-mfndump.c | 35 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 D | xenguest.h | 310 unsigned long max_mfn,
|
A D | xenctrl.h | 1546 int xc_maximum_ram_page(xc_interface *xch, unsigned long *max_mfn);
|
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | memory.h | 212 xen_ulong_t max_mfn; /* Maximum MFN that can be looked up. */ member
|
A D | sysctl.h | 104 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 D | mm.c | 103 .max_mfn = MACH2PHYS_COMPAT_NR_ENTRIES(d) - 1 in compat_arch_memory_op()
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | sysctl.c | 269 pi->max_mfn = get_upper_mfn_bound(); in do_sysctl()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | mm.c | 4336 .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 D | libxl.c | 376 physinfo->max_possible_mfn = xcphysinfo.max_mfn; in libxl_get_physinfo()
|
Completed in 32 milliseconds