Home
last modified time | relevance | path

Searched refs:PFN_DOWN (Results 1 – 25 of 32) sorted by relevance

12

/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dmmconfig_64.c152 start_mfn = PFN_DOWN(cfg->address) + PCI_BDF(cfg->start_bus_number, 0, 0); in pci_mmcfg_arch_enable()
153 end_mfn = PFN_DOWN(cfg->address) + PCI_BDF(cfg->end_bus_number, ~0, ~0); in pci_mmcfg_arch_enable()
187 mfn >= PFN_DOWN(cfg->address) + PCI_BDF(cfg->start_bus_number, in pci_mmcfg_decode()
189 mfn <= PFN_DOWN(cfg->address) + PCI_BDF(cfg->end_bus_number, in pci_mmcfg_decode()
192 *bdf = mfn - PFN_DOWN(cfg->address); in pci_mmcfg_decode()
A Dmm.c72 mfn += PFN_DOWN(addr & ((1UL << L3_PAGETABLE_SHIFT) - 1)); in do_page_walk()
84 mfn += PFN_DOWN(addr & ((1UL << L2_PAGETABLE_SHIFT) - 1)); in do_page_walk()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Ddomain_page.c80 if ( mfn_x(mfn) <= PFN_DOWN(__pa(HYPERVISOR_VIRT_END - 1)) ) in map_domain_page()
195 idx = PFN_DOWN(va - MAPCACHE_VIRT_START); in unmap_domain_page()
243 if ( !mem_hotplug && max_page <= PFN_DOWN(__pa(HYPERVISOR_VIRT_END - 1)) ) in mapcache_domain_init()
314 if ( mfn_x(mfn) <= PFN_DOWN(__pa(HYPERVISOR_VIRT_END - 1)) ) in map_domain_page_global()
A Dtboot.c81 if ( map_base != PFN_DOWN(pa + i) ) in tboot_copy_memory()
83 map_base = PFN_DOWN(pa + i); in tboot_copy_memory()
285 if ( (mfn >= PFN_DOWN(g_tboot_shared->tboot_base - 3 * PAGE_SIZE)) in tboot_gen_xenheap_integrity()
346 map_base = PFN_DOWN(g_tboot_shared->tboot_base); in tboot_shutdown()
A Dsetup.c1032 (l3e_get_pfn(*pl3e) > PFN_DOWN(xen_phys_start)) ) in __start_xen()
1042 (l2e_get_pfn(*pl2e) > PFN_DOWN(xen_phys_start)) ) in __start_xen()
1066 (l2e_get_pfn(*pl2e) > PFN_DOWN(xen_phys_start)) ) in __start_xen()
1195 xenheap_max_mfn(PFN_DOWN(highmem_start - 1)); in __start_xen()
1288 map_pages_to_xen((unsigned long)__va(map_e), PFN_DOWN(map_e), in __start_xen()
1289 PFN_DOWN(end - map_e), PAGE_HYPERVISOR); in __start_xen()
1298 map_pages_to_xen((unsigned long)__va(map_e), PFN_DOWN(map_e), in __start_xen()
1299 PFN_DOWN(e - map_e), __PAGE_HYPERVISOR_RW); in __start_xen()
1321 unsigned long s = PFN_DOWN(kexec_crash_area.start); in __start_xen()
1422 if ( PFN_DOWN(e) <= limit ) in __start_xen()
[all …]
A Dmsi.c930 msix->table.first = PFN_DOWN(table_paddr); in msix_capability_init()
931 msix->table.last = PFN_DOWN(table_paddr + in msix_capability_init()
943 msix->pba.first = PFN_DOWN(pba_paddr); in msix_capability_init()
944 msix->pba.last = PFN_DOWN(pba_paddr + in msix_capability_init()
A De820.c357 end = PFN_DOWN(e820.map[i].addr + e820.map[i].size); in find_max_pfn()
A Dmm.c325 PFN_DOWN(e820.map[i].addr + e820.map[i].size)); in arch_init_memory()
823 bool alias = mfn >= PFN_DOWN(xen_phys_start) && in update_xen_mappings()
826 XEN_VIRT_START + ((mfn - PFN_DOWN(xen_phys_start)) << PAGE_SHIFT); in update_xen_mappings()
4291 unsigned long s = PFN_DOWN(e820.map[i].addr); in arch_memory_op()
5228 mfn_t mfn = _mfn(PFN_DOWN(pa)); in ioremap()
5575 max_mfn = mem_hotplug ? PFN_DOWN(mem_hotplug) : max_page; in get_upper_mfn_bound()
A Dmpparse.c705 __set_fixmap(FIX_EFI_MPF, PFN_DOWN(efi.mps), __PAGE_HYPERVISOR); in efi_check_config()
/xen-4.10.0-shim-comet/xen/drivers/acpi/apei/
A Dhest.c187 map_pages_to_xen((unsigned long)__va(hest_addr), PFN_DOWN(hest_addr), in acpi_hest_init()
188 PFN_UP(hest_addr + hest_len) - PFN_DOWN(hest_addr), in acpi_hest_init()
A Derst.c802 map_pages_to_xen((unsigned long)__va(erst_addr), PFN_DOWN(erst_addr), in erst_init()
803 PFN_UP(erst_addr + erst_len) - PFN_DOWN(erst_addr), in erst_init()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dpfn.h6 #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) macro
/xen-4.10.0-shim-comet/xen/arch/x86/guest/
A Dxen.c180 PFN_DOWN(GB(4) - 1))) ) in init_memmap()
187 if ( rangeset_add_range(mem, PFN_DOWN(e->addr), in init_memmap()
190 PFN_DOWN(e->addr), PFN_UP(e->addr + e->size - 1)); in init_memmap()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Ddom0_build.c264 ident_pt = map_domain_gfn(p2m_get_hostp2m(d), _gfn(PFN_DOWN(gaddr)), in pvh_setup_vmx_realmode_helpers()
287 ASSERT(start + nr_pages <= PFN_DOWN(MB(1))); in pvh_steal_low_ram()
356 pages = PFN_DOWN(entry_guest->size); in pvh_setup_e820()
382 #define MB1_PAGES PFN_DOWN(MB(1)) in pvh_setup_p2m()
413 addr = PFN_DOWN(d->arch.e820[i].addr); in pvh_setup_p2m()
414 size = PFN_DOWN(d->arch.e820[i].size); in pvh_setup_p2m()
784 mfn = PFN_DOWN(address); in acpi_memory_banned()
965 pfn = PFN_DOWN(d->arch.e820[i].addr); in pvh_setup_acpi()
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dgrant_table.h40 return PFN_DOWN(_etext - _stext); in gnttab_dom0_max()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Dpci_amd_iommu.c291 if ( iomem_deny_access(d, PFN_DOWN(iommu->mmio_base_phys), in amd_iommu_hwdom_init()
292 PFN_DOWN(iommu->mmio_base_phys + in amd_iommu_hwdom_init()
583 (unsigned long)PFN_DOWN(address), in amd_dump_p2m_table_level()
584 (unsigned long)PFN_DOWN(next_table_maddr)); in amd_dump_p2m_table_level()
/xen-4.10.0-shim-comet/xen/common/
A Dvmap.c30 vm_end[type] = PFN_DOWN(end - start); in vm_init_type()
155 idx = PFN_DOWN(va - vm_base[type]); in vm_index()
/xen-4.10.0-shim-comet/xen/drivers/acpi/
A Dosl.c91 mfn_t mfn = _mfn(PFN_DOWN(phys)); in acpi_os_map_memory()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/
A Ddmar.c1011 map_pages_to_xen((unsigned long)__va(dmar_addr), PFN_DOWN(dmar_addr), in acpi_dmar_init()
1012 PFN_UP(dmar_addr + dmar_len) - PFN_DOWN(dmar_addr), in acpi_dmar_init()
1068 rc = func(PFN_DOWN(rmrr->base_address), in intel_iommu_get_reserved_device_memory()
1069 PFN_UP(rmrr->end_address) - PFN_DOWN(rmrr->base_address), in intel_iommu_get_reserved_device_memory()
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Ddescriptor-tables.c42 unsigned long pfn, zero_pfn = PFN_DOWN(__pa(zero_page)); in pv_destroy_gdt()
A Dshim.c179 dom0_update_physmap(d, PFN_DOWN((va) - va_start), param, vphysmap); \ in pv_shim_setup_dom()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/
A Dvvmx.c1513 copy_domain_page(_mfn(PFN_DOWN(nvcpu->nv_n2vmcx_pa)), in nvmx_handle_vmxon()
1514 _mfn(PFN_DOWN(v->arch.hvm_vmx.vmcs_pa))); in nvmx_handle_vmxon()
1636 PFN_DOWN(v->arch.hvm_vmx.vmcs_shadow_maddr)); in nvmx_handle_vmresume()
1670 PFN_DOWN(v->arch.hvm_vmx.vmcs_shadow_maddr)); in nvmx_handle_vmlaunch()
1681 PFN_DOWN(v->arch.hvm_vmx.vmcs_shadow_maddr)) < 0 ) in nvmx_handle_vmlaunch()
1806 PFN_DOWN(v->arch.hvm_vmx.vmcs_shadow_maddr)); in nvmx_handle_vmclear()
2041 map_domain_page(_mfn(PFN_DOWN(v->arch.hvm_vmx.vmcs_pa))); in nvmx_msr_read_intercept()
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dsetup.c609 max_page = PFN_DOWN(ram_end); in setup_mm()
679 max_page = PFN_DOWN(ram_end); in setup_mm()
/xen-4.10.0-shim-comet/xen/arch/x86/acpi/
A Dboot.c316 && !page_is_ram_type(PFN_DOWN(bgrt_tbl->image_address), in acpi_invalidate_bgrt()
/xen-4.10.0-shim-comet/xen/common/efi/
A Dboot.c1431 smfn = PFN_DOWN(desc->PhysicalStart); in efi_init_memory()
1524 copy_mapping(PFN_DOWN(desc->PhysicalStart), in efi_init_memory()

Completed in 57 milliseconds

12