/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | debug.c | 52 DBGP2("vaddr:%lx domid:%d\n", vaddr, dp->domain_id); in dbg_hvm_va2mfn() 54 *gfn = _gfn(paging_gva_to_gfn(dp->vcpu[0], vaddr, &pfec)); in dbg_hvm_va2mfn() 69 vaddr, dp->domain_id, mfn_x(mfn)); in dbg_hvm_va2mfn() 94 dbg_pv_va2mfn(dbgva_t vaddr, struct domain *dp, uint64_t pgd3val) in dbg_pv_va2mfn() argument 109 l4e = l4t[l4_table_offset(vaddr)]; in dbg_pv_va2mfn() 113 l4_table_offset(vaddr), l4e, mfn_x(mfn)); in dbg_pv_va2mfn() 121 l3e = l3t[l3_table_offset(vaddr)]; in dbg_pv_va2mfn() 125 l3_table_offset(vaddr), l3e, mfn_x(mfn)); in dbg_pv_va2mfn() 135 l2e = l2t[l2_table_offset(vaddr)]; in dbg_pv_va2mfn() 139 l2t, l2_table_offset(vaddr), l2e, mfn_x(mfn)); in dbg_pv_va2mfn() [all …]
|
A D | machine_kexec.c | 29 int machine_kexec_add_page(struct kexec_image *image, unsigned long vaddr, in machine_kexec_add_page() argument 52 l4 += l4_table_offset(vaddr); in machine_kexec_add_page() 64 l3 += l3_table_offset(vaddr); in machine_kexec_add_page() 76 l2 += l2_table_offset(vaddr); in machine_kexec_add_page() 88 l1 += l1_table_offset(vaddr); in machine_kexec_add_page()
|
/xen-4.10.0-shim-comet/xen/drivers/acpi/apei/ |
A D | apei-io.c | 45 void __iomem *vaddr; member 70 return map->vaddr + (paddr - map->paddr); in __apei_ioremap_fast() 105 void __iomem *vaddr; in apei_pre_map() local 110 vaddr = __apei_ioremap_fast(paddr, size); in apei_pre_map() 112 if (vaddr) in apei_pre_map() 113 return vaddr; in apei_pre_map() 119 vaddr = apei_range_map(paddr, size); in apei_pre_map() 120 if (!vaddr) { in apei_pre_map() 129 map->vaddr = vaddr; in apei_pre_map() 194 void __iomem *vaddr; in apei_pre_map_gar() local [all …]
|
A D | erst.c | 74 void __iomem *vaddr; member 631 memcpy(erst_erange.vaddr, record, record->record_length); in erst_write() 632 rcd_erange = erst_erange.vaddr; in erst_write() 671 rcd_tmp = erst_erange.vaddr + offset; in __erst_read() 830 erst_erange.vaddr = apei_pre_map(erst_erange.base, erst_erange.size); in erst_init() 831 if (!erst_erange.vaddr) { in erst_init()
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_genid.c | 91 void *vaddr; in libxl__ms_vm_genid_set() local 93 vaddr = xc_map_foreign_range(ctx->xch, domid, XC_PAGE_SIZE, in libxl__ms_vm_genid_set() 96 if (vaddr == NULL) { in libxl__ms_vm_genid_set() 100 memcpy(vaddr + (paddr & ~XC_PAGE_MASK), genid, 2 * sizeof(*genid)); in libxl__ms_vm_genid_set() 101 munmap(vaddr, XC_PAGE_SIZE); in libxl__ms_vm_genid_set()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | fixmap.h | 88 static inline unsigned long virt_to_fix(const unsigned long vaddr) in virt_to_fix() argument 90 BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); in virt_to_fix() 91 return __virt_to_fix(vaddr); in virt_to_fix()
|
A D | paging.h | 101 unsigned long vaddr, mfn_t gmfn);
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/svm/ |
A D | svm.h | 43 static inline void svm_invlpga(unsigned long vaddr, uint32_t asid) in svm_invlpga() argument 49 "a" (vaddr), "c" (asid)); in svm_invlpga()
|
A D | amd-iommu-proto.h | 171 void *vaddr; in alloc_amd_iommu_pgtable() local 176 vaddr = __map_domain_page(pg); in alloc_amd_iommu_pgtable() 177 memset(vaddr, 0, PAGE_SIZE); in alloc_amd_iommu_pgtable() 178 unmap_domain_page(vaddr); in alloc_amd_iommu_pgtable()
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_private.c | 431 void *vaddr = xc_map_foreign_range( in xc_copy_to_domain_page() local 433 if ( vaddr == NULL ) in xc_copy_to_domain_page() 435 memcpy(vaddr, src_page, PAGE_SIZE); in xc_copy_to_domain_page() 436 munmap(vaddr, PAGE_SIZE); in xc_copy_to_domain_page() 447 void *vaddr = xc_map_foreign_range( in xc_clear_domain_pages() local 449 if ( vaddr == NULL ) in xc_clear_domain_pages() 451 memset(vaddr, 0, size); in xc_clear_domain_pages() 452 munmap(vaddr, size); in xc_clear_domain_pages()
|
A D | xc_core.c | 791 void *vaddr; in xc_domain_dumpcore_via_callback() local 833 vaddr = xc_map_foreign_range( in xc_domain_dumpcore_via_callback() 835 if ( vaddr == NULL ) in xc_domain_dumpcore_via_callback() 837 memcpy(dump_mem, vaddr, PAGE_SIZE); in xc_domain_dumpcore_via_callback() 838 munmap(vaddr, PAGE_SIZE); in xc_domain_dumpcore_via_callback()
|
A D | xc_sr_save_x86_pv.c | 7 static inline bool is_canonical_address(xen_vaddr_t vaddr) in is_canonical_address() argument 9 return ((int64_t)vaddr >> 47) == ((int64_t)vaddr >> 63); in is_canonical_address()
|
/xen-4.10.0-shim-comet/tools/include/xen-sys/FreeBSD/ |
A D | gntdev.h | 185 uint64_t vaddr; member
|
/xen-4.10.0-shim-comet/tools/include/xen-sys/Linux/ |
A D | gntdev.h | 96 uint64_t vaddr; member
|
/xen-4.10.0-shim-comet/tools/libxc/include/ |
A D | xc_dom.h | 413 xen_vaddr_t vaddr, in xc_dom_vaddr_to_ptr() argument 417 xen_pfn_t page = (vaddr - dom->parms.virt_base) / page_size; in xc_dom_vaddr_to_ptr() 418 unsigned int offset = (vaddr - dom->parms.virt_base) % page_size; in xc_dom_vaddr_to_ptr()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | kexec.h | 45 int machine_kexec_add_page(struct kexec_image *image, unsigned long vaddr,
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/ |
A D | common.c | 1647 x86_emul_pagefault(pfec, vaddr, &sh_ctxt->ctxt); in emulate_gva_to_mfn() 1703 sh_ctxt->mfn[0] = emulate_gva_to_mfn(v, vaddr, sh_ctxt); in sh_emulate_map_dest() 1715 if ( vaddr & (bytes - 1) ) in sh_emulate_map_dest() 1718 if ( likely(((vaddr + bytes - 1) & PAGE_MASK) == (vaddr & PAGE_MASK)) ) in sh_emulate_map_dest() 1737 v, (vaddr + bytes - 1) & PAGE_MASK, sh_ctxt); in sh_emulate_map_dest() 1759 map += (vaddr & ~PAGE_MASK); in sh_emulate_map_dest() 2632 void *vaddr; in sh_remove_shadow_via_pointer() local 2642 vaddr = map_domain_page(pmfn); in sh_remove_shadow_via_pointer() 2643 ASSERT(vaddr); in sh_remove_shadow_via_pointer() 2644 vaddr += sp->up & (PAGE_SIZE-1); in sh_remove_shadow_via_pointer() [all …]
|
A D | multi.c | 4367 sl4p = sh_linear_l4_table(v) + shadow_l4_linear_offset(vaddr); in sh_guess_wrmap() 4370 sl3p = sh_linear_l3_table(v) + shadow_l3_linear_offset(vaddr); in sh_guess_wrmap() 4375 + shadow_l3_linear_offset(vaddr); in sh_guess_wrmap() 4379 sl2p = sh_linear_l2_table(v) + shadow_l2_linear_offset(vaddr); in sh_guess_wrmap() 4382 sl1p = sh_linear_l1_table(v) + shadow_l1_linear_offset(vaddr); in sh_guess_wrmap() 4712 if ( (vaddr & (bytes - 1)) && !is_hvm_vcpu(v) ) in sh_x86_emulate_write() 4715 addr = sh_emulate_map_dest(v, vaddr, bytes, sh_ctxt); in sh_x86_emulate_write() 4725 if ( vaddr == this_cpu(trace_emulate_initial_va) ) in sh_x86_emulate_write() 4745 sh_x86_emulate_cmpxchg(struct vcpu *v, unsigned long vaddr, in sh_x86_emulate_cmpxchg() argument 4754 if ( (vaddr & (bytes - 1)) && !is_hvm_vcpu(v) ) in sh_x86_emulate_cmpxchg() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/arm/efi/ |
A D | efi-boot.h | 12 void __flush_dcache_area(const void *vaddr, unsigned long size); 600 static void __init efi_arch_flush_dcache_area(const void *vaddr, UINTN size) in efi_arch_flush_dcache_area() argument 602 __flush_dcache_area(vaddr, size); in efi_arch_flush_dcache_area()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | iommu_guest.c | 365 void *vaddr; in do_completion_wait() local 378 vaddr = map_domain_page(get_gfn(d, gfn ,&p2mt)); in do_completion_wait() 381 write_u64_atomic((uint64_t *)(vaddr + (gaddr_64 & (PAGE_SIZE-1))), in do_completion_wait() 383 unmap_domain_page(vaddr); in do_completion_wait()
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | mm.c | 819 vaddr_t vaddr; in setup_xenheap_mappings() local 842 vaddr = (vaddr_t)__mfn_to_virt(base_mfn) & FIRST_MASK; in setup_xenheap_mappings() 846 int slot = zeroeth_table_offset(vaddr); in setup_xenheap_mappings() 880 write_pte(&first[first_table_offset(vaddr)], pte); in setup_xenheap_mappings() 883 vaddr += FIRST_SIZE; in setup_xenheap_mappings()
|
A D | gic-v3-its.c | 281 static bool check_baser_phys_addr(void *vaddr, unsigned int page_bits) in check_baser_phys_addr() argument 283 paddr_t paddr = virt_to_maddr(vaddr); in check_baser_phys_addr()
|
/xen-4.10.0-shim-comet/tools/libs/gnttab/ |
A D | freebsd.c | 179 get_offset.vaddr = (unsigned long)start_address; in osdep_gnttab_unmap()
|
A D | linux.c | 212 get_offset.vaddr = (unsigned long)start_address; in osdep_gnttab_unmap()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/ |
A D | svm.c | 2364 struct vcpu *v, unsigned long vaddr, uint32_t asid) in svm_invlpga_intercept() argument 2366 svm_invlpga(vaddr, in svm_invlpga_intercept() 2372 static void svm_invlpg_intercept(unsigned long vaddr) in svm_invlpg_intercept() argument 2374 HVMTRACE_LONG_2D(INVLPG, 0, TRC_PAR_LONG(vaddr)); in svm_invlpg_intercept() 2375 paging_invlpg(current, vaddr); in svm_invlpg_intercept() 2388 static void svm_invlpg(struct vcpu *v, unsigned long vaddr) in svm_invlpg() argument 2390 svm_asid_g_invlpg(v, vaddr); in svm_invlpg()
|