Searched refs:max_mfn (Results 1 – 15 of 15) sorted by relevance
| /xen/tools/libs/guest/ |
| A D | xg_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() 179 DPRINTF("max_mfn %#lx", ctx->x86.pv.max_mfn); in x86_pv_map_m2p()
|
| A D | xg_offline_page.c | 400 unsigned long max_mfn, in xc_map_m2p() argument 411 m2p_size = M2P_SIZE(max_mfn); in xc_map_m2p() 412 m2p_chunks = M2P_CHUNKS(max_mfn); in xc_map_m2p() 474 unsigned long max_mfn; in xc_exchange_page() local 495 rc = xc_maximum_ram_page(xch, &max_mfn); in xc_exchange_page() 496 if ( rc || !(m2p_table = xc_map_m2p(xch, max_mfn, PROT_READ, NULL)) ) in xc_exchange_page() 706 munmap(m2p_table, M2P_SIZE(max_mfn)); in xc_exchange_page()
|
| A D | xg_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 | xg_sr_common.h | 325 xen_pfn_t max_mfn; member
|
| A D | xg_core.c | 443 unsigned long max_mfn; in xc_domain_dumpcore_via_callback() local 576 sts = xc_maximum_ram_page(xch, &max_mfn); in xc_domain_dumpcore_via_callback() 841 if ( gmfn > max_mfn ) in xc_domain_dumpcore_via_callback()
|
| /xen/tools/misc/ |
| A D | xen-mfndump.c | 40 unsigned long max_mfn; in dump_m2p_func() local 50 if ( xc_maximum_ram_page(xch, &max_mfn) < 0 ) in dump_m2p_func() 56 if ( !(m2p_table = xc_map_m2p(xch, max_mfn, PROT_READ, NULL)) ) in dump_m2p_func() 63 printf(" Max MFN: %lu\n", max_mfn); in dump_m2p_func() 64 for ( i = 0; i < max_mfn; i++ ) in dump_m2p_func() 70 munmap(m2p_table, M2P_SIZE(max_mfn)); in dump_m2p_func() 162 unsigned long i, max_mfn; in dump_ptes_func() local 189 rc = xc_maximum_ram_page(xch, &max_mfn); in dump_ptes_func() 190 if ( rc || (mfn > max_mfn) || in dump_ptes_func() 191 !(m2p_table = xc_map_m2p(xch, max_mfn, PROT_READ, NULL)) ) in dump_ptes_func() [all …]
|
| /xen/xen/arch/x86/x86_64/compat/ |
| A D | mm.c | 104 .max_mfn = MACH2PHYS_COMPAT_NR_ENTRIES(d) - 1 in compat_arch_memory_op()
|
| /xen/xen/include/public/ |
| A D | memory.h | 202 xen_ulong_t max_mfn; /* Maximum MFN that can be looked up. */ member
|
| A D | sysctl.h | 116 uint64_aligned_t max_mfn; /* Largest possible MFN on this host */ member
|
| /xen/tools/libs/ctrl/ |
| A D | xc_private.c | 387 int xc_maximum_ram_page(xc_interface *xch, unsigned long *max_mfn) in xc_maximum_ram_page() argument 393 *max_mfn = rc; in xc_maximum_ram_page()
|
| /xen/xen/common/ |
| A D | sysctl.c | 272 pi->max_mfn = get_upper_mfn_bound(); in do_sysctl()
|
| /xen/tools/include/ |
| A D | xenguest.h | 782 unsigned long max_mfn,
|
| A D | xenctrl.h | 1448 int xc_maximum_ram_page(xc_interface *xch, unsigned long *max_mfn);
|
| /xen/xen/arch/x86/ |
| A D | mm.c | 4848 .max_mfn = MACH2PHYS_NR_ENTRIES - 1 in arch_memory_op() 4852 mapping.max_mfn = max_page - 1; in arch_memory_op() 6352 unsigned long max_mfn; in get_upper_mfn_bound() local 6354 max_mfn = mem_hotplug ? PFN_DOWN(mem_hotplug) : max_page; in get_upper_mfn_bound() 6356 max_mfn = min(max_mfn, 1UL << 32); in get_upper_mfn_bound() 6358 return min(max_mfn, 1UL << (paddr_bits - PAGE_SHIFT)) - 1; in get_upper_mfn_bound()
|
| /xen/tools/libs/light/ |
| A D | libxl.c | 374 physinfo->max_possible_mfn = xcphysinfo.max_mfn; in libxl_get_physinfo()
|
Completed in 1298 milliseconds