Home
last modified time | relevance | path

Searched refs:maddr (Results 1 – 15 of 15) sorted by relevance

/xen/xen/drivers/passthrough/vtd/x86/
A Dvtd.c40 void *map_vtd_domain_page(u64 maddr) in map_vtd_domain_page() argument
42 return map_domain_page(_mfn(paddr_to_pfn(maddr))); in map_vtd_domain_page()
/xen/xen/drivers/passthrough/vtd/
A Dintremap.c229 GET_IREMAP_ENTRY(iommu->intremap.maddr, index, in free_remap_entry()
260 GET_IREMAP_ENTRY(iommu->intremap.maddr, i, in alloc_remap_entry()
297 GET_IREMAP_ENTRY(iommu->intremap.maddr, index, in remap_entry_to_ioapic_rte()
362 GET_IREMAP_ENTRY(iommu->intremap.maddr, index, in ioapic_rte_to_remap_entry()
559 GET_IREMAP_ENTRY(iommu->intremap.maddr, index, in remap_entry_to_msi_msg()
648 GET_IREMAP_ENTRY(iommu->intremap.maddr, index, in msi_msg_to_remap_entry()
739 if ( !iommu->intremap.maddr ) in intel_setup_hpet_msi()
774 if ( (sts & DMA_GSTS_IRES) && iommu->intremap.maddr ) in enable_intremap()
790 if ( iommu->intremap.maddr == 0 ) in enable_intremap()
794 if ( iommu->intremap.maddr == 0 ) in enable_intremap()
[all …]
A Dextern.h74 void free_pgtable_maddr(u64 maddr);
75 void *map_vtd_domain_page(u64 maddr);
A Diommu.c228 void free_pgtable_maddr(u64 maddr) in free_pgtable_maddr() argument
230 if ( maddr != 0 ) in free_pgtable_maddr()
238 u64 maddr; in bus_to_context_maddr() local
246 if ( maddr == 0 ) in bus_to_context_maddr()
251 set_root_value(*root, maddr); in bus_to_context_maddr()
255 maddr = (u64) get_context_addr(*root); in bus_to_context_maddr()
257 return maddr; in bus_to_context_maddr()
1321 u64 maddr, pgd_maddr; in domain_context_mapping_one() local
1576 u64 maddr; in domain_context_unmap_one() local
2704 uint64_t maddr; in intel_iommu_quarantine_init() local
[all …]
A Diommu.h364 #define GET_IREMAP_ENTRY(maddr, index, entries, entry) \ argument
367 (maddr) + (( (index) >> IREMAP_ENTRY_ORDER ) << PAGE_SHIFT ) ); \
525 uint64_t maddr; /* interrupt remap table machine address */ member
A Dutils.c272 if ( !iommu->intremap.maddr || !iommu->intremap.num ) in vtd_dump_iommu_info()
/xen/xen/include/asm-x86/
A Dshadow.h170 paddr_t maddr = pte & l1tf_addr_mask; in is_l1tf_safe_maddr() local
172 return maddr == 0 || maddr >= l1tf_safe_maddr; in is_l1tf_safe_maddr()
/xen/xen/arch/x86/
A Dmachine_kexec.c30 unsigned long maddr) in machine_kexec_add_page() argument
89 l1e_write(l1, l1e_from_pfn(maddr >> PAGE_SHIFT, __PAGE_HYPERVISOR)); in machine_kexec_add_page()
A Dtime.c664 paddr_t maddr; in init_hyperv_timer() local
683 maddr = page_to_maddr(hyperv_tsc_page); in init_hyperv_timer()
695 tsc_msr |= maddr | 1 /* enabled */; in init_hyperv_timer()
A Dmm.c388 uint64_t maddr = pfn_to_paddr(mfn); in page_is_ram_type() local
418 if ( (e820.map[i].addr <= maddr) && in page_is_ram_type()
419 ((e820.map[i].addr + e820.map[i].size) >= (maddr + PAGE_SIZE)) ) in page_is_ram_type()
428 uint64_t last = 0, maddr = mfn_to_maddr(mfn); in page_get_ram_type() local
434 if ( (maddr + PAGE_SIZE) > last && maddr < e820.map[i].addr ) in page_get_ram_type()
437 if ( (maddr + PAGE_SIZE) <= e820.map[i].addr || in page_get_ram_type()
438 maddr >= (e820.map[i].addr + e820.map[i].size) ) in page_get_ram_type()
/xen/xen/include/xen/
A Dkexec.h46 unsigned long maddr);
/xen/xen/common/
A Dkimage.c467 static int kimage_add_page(struct kexec_image *image, paddr_t maddr) in kimage_add_page() argument
469 return kimage_add_entry(image, (maddr & PAGE_MASK) | IND_SOURCE); in kimage_add_page()
549 paddr_t maddr) in kimage_dst_used() argument
560 if ( maddr == destination ) in kimage_dst_used()
A Dxenoprof.c225 struct domain *d, unsigned long maddr, unsigned long gmaddr, int npages) in xenoprof_shared_gmfn_with_guest() argument
229 for ( i = 0; i < npages; i++, maddr += PAGE_SIZE, gmaddr += PAGE_SIZE ) in xenoprof_shared_gmfn_with_guest()
231 BUG_ON(page_get_owner(maddr_to_page(maddr)) != d); in xenoprof_shared_gmfn_with_guest()
A Dkexec.c913 paddr_t maddr = mfn_to_maddr(mfn); in kexec_segments_add_segment() local
918 || segments[n-1].dest_maddr + segments[n-1].dest_size != maddr ) in kexec_segments_add_segment()
927 segments[n-1].dest_maddr = maddr; in kexec_segments_add_segment()
/xen/xen/arch/arm/
A Dp2m.c1827 paddr_t maddr = 0; in get_page_from_gva() local
1844 par = gvirt_to_maddr(va, &maddr, flags); in get_page_from_gva()
1909 mfn = maddr_to_mfn(maddr); in get_page_from_gva()
1924 v, mfn_x(maddr_to_mfn(maddr))); in get_page_from_gva()

Completed in 45 milliseconds