/xen/tools/libxc/ |
A D | xc_dom_core.c | 442 for ( phys = dom->phys_pages; phys != NULL; phys = phys->next ) in xc_dom_pfn_to_ptr_retcount() 444 if ( pfn >= (phys->first + phys->count) ) in xc_dom_pfn_to_ptr_retcount() 469 if ( pfn >= phys->first + phys->count ) in xc_dom_pfn_to_ptr_retcount() 486 phys = xc_dom_malloc(dom, sizeof(*phys)); in xc_dom_pfn_to_ptr_retcount() 489 memset(phys, 0, sizeof(*phys)); in xc_dom_pfn_to_ptr_retcount() 496 phys->ptr = xc_dom_boot_domU_map(dom, phys->first, phys->count); in xc_dom_pfn_to_ptr_retcount() 506 phys->ptr = mmap(NULL, phys->count << page_shift, in xc_dom_pfn_to_ptr_retcount() 523 __FUNCTION__, mode, phys->first, phys->count, phys->ptr); in xc_dom_pfn_to_ptr_retcount() 637 for ( phys = dom->phys_pages; phys != NULL; phys = phys->next ) in xc_dom_unmap_one() 639 if ( (pfn >= phys->first) && (pfn < (phys->first + phys->count)) ) in xc_dom_unmap_one() [all …]
|
/xen/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/xen/arch/arm/acpi/ |
A D | lib.c | 28 char *__acpi_map_table(paddr_t phys, unsigned long size) in __acpi_map_table() argument 33 offset = phys & (PAGE_SIZE - 1); in __acpi_map_table() 35 set_fixmap(FIXMAP_ACPI_BEGIN, maddr_to_mfn(phys), PAGE_HYPERVISOR); in __acpi_map_table() 44 phys += PAGE_SIZE; in __acpi_map_table() 45 set_fixmap(idx, maddr_to_mfn(phys), PAGE_HYPERVISOR); in __acpi_map_table()
|
/xen/xen/include/asm-x86/ |
A D | fixmap.h | 74 #define set_fixmap(idx, phys) \ argument 75 __set_fixmap(idx, (phys)>>PAGE_SHIFT, PAGE_HYPERVISOR) 77 #define set_fixmap_nocache(idx, phys) \ argument 78 __set_fixmap(idx, (phys)>>PAGE_SHIFT, PAGE_HYPERVISOR_UCMINUS) 108 #define set_fixmap_x(idx, phys) \ argument 109 __set_fixmap_x(idx, (phys)>>PAGE_SHIFT, PAGE_HYPERVISOR_RX | MAP_SMALL_PAGES)
|
/xen/xen/drivers/acpi/ |
A D | osl.c | 93 acpi_os_map_memory(acpi_physical_address phys, acpi_size size) in acpi_os_map_memory() argument 96 mfn_t mfn = _mfn(PFN_DOWN(phys)); in acpi_os_map_memory() 97 unsigned int offs = phys & (PAGE_SIZE - 1); in acpi_os_map_memory() 100 if (IS_ENABLED(CONFIG_X86) && !((phys + size - 1) >> 20)) in acpi_os_map_memory() 101 return __va(phys); in acpi_os_map_memory() 105 return __acpi_map_table(phys, size); in acpi_os_map_memory()
|
/xen/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/tools/hotplug/Linux/ |
A D | block | 252 phys=$(xenstore_read_default "$XENBUS_PATH/physical-device" 'MISSING') 253 if [ "$phys" != 'MISSING' ]
|
/xen/xen/arch/x86/efi/ |
A D | efi-boot.h | 105 static void __init relocate_trampoline(unsigned long phys) in relocate_trampoline() argument 109 trampoline_phys = phys; in relocate_trampoline() 118 *(u32 *)(*trampoline_ptr + (long)trampoline_ptr) += phys; in relocate_trampoline() 122 *(u16 *)(*trampoline_ptr + (long)trampoline_ptr) = phys >> 4; in relocate_trampoline()
|
/xen/xen/include/asm-arm/ |
A D | guest_access.h | 16 paddr_t phys,
|
/xen/xen/arch/arm/arm64/ |
A D | head.S | 542 .macro create_mapping_entry, ptbl, virt, phys, tmp1, tmp2, tmp3, type=PT_MEM_L3 543 and \tmp3, \phys, #THIRD_MASK /* \tmp3 := PAGE_ALIGNED(phys) */
|
/xen/xen/drivers/passthrough/arm/ |
A D | smmu.c | 1694 phys_addr_t phys, int prot, int stage) 1698 unsigned long next, pfn = __phys_to_pfn(phys); 1719 phys += next - addr; 1720 pfn = __phys_to_pfn(phys); 1728 phys_addr_t phys, int prot, int stage) 1751 ret = arm_smmu_alloc_init_pmd(smmu, pud, addr, next, phys, 1753 phys += next - addr;
|
/xen/xen/arch/arm/arm32/ |
A D | head.S | 413 .macro create_mapping_entry, ptbl, virt, phys, type=PT_MEM_L3, mmu=0 419 lsr r4, \phys, #THIRD_SHIFT
|
/xen/tools/python/scripts/ |
A D | convert-legacy-stream | 325 phys, start, size, namelen = unpack("=QQQI", data[:28]) 348 root = b"physmap/%x" % (phys, )
|