Home
last modified time | relevance | path

Searched refs:paddr_to_pfn (Results 1 – 21 of 21) sorted by relevance

/xen/xen/arch/x86/
A Ddom0_build.c508 mfn = paddr_to_pfn(mp_lapic_addr); in dom0_setup_permissions()
514 mfn = paddr_to_pfn(mp_ioapics[i].mpc_apicaddr); in dom0_setup_permissions()
519 rc |= iomem_deny_access(d, paddr_to_pfn(MSI_ADDR_BASE_LO), in dom0_setup_permissions()
520 paddr_to_pfn(MSI_ADDR_BASE_LO + in dom0_setup_permissions()
524 rc |= iomem_deny_access(d, paddr_to_pfn(0xfdULL << 32), in dom0_setup_permissions()
525 paddr_to_pfn((1ULL << 40) - 1)); in dom0_setup_permissions()
531 sfn = max_t(unsigned long, paddr_to_pfn(e820.map[i].addr), 0x100ul); in dom0_setup_permissions()
532 efn = paddr_to_pfn(e820.map[i].addr + e820.map[i].size - 1); in dom0_setup_permissions()
544 mfn = paddr_to_pfn(hpet_address); in dom0_setup_permissions()
A Dtboot.c163 pt_vaddr = (struct dma_pte *)map_domain_page(_mfn(paddr_to_pfn(pt_maddr))); in update_iommu_mac()
A Dmm.c4584 unsigned long mfn = paddr_to_pfn(mp_ioapics[i].mpc_apicaddr); in handle_iomem_range()
/xen/xen/include/asm-arm/
A Dmm.h231 #define paddr_to_pfn(pa) ((unsigned long)((pa) >> PAGE_SHIFT)) macro
234 #define gaddr_to_gfn(ga) _gfn(paddr_to_pfn(ga))
236 #define maddr_to_mfn(ma) _mfn(paddr_to_pfn(ma))
241 #define paddr_to_pfn_aligned(paddr) paddr_to_pfn(PAGE_ALIGN(paddr))
/xen/xen/drivers/passthrough/vtd/x86/
A Dvtd.c42 return map_domain_page(_mfn(paddr_to_pfn(maddr))); in map_vtd_domain_page()
/xen/xen/drivers/video/
A Dvga.c81 if ( page_is_ram_type(paddr_to_pfn(0xB8000), RAM_TYPE_CONVENTIONAL) || in video_init()
/xen/xen/arch/arm/
A Dguestcopy.c40 page = get_page_from_gfn(info.gpa.d, paddr_to_pfn(addr), &p2mt, P2M_ALLOC); in translate_get_page()
A Dsetup.c584 set_pdx_range(paddr_to_pfn(bank_start), in init_pdx()
585 paddr_to_pfn(bank_end)); in init_pdx()
A Ddomain_build.c1229 res = iomem_permit_access(d, paddr_to_pfn(addr), in map_range_to_domain()
1230 paddr_to_pfn(PAGE_ALIGN(addr + len - 1))); in map_range_to_domain()
1807 res = iomem_permit_access(kinfo->d, paddr_to_pfn(mstart), in handle_passthrough_prop()
1808 paddr_to_pfn(PAGE_ALIGN(mstart + size - 1))); in handle_passthrough_prop()
A Dmm.c579 create_mappings(xen_second, BOOT_FDT_VIRT_START, paddr_to_pfn(base_paddr), in early_fdt_map()
595 paddr_to_pfn(base_paddr + SZ_2M), in early_fdt_map()
A Dgic-v3-its.c903 mfn = paddr_to_pfn(its_data->addr); in gicv3_its_deny_access()
/xen/xen/include/asm-x86/
A Dpage.h292 #define paddr_to_pfn(pa) __paddr_to_pfn(pa) macro
293 #define paddr_to_pdx(pa) pfn_to_pdx(paddr_to_pfn(pa))
/xen/xen/common/
A Dkimage.c494 for ( ptr = map_domain_page(_mfn(paddr_to_pfn(image->head))); \
497 (unmap_domain_page(ptr), map_domain_page(_mfn(paddr_to_pfn(entry)))) \
/xen/xen/drivers/passthrough/vtd/
A Dquirks.c519 page_is_ram_type(paddr_to_pfn(pa), RAM_TYPE_RESERVED) ) in pci_vtd_quirk()
A Ddmar.c891 paddr_to_pfn(rmrru->base_address), in add_user_rmrr()
892 paddr_to_pfn(rmrru->end_address)); in add_user_rmrr()
/xen/xen/drivers/passthrough/amd/
A Diommu_map.c113 dte->pt_root = paddr_to_pfn(root_ptr); in amd_iommu_set_root_page_table()
/xen/xen/arch/x86/hvm/
A Dmtrr.c367 get_gfn_query_unlocked(d, paddr_to_pfn(gpaddr), &p2mt); in get_pat_flags()
A Demulate.c295 unsigned long gmfn = paddr_to_pfn(addr); in hvmemul_do_io()
431 unsigned long ram_gmfn = paddr_to_pfn(ram_gpa); in hvmemul_do_io_addr()
/xen/xen/arch/x86/hvm/vmx/
A Dvvmx.c1799 void *vvmcx = hvm_map_guest_frame_rw(paddr_to_pfn(gpa), 1, &writable); in nvmx_handle_vmptrld()
1909 vvmcs = hvm_map_guest_frame_rw(paddr_to_pfn(gpa), 0, &writable); in nvmx_handle_vmclear()
/xen/xen/arch/x86/cpu/mcheck/
A Dmce.c232 (mfn_valid(_mfn(paddr_to_pfn(mib->mc_addr)))) ) in mca_init_bank()
/xen/xen/arch/x86/hvm/svm/
A Dnestedsvm.c80 void *vvmcx = hvm_map_guest_frame_rw(paddr_to_pfn(vmcbaddr), 1, in nestedsvm_vmcb_map()

Completed in 56 milliseconds