/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | srat.c | 113 if (nd->start <= start && nd->end > end && in valid_numa_range() 129 if (nd->end > start && nd->start < end) in conflicting_memblks() 131 if (nd->end == end && nd->start == start) in conflicting_memblks() 145 if (nd->end > end) { in cutoff_node() 146 nd->end = end; in cutoff_node() 273 u64 start, end; in acpi_numa_memory_affinity_init() local 333 nd->end = end; in acpi_numa_memory_affinity_init() 337 if (nd->end < end) in acpi_numa_memory_affinity_init() 338 nd->end = end; in acpi_numa_memory_affinity_init() 346 node_memblk_range[num_node_memblks].end = end; in acpi_numa_memory_affinity_init() [all …]
|
A D | setup.c | 347 if ( start >= end ) in bootstrap_map() 352 end = (end + mask) & ~mask; in bootstrap_map() 358 map_cur += end - start; in bootstrap_map() 428 end = consider_modules(end, e, size, mod + i + 1, in consider_modules() 430 if ( end ) in consider_modules() 431 return end; in consider_modules() 993 end &= ~mask; in __start_xen() 996 end = 0; in __start_xen() 997 if ( end > s ) in __start_xen() 1140 if ( s < end && in __start_xen() [all …]
|
A D | dom0_build.c | 350 unsigned long vstart, vend, end; in dom0_compute_nr_pages() local 357 end = vend + nr_pages * sizeof_long; in dom0_compute_nr_pages() 359 if ( end > vstart ) in dom0_compute_nr_pages() 360 end += end - vstart; in dom0_compute_nr_pages() 361 if ( end <= vstart || in dom0_compute_nr_pages() 362 (sizeof_long < sizeof(end) && end > (1UL << (8 * sizeof_long))) ) in dom0_compute_nr_pages() 364 end = sizeof_long >= sizeof(end) ? 0 : 1UL << (8 * sizeof_long); in dom0_compute_nr_pages() 365 nr_pages = (end - vend) / (2 * sizeof_long); in dom0_compute_nr_pages()
|
A D | e820.c | 45 int __init e820_all_mapped(u64 start, u64 end, unsigned type) in e820_all_mapped() argument 55 if (ei->addr >= end || ei->addr + ei->size <= start) in e820_all_mapped() 67 if (start >= end) in e820_all_mapped() 316 unsigned long long end = start + size; in copy_e820_map() local 320 if (start > end) in copy_e820_map() 331 if (end <= 0x100000ULL) in copy_e820_map() 334 size = end - start; in copy_e820_map() 352 unsigned long start, end; in find_max_pfn() local 358 if (start >= end) in find_max_pfn() 360 if (end > max_pfn) in find_max_pfn() [all …]
|
A D | numa.c | 77 epdx = paddr_to_pdx(nodes[i].end - 1) + 1; in populate_memnodemap() 128 epdx = paddr_to_pdx(nodes[i].end - 1) + 1; in extract_lsb_from_nodes() 167 void __init setup_node_bootmem(nodeid_t nodeid, u64 start, u64 end) in setup_node_bootmem() argument 172 end_pfn = end >> PAGE_SHIFT; in setup_node_bootmem() 228 nodes[i].end = nodes[i].start + sz; in numa_emulation() 231 nodes[i].start, nodes[i].end, in numa_emulation() 232 (nodes[i].end - nodes[i].start) >> 20); in numa_emulation() 243 setup_node_bootmem(i, nodes[i].start, nodes[i].end); in numa_emulation() 499 vnuma->vmemrange[j].end); in dump_numa()
|
/xen-4.10.0-shim-comet/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() 423 char *str, *end, c; in vsnprintf() local 439 end = buf + size; in vsnprintf() 441 if (end < buf) { 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 | 14 .end = _etext, 21 .end = _einittext, 47 if ( (void *)addr >= region->start && (void *)addr < region->end ) in find_text_region() 102 const struct exception_table_entry *end) in setup_virtual_regions() argument 132 core_init.ex_end = core.ex_end = end; in setup_virtual_regions()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | page.h | 147 const void *end = p + size; in invalidate_dcache_va_range() local 158 if ( (uintptr_t)end & cacheline_mask ) in invalidate_dcache_va_range() 160 end = (void *)((uintptr_t)end & ~cacheline_mask); in invalidate_dcache_va_range() 164 for ( ; p < end; p += cacheline_bytes ) in invalidate_dcache_va_range() 174 const void *end = p + size; in clean_dcache_va_range() local 177 for ( ; p < end; p += cacheline_bytes ) in clean_dcache_va_range() 187 const void *end = p + size; in clean_and_invalidate_dcache_va_range() local 232 unsigned long end = va + size; in flush_xen_data_tlb_range_va_local() local 234 while ( va < end ) in flush_xen_data_tlb_range_va_local() 251 unsigned long end = va + size; in flush_xen_data_tlb_range_va() local [all …]
|
A D | vgic-emul.h | 12 #define VRANGE32(start, end) start ... end + 3 argument 13 #define VRANGE64(start, end) start ... end + 7 argument
|
/xen-4.10.0-shim-comet/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 92 end = ((val & 0xffffff00) << 8) | 0xffff; /* 39:16 on 31:8*/ in get_fam10h_pci_mmconf_base() 94 if (end < tom2) in get_fam10h_pci_mmconf_base() 103 range[j].end = end; in get_fam10h_pci_mmconf_base() 114 if (range[hi_mmio_num - 1].end < start) in get_fam10h_pci_mmconf_base() 123 start = (range[hi_mmio_num - 1].end + UNIT) & MASK; in get_fam10h_pci_mmconf_base() 128 start = (range[i - 1].end + UNIT) & MASK; in get_fam10h_pci_mmconf_base() 129 end = range[i].start & MASK; in get_fam10h_pci_mmconf_base() 130 if (end >= start + SIZE && BASE_VALID(start)) in get_fam10h_pci_mmconf_base()
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/arch/arm/ |
A D | alternative.c | 43 const struct alt_instr *end; member 108 region->begin, region->end); in __apply_alternatives() 110 for ( alt = region->begin; alt < region->end; alt++ ) in __apply_alternatives() 186 patch_region.end = xenmap + xen_size; in __apply_alternatives_multi_stop() 197 region.end = (void *)__alt_instructions_end - (void *)_start + xenmap; in __apply_alternatives_multi_stop() 231 int apply_alternatives(const struct alt_instr *start, const struct alt_instr *end) in apply_alternatives() argument 235 .end = end, in apply_alternatives()
|
A D | kernel.c | 347 uint64_t start, end; in kernel_zimage64_probe() local 360 end = size; in kernel_zimage64_probe() 366 if ( (end - start) > size ) in kernel_zimage64_probe() 370 info->zimage.len = end - start; in kernel_zimage64_probe() 388 uint32_t start, end; in kernel_zimage32_probe() local 400 end = zimage[ZIMAGE32_END_OFFSET/4]; in kernel_zimage32_probe() 402 if ( (end - start) > size ) in kernel_zimage32_probe() 408 if ( addr + end - start + sizeof(dtb_hdr) <= size ) in kernel_zimage32_probe() 412 end += be32_to_cpu(dtb_hdr.total_size); in kernel_zimage32_probe() 414 if ( end > addr + size ) in kernel_zimage32_probe() [all …]
|
/xen-4.10.0-shim-comet/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() 52 char *buf2, *tok, *ptr, *end, *optkey = NULL; in xlu_pci_parse_bdf() local 57 for(tok = ptr, end = ptr + strlen(ptr) + 1; ptr < end; ptr++) { in xlu_pci_parse_bdf() 188 char *buf2, *tok, *ptr, *end; in xlu_rdm_parse() local 193 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-4.10.0-shim-comet/xen/arch/x86/acpi/ |
A D | boot.c | 88 if (BAD_MADT_ENTRY(processor, end)) in acpi_parse_x2apic() 132 if (BAD_MADT_ENTRY(processor, end)) in acpi_parse_lapic() 157 const unsigned long end) in acpi_parse_lapic_addr_ovr() argument 163 if (BAD_MADT_ENTRY(lapic_addr_ovr, end)) in acpi_parse_lapic_addr_ovr() 173 const unsigned long end) in acpi_parse_x2apic_nmi() argument 179 if (BAD_MADT_ENTRY(x2apic_nmi, end)) in acpi_parse_x2apic_nmi() 196 if (BAD_MADT_ENTRY(lapic_nmi, end)) in acpi_parse_lapic_nmi() 213 if (BAD_MADT_ENTRY(ioapic, end)) in acpi_parse_ioapic() 226 const unsigned long end) in acpi_parse_int_src_ovr() argument 232 if (BAD_MADT_ENTRY(intsrc, end)) in acpi_parse_int_src_ovr() [all …]
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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 …]
|
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/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-4.10.0-shim-comet/xen/include/xen/ |
A D | acpi.h | 48 #define BAD_MADT_ENTRY(entry, end) ( \ argument 49 (!(entry)) || (unsigned long)(entry) + sizeof(*(entry)) > (end) || \ 61 …edef int (*acpi_madt_entry_handler) (struct acpi_subtable_header *header, const unsigned long end); 65 …def int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end);
|
A D | virtual_region.h | 16 const void *end; /* Virtual address end. */ member 32 const struct exception_table_entry *end);
|
/xen-4.10.0-shim-comet/xen/common/libfdt/ |
A D | fdt_sw.c | 214 fdt32_t *end; in fdt_finish() local 222 end = _fdt_grab_space(fdt, sizeof(*end)); in fdt_finish() 223 if (! end) in fdt_finish() 225 *end = cpu_to_fdt32(FDT_END); in fdt_finish()
|
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/ |
A D | e820.c | 108 uint64_t last_end = 0, start, end; in dump_e820_table() local 116 end = e820[i].addr + e820[i].size; in dump_e820_table() 127 (uint32_t)(end >> 32), (uint32_t)end); in dump_e820_table() 147 last_end = end; in dump_e820_table()
|