/xen/xen/common/ |
A D | vsprintf.c | 202 if (buf < end) in number() 207 if (buf < end) in number() 224 if (buf < end) in number() 229 if (buf < end) in number() 234 if (buf < end) in number() 254 if (str < end) in string() 259 if (str < end) in string() 373 if ( str < end ) in print_domain() 391 if ( str < end ) in print_vcpu() 574 end = buf + size; in vsnprintf() [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() 43 end = mid; in bsearch()
|
A D | virtual_region.c | 15 .end = _etext, 22 .end = _einittext, 48 if ( (void *)addr >= region->start && (void *)addr < region->end ) in find_text_region() 103 ROUNDUP((unsigned long)region->end, PAGE_SIZE), in reset_virtual_region_perms() 117 const struct exception_table_entry *end) in setup_virtual_regions() argument 147 core_init.ex_end = core.ex_end = end; in setup_virtual_regions()
|
/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() 146 if (nd->end > end) { in cutoff_node() 147 nd->end = end; in cutoff_node() 274 u64 start, end; in acpi_numa_memory_affinity_init() local 337 nd->end = end; in acpi_numa_memory_affinity_init() 341 if (nd->end < end) in acpi_numa_memory_affinity_init() 342 nd->end = end; in acpi_numa_memory_affinity_init() 350 node_memblk_range[num_node_memblks].end = end; in acpi_numa_memory_affinity_init() [all …]
|
A D | setup.c | 389 if ( start >= end ) in bootstrap_map() 394 end = (end + mask) & ~mask; in bootstrap_map() 400 map_cur += end - start; in bootstrap_map() 472 end = consider_modules(end, e, size, mod + i + 1, in consider_modules() 474 if ( end ) in consider_modules() 475 return end; in consider_modules() 1203 end &= ~mask; in __start_xen() 1206 end = 0; in __start_xen() 1212 if ( (end > s) && (end - reloc_size + XEN_IMG_OFFSET >= __pa(_end)) ) in __start_xen() 1364 if ( s < end && in __start_xen() [all …]
|
A D | dom0_build.c | 396 unsigned long vstart, vend, end; in dom0_compute_nr_pages() local 403 end = vend + nr_pages * sizeof_long; in dom0_compute_nr_pages() 405 if ( end > vstart ) in dom0_compute_nr_pages() 406 end += end - vstart; in dom0_compute_nr_pages() 407 if ( end <= vstart || in dom0_compute_nr_pages() 408 (sizeof_long < sizeof(end) && end > (1UL << (8 * sizeof_long))) ) in dom0_compute_nr_pages() 410 end = sizeof_long >= sizeof(end) ? 0 : 1UL << (8 * sizeof_long); in dom0_compute_nr_pages() 411 nr_pages = (end - vend) / (2 * sizeof_long); in dom0_compute_nr_pages()
|
A D | numa.c | 78 epdx = paddr_to_pdx(nodes[i].end - 1) + 1; in populate_memnodemap() 129 epdx = paddr_to_pdx(nodes[i].end - 1) + 1; in extract_lsb_from_nodes() 168 void __init setup_node_bootmem(nodeid_t nodeid, u64 start, u64 end) in setup_node_bootmem() argument 173 end_pfn = end >> PAGE_SHIFT; in setup_node_bootmem() 227 nodes[i].end = nodes[i].start + sz; in numa_emulation() 230 nodes[i].start, nodes[i].end, in numa_emulation() 231 (nodes[i].end - nodes[i].start) >> 20); in numa_emulation() 242 setup_node_bootmem(i, nodes[i].start, nodes[i].end); in numa_emulation() 495 vnuma->vmemrange[j].end); in dump_numa()
|
A D | e820.c | 46 int __init e820_all_mapped(u64 start, u64 end, unsigned type) in e820_all_mapped() argument 56 if (ei->addr >= end || ei->addr + ei->size <= start) in e820_all_mapped() 69 if (start >= end) in e820_all_mapped() 314 unsigned long long end = start + size; in copy_e820_map() local 318 if (start > end) in copy_e820_map() 329 if (end <= 0x100000ULL) in copy_e820_map() 332 size = end - start; in copy_e820_map() 350 unsigned long start, end; in find_max_pfn() local 356 if (start >= end) in find_max_pfn() 358 if (end > max_pfn) in find_max_pfn() [all …]
|
/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 94 end = ((val & 0xffffff00) << 8) | 0xffff; /* 39:16 on 31:8*/ in get_fam10h_pci_mmconf_base() 96 if (end < tom2) in get_fam10h_pci_mmconf_base() 105 range[j].end = end; in get_fam10h_pci_mmconf_base() 116 if (range[hi_mmio_num - 1].end < start) in get_fam10h_pci_mmconf_base() 125 start = (range[hi_mmio_num - 1].end + UNIT) & MASK; in get_fam10h_pci_mmconf_base() 130 start = (range[i - 1].end + UNIT) & MASK; in get_fam10h_pci_mmconf_base() 131 end = range[i].start & MASK; in get_fam10h_pci_mmconf_base() 132 if (end >= start + SIZE && BASE_VALID(start)) in get_fam10h_pci_mmconf_base()
|
/xen/xen/include/asm-arm/ |
A D | page.h | 165 const void *end = p + size; in invalidate_dcache_va_range() local 176 if ( (uintptr_t)end & cacheline_mask ) in invalidate_dcache_va_range() 178 end = (void *)((uintptr_t)end & ~cacheline_mask); in invalidate_dcache_va_range() 179 asm volatile (__clean_and_invalidate_dcache_one(0) : : "r" (end)); in invalidate_dcache_va_range() 182 for ( ; p < end; p += dcache_line_bytes ) in invalidate_dcache_va_range() 192 const void *end = p + size; in clean_dcache_va_range() local 195 for ( ; p < end; p += dcache_line_bytes ) in clean_dcache_va_range() 205 const void *end = p + size; in clean_and_invalidate_dcache_va_range() local 208 for ( ; p < end; p += dcache_line_bytes ) in clean_and_invalidate_dcache_va_range()
|
A D | vgic-emul.h | 12 #define VRANGE32(start, end) start ... end + 3 argument 13 #define VRANGE64(start, end) start ... end + 7 argument
|
A D | flushtlb.h | 38 vaddr_t end = va + size; in flush_xen_tlb_range_va_local() local 41 while ( va < end ) in flush_xen_tlb_range_va_local() 57 vaddr_t end = va + size; in flush_xen_tlb_range_va() local 60 while ( va < end ) in flush_xen_tlb_range_va()
|
/xen/tools/flask/utils/ |
A D | label-pci.c | 41 uint64_t start, end, flags; in main() local 79 while (fscanf(f, "0x%"SCNx64" 0x%"SCNx64" 0x%"SCNx64"\n", &start, &end, &flags) == 3) { in main() 82 ret = xc_flask_add_ioport(xch, start, end, argv[2]); in main() 85 start, end, ret); in main() 90 end >>= 12; in main() 92 ret = xc_flask_add_iomem(xch, start, end, argv[2]); in main() 95 start, end, ret); in main()
|
/xen/tools/libxl/ |
A D | libxlu_pci.c | 14 char *end; in hex_convert() local 16 ret = strtoul(str, &end, 16); in hex_convert() 17 if ( end == str || *end != '\0' ) in hex_convert() 53 char *buf2, *tok, *ptr, *end, *optkey = NULL; in xlu_pci_parse_bdf() local 58 for(tok = ptr, end = ptr + strlen(ptr) + 1; ptr < end; ptr++) { in xlu_pci_parse_bdf() 191 char *buf2, *tok, *ptr, *end; in xlu_rdm_parse() local 196 for (tok = ptr, end = ptr + strlen(ptr) + 1; ptr < end; ptr++) { in xlu_rdm_parse()
|
A D | libxl_vnuma.c | 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() 229 v[i].end = next + (p->memkb << 10); in libxl__vnuma_build_vmemrange_pv_generic() 233 next = v[i].end; in libxl__vnuma_build_vmemrange_pv_generic() 303 vmemranges[nr_vmemrange].end = next + count; in libxl__vnuma_build_vmemrange_hvm()
|
/xen/xen/arch/arm/ |
A D | alternative.c | 43 const struct alt_instr *end; member 130 region->begin, region->end); in __apply_alternatives() 132 for ( alt = region->begin; alt < region->end; alt++ ) in __apply_alternatives() 205 region.end = __alt_instructions_end; in __apply_alternatives_multi_stop() 237 int apply_alternatives(const struct alt_instr *start, const struct alt_instr *end) in apply_alternatives() argument 241 .end = end, in apply_alternatives()
|
A D | kernel.c | 336 uint64_t start, end; in kernel_zimage64_probe() local 349 end = size; 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 389 end = zimage[ZIMAGE32_END_OFFSET/4]; in kernel_zimage32_probe() 391 if ( (end - start) > size ) in kernel_zimage32_probe() 397 if ( addr + end - start + sizeof(dtb_hdr) <= size ) in kernel_zimage32_probe() 401 end += be32_to_cpu(dtb_hdr.total_size); in kernel_zimage32_probe() 403 if ( end > addr + size ) in kernel_zimage32_probe() [all …]
|
/xen/xen/arch/x86/acpi/ |
A D | boot.c | 89 if (BAD_MADT_ENTRY(processor, end)) in acpi_parse_x2apic() 139 if (BAD_MADT_ENTRY(processor, end)) in acpi_parse_lapic() 166 const unsigned long end) in acpi_parse_lapic_addr_ovr() argument 172 if (BAD_MADT_ENTRY(lapic_addr_ovr, end)) in acpi_parse_lapic_addr_ovr() 182 const unsigned long end) in acpi_parse_x2apic_nmi() argument 188 if (BAD_MADT_ENTRY(x2apic_nmi, end)) in acpi_parse_x2apic_nmi() 205 if (BAD_MADT_ENTRY(lapic_nmi, end)) in acpi_parse_lapic_nmi() 222 if (BAD_MADT_ENTRY(ioapic, end)) in acpi_parse_ioapic() 235 const unsigned long end) in acpi_parse_int_src_ovr() argument 241 if (BAD_MADT_ENTRY(intsrc, end)) in acpi_parse_int_src_ovr() [all …]
|
/xen/tools/debugger/gdbsx/ |
A D | README | 85 end 87 end 88 end 92 end 109 end 113 end 114 end 115 end 119 end 124 end [all …]
|
/xen/tools/libxc/ |
A D | xc_offline_page.c | 53 unsigned long end, uint32_t *status) 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() 73 sysctl.u.page_offline.end = end; in xc_mark_page_online() 83 unsigned long end, uint32_t *status) 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() 103 sysctl.u.page_offline.end = end; in xc_mark_page_offline() 113 unsigned long end, uint32_t *status) in xc_query_page_offline_status() argument 119 if ( !status || (end < start) ) in xc_query_page_offline_status() [all …]
|
A D | xc_devicemodel_compat.c | 28 uint64_t start, uint64_t end) in xc_hvm_map_io_range_to_ioreq_server() argument 32 end); in xc_hvm_map_io_range_to_ioreq_server() 37 uint64_t start, uint64_t end) in xc_hvm_unmap_io_range_from_ioreq_server() argument 41 start, end); in xc_hvm_unmap_io_range_from_ioreq_server() 132 xc_interface *xch, uint32_t domid, uint64_t start, uint64_t end, in xc_domain_pin_memory_cacheattr() argument 135 return xendevicemodel_pin_memory_cacheattr(xch->dmod, domid, start, end, in xc_domain_pin_memory_cacheattr()
|
/xen/tools/xenstore/ |
A D | xs_lib.c | 118 char *end; in xs_strings_to_perms() local 141 perms[i].id = strtol(p, &end, 0); in xs_strings_to_perms() 142 if (*end || !*p) { in xs_strings_to_perms() 146 p = end + 1; in xs_strings_to_perms()
|
/xen/xen/drivers/acpi/apei/ |
A D | apei-base.c | 208 int *end) in apei_exec_for_each_entry() argument 218 if (end) in apei_exec_for_each_entry() 219 *end = i; in apei_exec_for_each_entry() 248 int rc, end; in apei_exec_pre_map_gars() local 251 NULL, &end); in apei_exec_pre_map_gars() 255 ctx_unmap.entries = end; in apei_exec_pre_map_gars()
|
/xen/xen/arch/x86/hvm/ |
A D | dom0_build.c | 124 unsigned long end; in pvh_populate_memory_range() local 154 order = get_order_from_pages(end - start + 1); in pvh_populate_memory_range() 341 uint64_t start, end; in pvh_setup_e820() local 379 end = (entry->addr + entry->size) & in pvh_setup_e820() 381 if ( start >= end ) in pvh_setup_e820() 386 entry_guest->size = end - start; in pvh_setup_e820() 397 entry_guest->size = end - entry_guest->addr; in pvh_setup_e820() 461 uint64_t end = min_t(uint64_t, MB(1), in pvh_populate_p2m() local 518 if ( end <= kernel_start || start >= kernel_end ) in find_memory() 522 end = kernel_start; in find_memory() [all …]
|
/xen/xen/include/xen/ |
A D | acpi.h | 48 #define BAD_MADT_ENTRY(entry, end) ( \ argument 49 (!(entry)) || (unsigned long)(entry) + sizeof(*(entry)) > (end) || \ 63 …edef int (*acpi_madt_entry_handler) (struct acpi_subtable_header *header, const unsigned long end); 67 …def int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end);
|