Home
last modified time | relevance | path

Searched refs:gpfn (Results 1 – 20 of 20) sorted by relevance

/xen/tools/libxc/
A Dxc_offline_page.c145 static int xc_is_page_granted_v1(xc_interface *xch, xen_pfn_t gpfn, in xc_is_page_granted_v1() argument
155 (gnttab[i].frame == gpfn) ) in xc_is_page_granted_v1()
161 static int xc_is_page_granted_v2(xc_interface *xch, xen_pfn_t gpfn, in xc_is_page_granted_v2() argument
171 (gnttab[i].full_page.frame == gpfn) ) in xc_is_page_granted_v2()
471 xen_pfn_t new_mfn, gpfn; in xc_exchange_page() local
500 gpfn = m2p_table[mfn]; in xc_exchange_page()
517 if ( (minfo.pfn_type[gpfn] & XEN_DOMCTL_PFINFO_LTABTYPE_MASK) == in xc_exchange_page()
561 if (minfo.pfn_type[gpfn] & XEN_DOMCTL_PFINFO_LPINTAB) in xc_exchange_page()
644 minfo.p2m_table[gpfn] = new_mfn; in xc_exchange_page()
A Dxc_core_arm.c100 xen_pfn_t *gpfn) in xc_core_arch_get_scratch_gpfn() argument
108 *gpfn = GUEST_GNTTAB_BASE >> XC_PAGE_SHIFT; in xc_core_arch_get_scratch_gpfn()
A Dxc_core_x86.c212 xen_pfn_t *gpfn) in xc_core_arch_get_scratch_gpfn() argument
214 return xc_domain_nr_gpfns(xch, domid, gpfn); in xc_core_arch_get_scratch_gpfn()
A Dxc_core.h151 xen_pfn_t *gpfn);
A Dxc_dom_boot.c350 xatp.gpfn = scratch_gfn; in compat_gnttab_hvm_seed()
351 xrfp.gpfn = scratch_gfn; in compat_gnttab_hvm_seed()
A Dxc_domain.c1015 xen_pfn_t gpfn) in xc_domain_add_to_physmap() argument
1021 .gpfn = gpfn, in xc_domain_add_to_physmap()
1073 xen_pfn_t gpfn) in xc_domain_remove_from_physmap() argument
1077 .gpfn = gpfn, in xc_domain_remove_from_physmap()
/xen/xen/common/
A Dmemory.c160 xen_pfn_t gpfn; in populate_physmap() local
214 guest_physmap_mark_populate_on_demand(d, gpfn, in populate_physmap()
222 mfn = _mfn(gpfn); in populate_physmap()
245 mfn = _mfn(gpfn); in populate_physmap()
522 xen_pfn_t gpfn, gmfn; in memory_exchange() local
761 guest_physmap_add_page(d, _gfn(gpfn), mfn, in memory_exchange()
834 xatp->gpfn += start; in xenmem_add_to_physmap()
851 xatp->gpfn++; in xenmem_add_to_physmap()
928 xen_pfn_t gpfn; in xenmem_add_to_physmap_batch() local
938 idx, _gfn(gpfn)); in xenmem_add_to_physmap_batch()
[all …]
/xen/xen/include/public/
A Dmemory.h253 xen_pfn_t gpfn; member
310 xen_pfn_t gpfn; member
/xen/xen/include/asm-x86/hvm/
A Dio.h117 bool handle_mmio_with_translation(unsigned long gla, unsigned long gpfn,
/xen/xen/common/compat/
A Dmemory.c285 compat_pfn_t gpfn; in compat_memory_op() local
288 __copy_from_compat_offset(&gpfn, cmp.atpb.gpfns, i, 1) ) in compat_memory_op()
291 gpfns[i] = gpfn; in compat_memory_op()
/xen/xen/arch/x86/hvm/
A Dio.c109 bool handle_mmio_with_translation(unsigned long gla, unsigned long gpfn, in handle_mmio_with_translation() argument
118 vio->mmio_gpfn = gpfn; in handle_mmio_with_translation()
A Ddm.c665 .gpfn = data->dst_gfn, in dm_op()
/xen/tools/firmware/hvmloader/
A Dutil.c435 xatp.gpfn = mfn; in mem_hole_populate_ram()
794 xatp.gpfn = mem_hole_alloc(1); in get_shared_info()
795 shared_info = (struct shared_info *)(xatp.gpfn << PAGE_SHIFT); in get_shared_info()
A Dpci.c396 xatp.gpfn = hvm_info->high_mem_pgend; in pci_setup()
/xen/xen/arch/x86/guest/xen/
A Dxen.c83 xatp.gpfn = mfn_x(mfn); in map_shared_info()
/xen/xen/arch/x86/mm/
A Dp2m.c2556 unsigned long gpfn, domid_t foreigndom) in p2m_add_foreign() argument
2605 prev_mfn = get_gfn(tdom, gpfn, &p2mt_prev); in p2m_add_foreign()
2610 rc = guest_physmap_remove_page(tdom, _gfn(gpfn), prev_mfn, 0); in p2m_add_foreign()
2613 rc = guest_remove_page(tdom, gpfn); in p2m_add_foreign()
2622 rc = set_foreign_p2m_entry(tdom, gpfn, mfn); in p2m_add_foreign()
2626 gpfn, mfn_x(mfn), fgfn, tdom->domain_id, fdom->domain_id); in p2m_add_foreign()
2636 put_gfn(tdom, gpfn); in p2m_add_foreign()
/xen/xen/arch/x86/
A Dmm.c3893 unsigned long gpfn, gmfn; in do_mmu_update() local
4130 gpfn = req.val; in do_mmu_update()
4150 set_gpfn_from_mfn(mfn_x(mfn), gpfn); in do_mmu_update()
4151 paging_mark_pfn_dirty(pg_owner, _pfn(gpfn)); in do_mmu_update()
4604 gfn_t gpfn) in xenmem_add_to_physmap_one() argument
4620 rc = gnttab_map_frame(d, idx, gpfn, &mfn); in xenmem_add_to_physmap_one()
4642 return p2m_add_foreign(d, idx, gfn_x(gpfn), extra.foreign_domid); in xenmem_add_to_physmap_one()
4654 prev_mfn = get_gfn(d, gfn_x(gpfn), &p2mt); in xenmem_add_to_physmap_one()
4662 rc = guest_remove_page(d, gfn_x(gpfn)); in xenmem_add_to_physmap_one()
4665 put_gfn(d, gfn_x(gpfn)); in xenmem_add_to_physmap_one()
[all …]
/xen/xen/include/asm-x86/
A Dp2m.h653 unsigned long gpfn, domid_t foreign_domid);
/xen/tools/libxc/include/
A Dxenctrl.h1390 xen_pfn_t gpfn);
1403 xen_pfn_t gpfn);
/xen/xen/arch/x86/pv/
A Dshim.c762 xatp.gpfn = mfn_x(mfn); in pv_shim_grant_table_op()

Completed in 49 milliseconds