/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_dom_core.c | 451 for ( phys = dom->phys_pages; phys != NULL; phys = phys->next ) in xc_dom_pfn_to_ptr_retcount() 453 if ( pfn >= (phys->first + phys->count) ) in xc_dom_pfn_to_ptr_retcount() 478 if ( pfn >= phys->first + phys->count ) in xc_dom_pfn_to_ptr_retcount() 495 phys = xc_dom_malloc(dom, sizeof(*phys)); in xc_dom_pfn_to_ptr_retcount() 498 memset(phys, 0, sizeof(*phys)); in xc_dom_pfn_to_ptr_retcount() 505 phys->ptr = xc_dom_boot_domU_map(dom, phys->first, phys->count); in xc_dom_pfn_to_ptr_retcount() 515 phys->ptr = mmap(NULL, phys->count << page_shift, in xc_dom_pfn_to_ptr_retcount() 532 __FUNCTION__, mode, phys->first, phys->count, phys->ptr); in xc_dom_pfn_to_ptr_retcount() 646 for ( phys = dom->phys_pages; phys != NULL; phys = phys->next ) in xc_dom_unmap_one() 648 if ( (pfn >= phys->first) && (pfn < (phys->first + phys->count)) ) in xc_dom_unmap_one() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/acpi/ |
A D | lib.c | 40 char *__acpi_map_table(paddr_t phys, unsigned long size) in __acpi_map_table() argument 46 if ((phys + size) <= (1 * 1024 * 1024)) in __acpi_map_table() 47 return __va(phys); in __acpi_map_table() 49 offset = phys & (PAGE_SIZE - 1); in __acpi_map_table() 51 set_fixmap(FIX_ACPI_END, phys); in __acpi_map_table() 61 phys += PAGE_SIZE; in __acpi_map_table() 62 set_fixmap(idx, phys); in __acpi_map_table()
|
/xen-4.10.0-shim-comet/xen/arch/arm/acpi/ |
A D | lib.c | 27 char *__acpi_map_table(paddr_t phys, unsigned long size) in __acpi_map_table() argument 32 offset = phys & (PAGE_SIZE - 1); in __acpi_map_table() 34 set_fixmap(FIXMAP_ACPI_BEGIN, maddr_to_mfn(phys), PAGE_HYPERVISOR); in __acpi_map_table() 43 phys += PAGE_SIZE; in __acpi_map_table() 44 set_fixmap(idx, maddr_to_mfn(phys), PAGE_HYPERVISOR); in __acpi_map_table()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | fixmap.h | 75 #define set_fixmap(idx, phys) \ argument 76 __set_fixmap(idx, (phys)>>PAGE_SHIFT, PAGE_HYPERVISOR) 78 #define set_fixmap_nocache(idx, phys) \ argument 79 __set_fixmap(idx, (phys)>>PAGE_SHIFT, PAGE_HYPERVISOR_UCMINUS)
|
/xen-4.10.0-shim-comet/xen/drivers/acpi/ |
A D | osl.c | 88 acpi_os_map_memory(acpi_physical_address phys, acpi_size size) in acpi_os_map_memory() argument 91 mfn_t mfn = _mfn(PFN_DOWN(phys)); in acpi_os_map_memory() 92 unsigned int offs = phys & (PAGE_SIZE - 1); in acpi_os_map_memory() 95 if (IS_ENABLED(CONFIG_X86) && !((phys + size - 1) >> 20)) in acpi_os_map_memory() 96 return __va(phys); in acpi_os_map_memory() 100 return __acpi_map_table(phys, size); in acpi_os_map_memory()
|
/xen-4.10.0-shim-comet/tools/xl/ |
A D | xl_cdrom.c | 28 static int cd_insert(uint32_t domid, const char *virtdev, char *phys) in cd_insert() argument 37 virtdev, phys ? phys : ""); in cd_insert()
|
/xen-4.10.0-shim-comet/tools/hotplug/Linux/ |
A D | block | 252 phys=$(xenstore_read_default "$XENBUS_PATH/physical-device" 'MISSING') 253 if [ "$phys" != 'MISSING' ]
|
/xen-4.10.0-shim-comet/xen/arch/x86/efi/ |
A D | efi-boot.h | 104 static void __init relocate_trampoline(unsigned long phys) in relocate_trampoline() argument 108 trampoline_phys = phys; in relocate_trampoline() 117 *(u32 *)(*trampoline_ptr + (long)trampoline_ptr) += phys; in relocate_trampoline() 121 *(u16 *)(*trampoline_ptr + (long)trampoline_ptr) = phys >> 4; in relocate_trampoline()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/arm/ |
A D | smmu.c | 1706 phys_addr_t phys, int prot, int stage) 1710 unsigned long next, pfn = __phys_to_pfn(phys); 1731 phys += next - addr; 1732 pfn = __phys_to_pfn(phys); 1740 phys_addr_t phys, int prot, int stage) 1763 ret = arm_smmu_alloc_init_pmd(smmu, pud, addr, next, phys, 1765 phys += next - addr;
|
/xen-4.10.0-shim-comet/tools/python/scripts/ |
A D | convert-legacy-stream | 319 phys, start, size, namelen = unpack("=QQQI", data[:28]) 342 root = "physmap/%x" % (phys,)
|