Home
last modified time | relevance | path

Searched refs:max_pfn (Results 1 – 10 of 10) sorted by relevance

/xen/xen/drivers/passthrough/x86/
A Diommu.c153 unsigned long max_pfn) in hwdom_iommu_map() argument
164 if ( (pfn > max_pfn && !mfn_valid(mfn)) || xen_in_range(pfn) ) in hwdom_iommu_map()
183 else if ( is_hvm_domain(d) || !iommu_hwdom_inclusive || pfn > max_pfn ) in hwdom_iommu_map()
207 unsigned long i, top, max_pfn; in arch_iommu_hwdom_init() local
232 max_pfn = (GB(4) >> PAGE_SHIFT) - 1; in arch_iommu_hwdom_init()
233 top = max(max_pdx, pfn_to_pdx(max_pfn) + 1); in arch_iommu_hwdom_init()
240 if ( !hwdom_iommu_map(d, pfn, max_pfn) ) in arch_iommu_hwdom_init()
/xen/tools/libxc/
A Dxc_sr_save_x86_pv.c93 ctx->save.p2m_size = ctx->x86.pv.max_pfn + 1; in map_p2m_leaves()
137 xen_pfn_t fll_mfn, saved_mfn, max_pfn; in map_p2m_tree() local
215 max_pfn = (saved_x + 1) * fpp * fpp - 1; in map_p2m_tree()
216 if ( max_pfn < ctx->x86.pv.max_pfn ) in map_p2m_tree()
218 ctx->x86.pv.max_pfn = max_pfn; in map_p2m_tree()
317 xen_pfn_t p2m_mfn, mfn, saved_mfn, max_pfn; in map_p2m_list() local
435 if ( max_pfn < ctx->x86.pv.max_pfn ) in map_p2m_list()
437 ctx->x86.pv.max_pfn = max_pfn; in map_p2m_list()
470 ctx->x86.pv.max_pfn = GET_FIELD(ctx->x86.pv.shinfo, arch.max_pfn, in map_p2m()
820 .end_pfn = ctx->x86.pv.max_pfn, in write_x86_pv_p2m_frames()
[all …]
A Dxc_sr_restore_x86_pv.c7 assert(pfn <= ctx->x86.pv.max_pfn); in pfn_to_mfn()
29 assert(max_pfn > old_max); in expand_p2m()
59 ctx->x86.pv.max_pfn = max_pfn; in expand_p2m()
143 if ( pfn > ctx->x86.pv.max_pfn ) in process_start_info()
176 if ( pfn > ctx->x86.pv.max_pfn ) in process_start_info()
197 if ( pfn > ctx->x86.pv.max_pfn ) in process_start_info()
271 if ( pfn > ctx->x86.pv.max_pfn ) in process_vcpu_basic()
298 if ( pfn > ctx->x86.pv.max_pfn ) in process_vcpu_basic()
330 if ( pfn > ctx->x86.pv.max_pfn ) in process_vcpu_basic()
936 return pfn <= ctx->x86.pv.max_pfn; in x86_pv_pfn_is_valid()
[all …]
A Dxc_sr_common_x86_pv.c14 (mfn_to_pfn(ctx, mfn) <= ctx->x86.pv.max_pfn) && in mfn_in_pseudophysmap()
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()
A Dxc_sr_common.h335 xen_pfn_t max_pfn; member
A Dxc_resume.c184 dinfo->p2m_size = shinfo->arch.max_pfn; in xc_domain_resume_any()
/xen/xen/include/asm-x86/
A Dshared.h40 GET_SET_SHARED(unsigned long, max_pfn)
/xen/xen/arch/x86/
A De820.c347 unsigned long max_pfn = 0; in find_max_pfn() local
358 if (end > max_pfn) in find_max_pfn()
359 max_pfn = end; in find_max_pfn()
362 return max_pfn; in find_max_pfn()
/xen/xen/include/public/arch-x86/
A Dxen.h233 unsigned long max_pfn; member
/xen/xen/arch/x86/mm/
A Dp2m.c1063 const unsigned long max_pfn = p2m->max_mapped_pfn; in change_type_range() local
1091 invalidate_end = min(invalidate_end, max_pfn); in change_type_range()
1109 ASSERT(invalidate_end <= max_pfn); in change_type_range()
1110 if ( !invalidate_start && invalidate_end == max_pfn) in change_type_range()

Completed in 17 milliseconds