/xen/xen/arch/x86/x86_64/ |
A D | machine_kexec.c | 16 range->start = virt_to_maddr(_start); in machine_kexec_get_xen() 17 range->size = virt_to_maddr(_end) - (unsigned long)range->start; in machine_kexec_get_xen()
|
/xen/xen/arch/x86/guest/hyperv/ |
A D | tlb.c | 109 nr_banks, virt_to_maddr(flush), 0); in flush_tlb_ex() 120 nr_banks, virt_to_maddr(flush), 0); in flush_tlb_ex() 188 virt_to_maddr(flush), 0); in hyperv_flush_tlb() 192 0, virt_to_maddr(flush), 0); in hyperv_flush_tlb()
|
/xen/xen/include/asm-arm/ |
A D | mm.h | 158 ((mfn_to_maddr(mfn) >= virt_to_maddr(&_start)) && \ 159 (mfn_to_maddr(mfn) <= virt_to_maddr((vaddr_t)_end - 1))) 237 #define vmap_to_mfn(va) maddr_to_mfn(virt_to_maddr((vaddr_t)va)) 248 #define virt_to_maddr(va) __virt_to_maddr((vaddr_t)(va)) macro 284 #define __pa(x) (virt_to_maddr(x)) 288 #define __virt_to_mfn(va) (virt_to_maddr(va) >> PAGE_SHIFT)
|
/xen/xen/arch/arm/ |
A D | gic-v3-lpi.c | 260 if ( virt_to_maddr(pendtable) & ~GENMASK(51, 16) ) in gicv3_lpi_allocate_pendtable() 272 val |= virt_to_maddr(pendtable); in gicv3_lpi_allocate_pendtable() 304 if ( (virt_to_maddr(table) & ~GENMASK(51, 12)) ) in gicv3_lpi_set_proptable() 317 reg |= virt_to_maddr(lpi_data.lpi_property); in gicv3_lpi_set_proptable()
|
A D | gic-v3-its.c | 283 paddr_t paddr = virt_to_maddr(vaddr); in check_baser_phys_addr() 313 if ( virt_to_maddr(buffer) & ~GENMASK(51, 12) ) in its_map_cbaser() 319 reg |= GITS_VALID_BIT | virt_to_maddr(buffer); in its_map_cbaser() 386 reg |= encode_baser_phys_addr(virt_to_maddr(buffer), in its_map_baser() 724 virt_to_maddr(itt_addr), true); in gicv3_its_map_guest_device()
|
A D | mm.c | 290 BUG_ON( virt_to_maddr(pgtable) != ttbr ); in dump_hyp_walk() 996 vaddr_t offset = mfn_to_maddr(mfn) - virt_to_maddr(&_start); in xen_map_table() 1321 paddr_t pa = virt_to_maddr(__init_begin); in free_init_memory()
|
/xen/xen/arch/x86/hvm/svm/ |
A D | vmcb.c | 100 vmcb->_msrpm_base_pa = virt_to_maddr(svm->msrpm); in construct_vmcb() 204 svm->vmcb_pa = nv->nv_n1vmcx_pa = virt_to_maddr(svm->vmcb); in svm_create_vmcb()
|
A D | svmdebug.c | 43 sizeof(struct vmcb_struct), virt_to_maddr(vmcb), vmcb); in svm_vmcb_dump()
|
A D | nestedsvm.c | 119 nv->nv_n2vmcx_pa = virt_to_maddr(nv->nv_n2vmcx); in nsvm_vcpu_initialise() 398 (uint64_t)virt_to_maddr(svm->ns_iomap); in nsvm_vmrun_permissionmap() 400 (uint64_t)virt_to_maddr(svm->ns_merged_msrpm); in nsvm_vmrun_permissionmap()
|
/xen/xen/include/asm-x86/ |
A D | page.h | 255 #define __pa(x) (virt_to_maddr(x)) 259 #define __virt_to_mfn(va) (virt_to_maddr(va) >> PAGE_SHIFT) 285 #define virt_to_maddr(va) __virt_to_maddr((unsigned long)(va)) macro
|
/xen/xen/common/efi/ |
A D | runtime.c | 114 switch_cr3_cr4(virt_to_maddr(efi_l4_pgtable), read_cr4()); in efi_rs_enter() 145 (read_cr3() == virt_to_maddr(efi_l4_pgtable)); in efi_rs_using_pgtables()
|
A D | boot.c | 1461 l4e_from_paddr(virt_to_maddr(l3dst), __PAGE_HYPERVISOR); in copy_mapping() 1640 l4e_from_paddr(virt_to_maddr(pl3e), __PAGE_HYPERVISOR); in efi_init_memory() 1650 *pl3e = l3e_from_paddr(virt_to_maddr(pl2e), __PAGE_HYPERVISOR); in efi_init_memory() 1663 *pl2e = l2e_from_paddr(virt_to_maddr(l1t), __PAGE_HYPERVISOR); in efi_init_memory()
|
/xen/xen/drivers/passthrough/amd/ |
A D | iommu_init.c | 87 addr_64 = (u64)virt_to_maddr(iommu->dev_table.buffer); in register_iommu_dev_table_in_mmio_space() 112 addr_64 = virt_to_maddr(iommu->cmd_buffer.buffer); in register_iommu_cmd_buffer_in_mmio_space() 140 addr_64 = virt_to_maddr(iommu->event_log.buffer); in register_iommu_event_log_in_mmio_space() 168 addr_64 = virt_to_maddr(iommu->ppr_log.buffer); in register_iommu_ppr_log_in_mmio_space()
|
A D | iommu_map.c | 128 dte->it_root = virt_to_maddr(ptr) >> 6; in amd_iommu_set_intremap_table()
|
/xen/xen/arch/x86/ |
A D | mpparse.c | 683 virt_to_maddr(mpf)); in smp_scan_config() 685 reserve_bootmem(virt_to_maddr(mpf), PAGE_SIZE); in smp_scan_config()
|
/xen/xen/drivers/passthrough/vtd/ |
A D | intremap.c | 671 new_ire.post.pda_l = virt_to_maddr(pi_desc) >> (32 - PDA_LOW_BIT); in msi_msg_to_remap_entry() 672 new_ire.post.pda_h = virt_to_maddr(pi_desc) >> 32; in msi_msg_to_remap_entry()
|
A D | qinval.c | 171 qinval_entry->q.inv_wait_dsc.hi.saddr = virt_to_maddr(this_poll_slot); in queue_invalidate_wait()
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vvmx.c | 597 __vmwrite(MSR_BITMAP, virt_to_maddr(nvmx->msr_merged)); in update_msrbitmap() 639 __vmwrite(IO_BITMAP_A, virt_to_maddr(bitmap)); in nvmx_update_exec_control() 640 __vmwrite(IO_BITMAP_B, virt_to_maddr(bitmap) + PAGE_SIZE); in nvmx_update_exec_control() 1341 __vmwrite(MSR_BITMAP, virt_to_maddr(v->arch.hvm.vmx.msr_bitmap)); in load_vvmcs_host_state()
|
A D | vmcs.c | 1155 __vmwrite(MSR_BITMAP, virt_to_maddr(msr_bitmap)); in construct_vmcs() 1192 __vmwrite(PI_DESC_ADDR, virt_to_maddr(&v->arch.hvm.vmx.pi_desc)); in construct_vmcs() 1458 addr = virt_to_maddr(*ptr); in vmx_add_msr()
|
A D | vmx.c | 2147 __vmwrite(EPTP_LIST_ADDR, virt_to_maddr(d->arch.altp2m_visible_eptp)); in vmx_vcpu_update_vmfunc_ve()
|
/xen/xen/arch/x86/pv/ |
A D | shim.c | 284 si->shared_info = virt_to_maddr(d->shared_info); in write_start_info()
|
A D | dom0_build.c | 752 si->shared_info = virt_to_maddr(d->shared_info); in dom0_construct_pv()
|
/xen/xen/arch/x86/mm/shadow/ |
A D | multi.c | 4121 v->arch.hvm.hw_cr[3] = virt_to_maddr(&v->arch.paging.shadow.l3table); in sh_update_cr3()
|