Lines Matching refs:x86_pv

7     assert(mfn <= ctx->x86_pv.max_mfn);  in mfn_to_pfn()
8 return ctx->x86_pv.m2p[mfn]; in mfn_to_pfn()
13 return ( (mfn <= ctx->x86_pv.max_mfn) && in mfn_in_pseudophysmap()
14 (mfn_to_pfn(ctx, mfn) <= ctx->x86_pv.max_pfn) && in mfn_in_pseudophysmap()
15 (xc_pfn_to_mfn(mfn_to_pfn(ctx, mfn), ctx->x86_pv.p2m, in mfn_in_pseudophysmap()
16 ctx->x86_pv.width) == 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()
28 pfn = ctx->x86_pv.m2p[mfn]; in dump_bad_pseudophysmap_entry()
30 mfn, pfn, ctx->x86_pv.max_pfn); in dump_bad_pseudophysmap_entry()
33 if ( (pfn != ~0UL) && (pfn <= ctx->x86_pv.max_pfn) ) in dump_bad_pseudophysmap_entry()
35 pfn, xc_pfn_to_mfn(pfn, ctx->x86_pv.p2m, ctx->x86_pv.width)); in dump_bad_pseudophysmap_entry()
40 if ( ctx->x86_pv.width == 8 ) in cr3_to_mfn()
56 if ( ctx->x86_pv.width == 8 ) in mfn_to_cr3()
89 ctx->x86_pv.width = guest_width; in x86_pv_domain_info()
90 ctx->x86_pv.levels = guest_levels; in x86_pv_domain_info()
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()
140 ctx->x86_pv.m2p = xc_map_foreign_ranges( in x86_pv_map_m2p()
144 if ( !ctx->x86_pv.m2p ) in x86_pv_map_m2p()
150 ctx->x86_pv.nr_m2p_frames = (M2P_CHUNK_SIZE >> PAGE_SHIFT) * m2p_chunks; in x86_pv_map_m2p()
154 ctx->x86_pv.compat_m2p_mfn0 = entries[0].mfn; in x86_pv_map_m2p()
160 .extent_start = { &ctx->x86_pv.compat_m2p_mfn0 } in x86_pv_map_m2p()
176 DPRINTF("max_mfn %#lx", ctx->x86_pv.max_mfn); in x86_pv_map_m2p()