/xen/tools/firmware/hvmloader/ |
A D | smbios.c | 190 p = (char *)start; in write_smbios_tables() 492 return start+1; in smbios_type_1_init() 647 return start+1; in smbios_type_3_init() 700 return start+1; in smbios_type_4_init() 750 return start+1; in smbios_type_11_init() 810 return start+1; in smbios_type_17_init() 858 return start+2; in smbios_type_20_init() 923 return start+1; in smbios_type_22_init() 942 return start+2; in smbios_type_32_init() 962 return start; in smbios_type_39_init() [all …]
|
A D | e820.c | 108 uint64_t last_end = 0, start, end; in dump_e820_table() local 115 start = e820[i].addr; in dump_e820_table() 118 if ( start < last_end ) in dump_e820_table() 120 else if ( start > last_end ) in dump_e820_table() 123 (uint32_t)(start >> 32), (uint32_t)start); in dump_e820_table() 126 (uint32_t)(start >> 32), (uint32_t)start, in dump_e820_table()
|
/xen/xen/arch/x86/x86_64/ |
A D | mmconf-fam10h.c | 43 u64 val, tom2, start, end; in get_fam10h_pci_mmconf_base() local 45 u64 start, end; in get_fam10h_pci_mmconf_base() member 100 if (range[j - 1].start < start) in get_fam10h_pci_mmconf_base() 104 range[j].start = start; in get_fam10h_pci_mmconf_base() 110 if (start <= tom2) in get_fam10h_pci_mmconf_base() 118 if (range[0].start > start + SIZE) in get_fam10h_pci_mmconf_base() 122 start = (range[0].start & MASK) - UNIT; in get_fam10h_pci_mmconf_base() 123 if (start > tom2 && BASE_VALID(start)) in get_fam10h_pci_mmconf_base() 126 if (BASE_VALID(start)) in get_fam10h_pci_mmconf_base() 132 if (end >= start + SIZE && BASE_VALID(start)) in get_fam10h_pci_mmconf_base() [all …]
|
/xen/xen/arch/x86/ |
A D | srat.c | 114 if (nd->start <= start && nd->end >= end && in valid_numa_range() 130 if (nd->end > start && nd->start < end) in conflicting_memblks() 132 if (nd->end == end && nd->start == start) in conflicting_memblks() 141 if (nd->start < start) { in cutoff_node() 142 nd->start = start; in cutoff_node() 274 u64 start, end; in acpi_numa_memory_affinity_init() local 336 nd->start = start; in acpi_numa_memory_affinity_init() 339 if (start < nd->start) in acpi_numa_memory_affinity_init() 340 nd->start = start; in acpi_numa_memory_affinity_init() 349 node_memblk_range[num_node_memblks].start = start; in acpi_numa_memory_affinity_init() [all …]
|
A D | e820.c | 63 if (ei->addr <= start) in e820_all_mapped() 64 start = ei->addr + ei->size; in e820_all_mapped() 69 if (start >= end) in e820_all_mapped() 85 e820.map[x].addr = start; in add_memory_region() 318 if (start > end) in copy_e820_map() 327 if (start < 0xA0000ULL) in copy_e820_map() 328 add_memory_region(start, 0xA0000ULL-start, type); in copy_e820_map() 331 start = 0x100000ULL; in copy_e820_map() 332 size = end - start; in copy_e820_map() 350 unsigned long start, end; in find_max_pfn() local [all …]
|
/xen/xen/common/ |
A D | vmap.c | 29 vm_base[type] = start; in vm_init_type() 51 unsigned int start, bit; in vm_alloc() local 68 for ( start = vm_low[t]; start < vm_top[t]; ) in vm_alloc() 77 start = (start + align) & ~(align - 1); in vm_alloc() 88 start = bit; in vm_alloc() 92 if ( start < vm_top[t] ) in vm_alloc() 106 if ( start >= vm_top[t] ) in vm_alloc() 122 if ( start >= vm_top[t] ) in vm_alloc() 129 for ( bit = start; bit < start + nr; ++bit ) in vm_alloc() 148 if ( !start ) in vm_index() [all …]
|
A D | bsearch.c | 35 size_t start = 0, end = num; in bsearch() local 38 while (start < end) { in bsearch() 39 size_t mid = start + (end - start) / 2; in bsearch() 45 start = mid + 1; in bsearch()
|
A D | virtual_region.c | 14 .start = _stext, 21 .start = _sinittext, 48 if ( (void *)addr >= region->start && (void *)addr < region->end ) in find_text_region() 102 modify_xen_mappings((unsigned long)region->start, in reset_virtual_region_perms() 116 void __init setup_virtual_regions(const struct exception_table_entry *start, in setup_virtual_regions() argument 146 core_init.ex = core.ex = start; in setup_virtual_regions()
|
A D | bitmap.c | 215 void __bitmap_set(unsigned long *map, unsigned int start, int len) in __bitmap_set() argument 217 unsigned long *p = map + BIT_WORD(start); in __bitmap_set() 218 const unsigned int size = start + len; in __bitmap_set() 219 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_set() 220 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in __bitmap_set() 235 void __bitmap_clear(unsigned long *map, unsigned int start, int len) in __bitmap_clear() argument 237 unsigned long *p = map + BIT_WORD(start); in __bitmap_clear() 238 const unsigned int size = start + len; in __bitmap_clear() 239 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_clear() 240 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in __bitmap_clear()
|
/xen/tools/flask/utils/ |
A D | label-pci.c | 41 uint64_t start, end, flags; in main() local 82 ret = xc_flask_add_ioport(xch, start, end, argv[2]); in main() 85 start, end, ret); in main() 89 start >>= 12; in main() 92 ret = xc_flask_add_iomem(xch, start, end, argv[2]); in main() 95 start, end, ret); in main() 107 if (fscanf(f, "%" SCNu64, &start) != 1) in main() 108 start = 0; in main() 109 if (start) { in main() 110 ret = xc_flask_add_pirq(xch, start, argv[2]); in main() [all …]
|
/xen/xen/include/xen/ |
A D | bitmap.h | 240 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) argument 246 __set_bit(start, map); in bitmap_set() 247 else if (__builtin_constant_p(start & BITMAP_MEM_MASK) && in bitmap_set() 248 IS_ALIGNED(start, BITMAP_MEM_ALIGNMENT) && in bitmap_set() 251 memset((char *)map + start / 8, 0xff, nbits / 8); in bitmap_set() 253 __bitmap_set(map, start, nbits); in bitmap_set() 260 __clear_bit(start, map); in bitmap_clear() 261 else if (__builtin_constant_p(start & BITMAP_MEM_MASK) && in bitmap_clear() 262 IS_ALIGNED(start, BITMAP_MEM_ALIGNMENT) && in bitmap_clear() 265 memset((char *)map + start / 8, 0, nbits / 8); in bitmap_clear() [all …]
|
/xen/xen/arch/arm/ |
A D | kernel.c | 138 if ( info->zimage.start == 0 ) in kernel_zimage_place() 227 info->entry = info->zimage.start; in kernel_uimage_probe() 263 paddr_t addr = mod->start; in kernel_decompress() 336 uint64_t start, end; in kernel_zimage64_probe() local 348 start = 0; in kernel_zimage64_probe() 355 if ( (end - start) > size ) in kernel_zimage64_probe() 359 info->zimage.len = end - start; in kernel_zimage64_probe() 377 uint32_t start, end; in kernel_zimage32_probe() local 391 if ( (end - start) > size ) in kernel_zimage32_probe() 410 info->zimage.start = start; in kernel_zimage32_probe() [all …]
|
A D | bootfdt.c | 145 paddr_t start, size; in process_memory_node() local 169 mem->bank[mem->nr_banks].start = start; in process_memory_node() 212 paddr_t start, size; in process_multiboot_node() local 281 kind, start, domU); in process_multiboot_node() 289 paddr_t start, end; in process_chosen_node() local 318 if ( start >= end ) in process_chosen_node() 321 start, end); in process_chosen_node() 327 add_boot_module(BOOTMOD_RAMDISK, start, end-start, false); in process_chosen_node() 364 mi->bank[i].start, in early_print_info() 370 mods->module[i].start, in early_print_info() [all …]
|
A D | livepatch.c | 146 unsigned long start = (unsigned long)va; in arch_livepatch_secure() local 170 return modify_xen_mappings(start, start + pages * PAGE_SIZE, flags); in arch_livepatch_secure() 175 void *start, *end; in arch_livepatch_init() local 177 start = (void *)LIVEPATCH_VMAP_START; in arch_livepatch_init() 180 vm_init_type(VMAP_XEN, start, end); in arch_livepatch_init()
|
A D | setup.c | 246 boot_module_kind_as_string(kind), start, start + size); in add_boot_module() 252 if ( mod->kind == kind && mod->start == start ) in add_boot_module() 262 mod->start = start; in add_boot_module() 303 cmd->start = start; in add_boot_cmdline() 358 if ( mod->kind == kind && mod->start == start ) in boot_module_find_by_addr_and_kind() 386 paddr_t s = mi->module[i].start; in discard_initial_modules() 443 paddr_t mod_s = mi->module[i].start; in consider_modules() 527 paddr_t mod_s = mi->module[i].start; in next_module() 561 bank_start = bootinfo.mem.bank[bank].start; in init_pdx() 569 bank_start = bootinfo.mem.bank[bank].start; in init_pdx() [all …]
|
/xen/tools/hotplug/Linux/init.d/ |
A D | xen-watchdog.in | 45 start() { 70 start) 71 start 78 start 84 start
|
/xen/xen/include/asm-arm/ |
A D | setup.h | 25 paddr_t start; member 44 paddr_t start; member 53 paddr_t start; member 106 paddr_t start, paddr_t size, bool domU); 109 paddr_t start); 111 bootmodule_kind kind, paddr_t start, bool domU); 120 u32 size_cells, u64 *start, u64 *size);
|
A D | vgic-emul.h | 12 #define VRANGE32(start, end) start ... end + 3 argument 13 #define VRANGE64(start, end) start ... end + 7 argument
|
/xen/xen/arch/arm/efi/ |
A D | efi-dom0.c | 86 efi_conf_tbl->VendorTable = (VOID *)tbl_add[TBL_RSDP].start; in acpi_create_efi_system_table() 93 tbl_add[TBL_EFIT].start = table_addr; in acpi_create_efi_system_table() 99 EFI_PHYSICAL_ADDRESS start, in fill_efi_memory_descriptor() argument 103 desc->PhysicalStart = start; in fill_efi_memory_descriptor() 123 mem->bank[i].start, mem->bank[i].size); in acpi_create_efi_mmap_table() 127 bootinfo.acpi.bank[i].start, in acpi_create_efi_mmap_table() 133 tbl_add[TBL_MMAP].start = d->arch.efi_acpi_gpa in acpi_create_efi_mmap_table() 149 tbl_add[TBL_EFIT].start); in acpi_make_efi_nodes() 154 tbl_add[TBL_MMAP].start); in acpi_make_efi_nodes()
|
/xen/tools/ocaml/libs/mmap/ |
A D | xenmmap_stubs.c | 82 CAMLprim value stub_mmap_read(value intf, value start, value len) in stub_mmap_read() argument 84 CAMLparam3(intf, start, len); in stub_mmap_read() 89 c_start = Int_val(start); in stub_mmap_read() 104 value start, value len) in stub_mmap_write() argument 106 CAMLparam4(intf, data, start, len); in stub_mmap_write() 110 c_start = Int_val(start); in stub_mmap_write()
|
/xen/docs/misc/ |
A D | libxl_memory.txt | 17 | | | | | start | | | 33 build start = libxl_domain_build_info.target_memkb 51 | | | | | start | | | 65 build start = libxl_domain_build_info.target_memkb
|
/xen/tools/libxl/ |
A D | libxl_vnuma.c | 31 if (x->start < y->start) in compare_vmemrange() 33 if (x->start > y->start) in compare_vmemrange() 171 if (state->vmemranges[i].end < state->vmemranges[i].start) { in libxl__vnuma_config_check() 178 if (state->vmemranges[i].end > state->vmemranges[i+1].start) { in libxl__vnuma_config_check() 181 state->vmemranges[i].start, state->vmemranges[i].end, in libxl__vnuma_config_check() 182 state->vmemranges[i+1].start, state->vmemranges[i+1].end); in libxl__vnuma_config_check() 228 v[i].start = next; in libxl__vnuma_build_vmemrange_pv_generic() 302 vmemranges[nr_vmemrange].start = next; in libxl__vnuma_build_vmemrange_hvm()
|
/xen/xen/arch/x86/mm/ |
A D | guest_walk.c | 204 gfn_t start = guest_l3e_get_gfn(gw->l3e); in guest_walk_tables() local 218 if ( !(gfn_x(start) & 1) ) in guest_walk_tables() 223 start = _gfn((gfn_x(start) & ~GUEST_L3_GFN_MASK) + in guest_walk_tables() 225 gw->l1e = guest_l1e_from_gfn(start, flags); in guest_walk_tables() 318 gfn_t start = _gfn(unfold_pse36(gw->l2e.l2) >> PAGE_SHIFT); in guest_walk_tables() local 320 gfn_t start = guest_l2e_get_gfn(gw->l2e); in guest_walk_tables() 335 if ( !(gfn_x(start) & 1) ) in guest_walk_tables() 340 start = _gfn((gfn_x(start) & ~GUEST_L2_GFN_MASK) + in guest_walk_tables() 344 gw->el1e = (gfn_x(start) << PAGE_SHIFT) | flags; in guest_walk_tables() 346 gw->l1e = guest_l1e_from_gfn(start, flags); in guest_walk_tables()
|
/xen/xen/arch/x86/hvm/ |
A D | dom0_build.c | 136 start, start + nr_pages); in pvh_populate_memory_range() 150 start + nr_pages); in pvh_populate_memory_range() 157 order = min(order, start ? find_first_set_bit(start) : MAX_ORDER); in pvh_populate_memory_range() 182 start, start + (1UL << order), rc); in pvh_populate_memory_range() 185 start += 1UL << order; in pvh_populate_memory_range() 341 uint64_t start, end; in pvh_setup_e820() local 381 if ( start >= end ) in pvh_setup_e820() 385 entry_guest->addr = start; in pvh_setup_e820() 524 start = kernel_end; in find_memory() 526 if ( end - start >= size ) in find_memory() [all …]
|
/xen/tools/libxc/ |
A D | xc_offline_page.c | 52 int xc_mark_page_online(xc_interface *xch, unsigned long start, in xc_mark_page_online() argument 56 …DECLARE_HYPERCALL_BOUNCE(status, sizeof(uint32_t)*(end - start + 1), XC_HYPERCALL_BUFFER_BOUNCE_BO… in xc_mark_page_online() 59 if ( !status || (end < start) ) in xc_mark_page_online() 71 sysctl.u.page_offline.start = start; in xc_mark_page_online() 82 int xc_mark_page_offline(xc_interface *xch, unsigned long start, in xc_mark_page_offline() argument 86 …DECLARE_HYPERCALL_BOUNCE(status, sizeof(uint32_t)*(end - start + 1), XC_HYPERCALL_BUFFER_BOUNCE_BO… in xc_mark_page_offline() 89 if ( !status || (end < start) ) in xc_mark_page_offline() 101 sysctl.u.page_offline.start = start; in xc_mark_page_offline() 112 int xc_query_page_offline_status(xc_interface *xch, unsigned long start, in xc_query_page_offline_status() argument 119 if ( !status || (end < start) ) in xc_query_page_offline_status() [all …]
|