Searched refs:max_mfn (Results 1 – 15 of 15) sorted by relevance
/xen/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() 325 if ( p2m_mfn > ctx->x86.pv.max_mfn ) in map_p2m_list() 410 if ( mfn == 0 || mfn > ctx->x86.pv.max_mfn ) in map_p2m_list()
|
A D | xc_sr_common.h | 326 xen_pfn_t max_mfn; member
|
A D | xc_private.c | 350 int xc_maximum_ram_page(xc_interface *xch, unsigned long *max_mfn) in xc_maximum_ram_page() argument 356 *max_mfn = rc; in xc_maximum_ram_page()
|
/xen/tools/misc/ |
A D | xen-mfndump.c | 32 unsigned long max_mfn; in dump_m2p_func() local 42 if ( xc_maximum_ram_page(xch, &max_mfn) < 0 ) in dump_m2p_func() 48 if ( !(m2p_table = xc_map_m2p(xch, max_mfn, PROT_READ, NULL)) ) in dump_m2p_func() 55 printf(" Max MFN: %lu\n", max_mfn); in dump_m2p_func() 56 for ( i = 0; i < max_mfn; i++ ) in dump_m2p_func() 62 munmap(m2p_table, M2P_SIZE(max_mfn)); in dump_m2p_func() 155 unsigned long i, max_mfn; in dump_ptes_func() local 183 rc = xc_maximum_ram_page(xch, &max_mfn); in dump_ptes_func() 184 if ( rc || (mfn > max_mfn) || in dump_ptes_func() 185 !(m2p_table = xc_map_m2p(xch, max_mfn, PROT_READ, NULL)) ) in dump_ptes_func() [all …]
|
/xen/tools/libxc/include/ |
A D | xenguest.h | 328 unsigned long max_mfn,
|
A D | xenctrl.h | 1519 int xc_maximum_ram_page(xc_interface *xch, unsigned long *max_mfn);
|
/xen/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/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 | 120 uint64_aligned_t max_mfn; /* Largest possible MFN on this host */ member
|
/xen/xen/common/ |
A D | sysctl.c | 272 pi->max_mfn = get_upper_mfn_bound(); in do_sysctl()
|
/xen/xen/arch/x86/ |
A D | mm.c | 4903 .max_mfn = MACH2PHYS_NR_ENTRIES - 1 in arch_memory_op() 4907 mapping.max_mfn = max_page - 1; in arch_memory_op() 6277 unsigned long max_mfn; in get_upper_mfn_bound() local 6279 max_mfn = mem_hotplug ? PFN_DOWN(mem_hotplug) : max_page; in get_upper_mfn_bound() 6281 max_mfn = min(max_mfn, 1UL << 32); in get_upper_mfn_bound() 6283 return min(max_mfn, 1UL << (paddr_bits - PAGE_SHIFT)) - 1; in get_upper_mfn_bound()
|
/xen/tools/libxl/ |
A D | libxl.c | 376 physinfo->max_possible_mfn = xcphysinfo.max_mfn; in libxl_get_physinfo()
|
Completed in 35 milliseconds