/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | e820.c | 49 for (i = 0; i < e820.nr_map; i++) { in e820_all_mapped() 95 for (i = 0; i < entries; i++) { in print_e820_memory_map() 192 for (i=0; i<old_nr; i++) in sanitize_e820_map() 197 for (i=0; i < 2*old_nr; i++) in sanitize_e820_map() 203 for (i=0; i < old_nr; i++) { in sanitize_e820_map() 217 for (i=1; i < chg_nr; i++) { in sanitize_e820_map() 261 for (i=0; i<overlap_entries; i++) in sanitize_e820_map() 351 for (i = 0; i < e820.nr_map; i++) { in find_max_pfn() 376 for ( i = 0; i < e820.nr_map; i++ ) in clip_to_limit() 559 for ( i = 0; i < e820->nr_map; ++i ) in e820_add_range() [all …]
|
A D | numa.c | 74 for ( i = 0; i < numnodes; i++ ) in populate_memnodemap() 125 for ( i = 0; i < numnodes; i++ ) in extract_lsb_from_nodes() 190 for ( i = 0; i < nr_cpu_ids; i++ ) in numa_init_array() 223 for ( i = 0; i < numa_fake; i++ ) in numa_emulation() 228 nodes[i].end = nodes[i].start + sz; in numa_emulation() 231 nodes[i].start, nodes[i].end, in numa_emulation() 243 setup_node_bootmem(i, nodes[i].start, nodes[i].end); in numa_emulation() 276 for ( i = 0; i < nr_cpu_ids; i++ ) in numa_initmem_init() 339 for ( i = 0; i < nr_cpu_ids; i++ ) in init_cpu_to_node() 389 i, node_start_pfn(i), node_spanned_pages(i), in dump_numa() [all …]
|
A D | srat.c | 57 for (i = 0; i < ARRAY_SIZE(pxm2node); i++) in pxm_to_node() 110 for (i = 0; i < num_node_memblks; i++) { in valid_numa_range() 125 for (i = 0; i < num_node_memblks; i++) { in conflicting_memblks() 157 for (i = 0; i < MAX_LOCAL_APIC; i++) in bad_srat() 159 for (i = 0; i < ARRAY_SIZE(pxm2node); i++) in bad_srat() 174 for (i = 0; i < d; i++) { in slit_valid() 362 for (i = 0; i < e820.nr_map; i++) { in nodes_cover_memory() 458 for (i = 0; i < MAX_NUMNODES; i++) in acpi_scan_nodes() 489 setup_node_bootmem(i, nodes[i].start, nodes[i].end); in acpi_scan_nodes() 491 for (i = 0; i < nr_cpu_ids; i++) { in acpi_scan_nodes() [all …]
|
/xen-4.10.0-shim-comet/xen/tools/ |
A D | symbols.c | 312 for (i = 0; i < table_cnt; i++) in write_src() 336 for (i = 0; i < table_cnt; i++) { in write_src() 351 for (i = 0; i < table_cnt; i++) { in write_src() 373 for (i = 0; i < 256; i++) { in write_src() 382 for (i = 0; i < 256; i++) in write_src() 398 for (i = 0; i < table_cnt; i++) { in write_src() 414 for (i = 0; i < len - 1; i++) in learn_symbol() 423 for (i = 0; i < len - 1; i++) in forget_symbol() 504 for (i = 0; i < 0x10000; i++) { in find_best_token() 520 for (i = 255; i >= 0; i--) { in optimize_result() [all …]
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xenpm.c | 120 for ( i = 0; i < cxstat->nr; i++ ) in print_cxstat() 127 for ( i = 0; i < MAX_PKG_RESIDENCIES && i < cxstat->nr_pc; ++i ) in print_cxstat() 131 for ( i = 0; i < MAX_CORE_RESIDENCIES && i < cxstat->nr_cc; ++i ) in print_cxstat() 237 for ( i = 0; i < max_cpu_nr; i++ ) in cxstat_func() 254 for ( i = 0; i < pxstat->total; i++ ) in print_pxstat() 345 for ( i = 0; i < max_cpu_nr; i++ ) in pxstat_func() 446 for ( i = 0; i < max_cpu_nr; i++ ) in signal_int_handler() 450 for ( i = 0; i < max_cpu_nr; i++ ) in signal_int_handler() 503 for ( i = 0; i < max_cpus; i++ ) in signal_int_handler() 661 for ( i = 0; i < max_cpu_nr; i++ ) in start_gather_func() [all …]
|
A D | xen-cpuid.c | 198 unsigned i; in dump_leaf() local 206 for ( i = 0; i < 32; ++i ) in dump_leaf() 216 unsigned int i; in decode_featureset() local 219 for ( i = 0; i < length; ++i ) in decode_featureset() 226 for ( i = 0; i < length && i < ARRAY_SIZE(decodes); ++i ) in decode_featureset() 230 dump_leaf(features[i], decodes[i].strs); in decode_featureset() 251 unsigned int i; in dump_info() local 258 for ( i = 0; i < ARRAY_SIZE(decodes); ++i ) in dump_info() 276 for ( i = 0; i < ARRAY_SIZE(featuresets); ++i ) in dump_info() 280 decode_featureset(featuresets[i].fs, featuresets[i].len, in dump_info() [all …]
|
A D | xen-hvmctx.c | 119 for ( i = 0 ; i < 8 ; i++ ) in dump_fpu() 121 i, r->mm[i].hi, r->mm[i].lo, in dump_fpu() 124 for ( i = 0 ; i < 16 ; i++ ) in dump_fpu() 126 i, r->xmm[i].hi, r->xmm[i].lo); in dump_fpu() 128 for ( i = 0 ; i < 6 ; i++ ) in dump_fpu() 234 for ( i = 0; i < VIOAPIC_NUM_PINS; i++ ) in dump_ioapic() 255 for ( i = 0 ; i < 0x400 ; i += 32 ) in dump_lapic_regs() 293 for ( i = 0 ; i < 2 ; i++ ) in dump_pit() 332 for ( i = 0; i < HPET_TIMER_NUM; i++ ) in dump_hpet() 360 for ( i = 0 ; i < MTRR_VCNT ; i++ ) in dump_mtrr() [all …]
|
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/ |
A D | tests.c | 50 for ( i = 0; i <= (unsigned long)(_end - 1) >> (PAGE_SHIFT + 10); ++i ) in setup_paging() 60 for ( i = 0; i < (TEST_MEM_SIZE >> (PAGE_SHIFT + 10)); ++i ) in setup_paging() 63 for ( i = 0; i < (TEST_MEM_SIZE >> PAGE_SHIFT); ++i ) in setup_paging() 64 pt[i] = test_mem_base + (i << PAGE_SHIFT) + 3; in setup_paging() 129 i = 0; in rep_insb_test() 181 : "=c" (i), "=D" (i) in rep_insw_test() 187 : "=c" (i), "=D" (i) in rep_insw_test() 192 i = 0; in rep_insw_test() 233 for ( i = 0; i <= (unsigned long)(_end - 1) >> (PAGE_SHIFT + 9); i++ ) in shadow_gs_test() 331 for ( i = 0; i < hvm_start_info->nr_modules; ++i ) in perform_tests() [all …]
|
A D | 32bitbios_support.c | 40 int i; in relocate_32bitbios() local 46 for ( i = 0; i < ehdr->e_shnum; i++ ) in relocate_32bitbios() 49 shdr[i].sh_addr = (Elf32_Addr)&elfarray[shdr[i].sh_offset]; in relocate_32bitbios() 52 if ( shdr[i].sh_addralign == 0 ) in relocate_32bitbios() 53 shdr[i].sh_addralign = 1; in relocate_32bitbios() 60 reloc_off += shdr[i].sh_size; in relocate_32bitbios() 79 for ( i = 0; i < ehdr->e_shnum; i++ ) in relocate_32bitbios() 93 shdr[i].sh_size); in relocate_32bitbios() 97 reloc_off += shdr[i].sh_size; in relocate_32bitbios() 104 for ( i = 0; i < ehdr->e_shnum; i++ ) in relocate_32bitbios() [all …]
|
A D | e820.c | 44 for ( i = 0; i < nr_entries; i++ ) in memory_map_setup() 48 memory_map.map[i].addr, memory_map.map[i].size) ) in memory_map_setup() 67 unsigned int i; in adjust_memory_map() local 69 for ( i = 0; i < memory_map.nr_map; i++ ) in adjust_memory_map() 109 int i; in dump_e820_table() local 113 for ( i = 0; i < nr; i++ ) in dump_e820_table() 115 start = e820[i].addr; in dump_e820_table() 116 end = e820[i].addr + e820[i].size; in dump_e820_table() 156 unsigned int nr = 0, i, j; in build_e820_table() local 257 for ( i = 0; i < memory_map.nr_map; i++ ) in build_e820_table() [all …]
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | bunzip2.c | 186 for (i = 0; i < 16; i++) { in get_next_block() 206 for (i = 0; i < groupCount; i++) in get_next_block() 208 for (i = 0; i < nSelectors; i++) { in get_next_block() 236 for (i = 0; i < symCount; i++) { in get_next_block() 263 for (i = 1; i < symCount; i++) { in get_next_block() 304 for (i = 0; i < symCount; i++) in get_next_block() 313 for (i = minLen; i < maxLen; i++) { in get_next_block() 341 for (i = 0; i < 256; i++) { in get_next_block() 477 for (i = 0; i < 256; i++) { in get_next_block() 483 for (i = 0; i < dbufCount; i++) { in get_next_block() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/oprofile/ |
A D | op_model_p4.c | 402 for (i = 0; i < num_counters; ++i) { in p4_fill_in_addresses() 473 int i; in pmc_setup_one_p4_counter() local 495 for (i = 0; i < maxbind; i++) { in pmc_setup_one_p4_counter() 549 for (i = 0 ; i < num_counters ; i++) { in p4_setup_ctrs() 557 for (i = stag ; i < NUM_UNUSED_CCCRS ; i += addr_increment()) { in p4_setup_ctrs() 601 for (i = 0 ; i < num_counters ; ++i) { in p4_setup_ctrs() 603 reset_value[i] = counter_config[i].count; in p4_setup_ctrs() 618 int i; in p4_check_ctrs() local 625 for (i = 0; i < num_counters; ++i) { in p4_check_ctrs() 676 for (i = 0; i < num_counters; ++i) { in p4_start() [all …]
|
A D | op_model_ppro.c | 68 int i; in ppro_fill_in_addresses() local 70 for (i = 0; i < num_counters; i++) in ppro_fill_in_addresses() 71 msrs->counters[i].addr = MSR_P6_PERFCTR(i); in ppro_fill_in_addresses() 72 for (i = 0; i < num_counters; i++) in ppro_fill_in_addresses() 80 int i; in ppro_setup_ctrs() local 100 for (i = 0 ; i < num_counters; ++i) { in ppro_setup_ctrs() 107 for (i = 0; i < num_counters; ++i) in ppro_setup_ctrs() 111 for (i = 0; i < num_counters; ++i) { in ppro_setup_ctrs() 142 for (i = 0 ; i < num_counters; ++i) { in ppro_check_ctrs() 178 for (i = 0; i < num_counters; ++i) { in ppro_start() [all …]
|
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/ |
A D | util.c | 189 for ( i = 0; i < n; i++ ) in memset() 201 for ( i = 0; i < n; i++ ) in memcmp() 250 for ( i = 0; i < 4; i++ ) in uuid_to_string() 256 for ( i = 4; i < 6; i++ ) in uuid_to_string() 262 for ( i = 6; i < 8; i++ ) in uuid_to_string() 268 for ( i = 8; i < 10; i++ ) in uuid_to_string() 274 for ( i = 10; i < 16; i++ ) in uuid_to_string() 346 for ( i = pad - slen; i > 0; i-- ) in _doprint() 356 for ( i = pad - slen; i > 0; i-- ) in _doprint() 361 for ( i = pad - slen; i > 0; i-- ) in _doprint() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/genapic/ |
A D | probe.c | 49 int i, rc = -EINVAL; in genapic_apic_force() local 51 for (i = 0; apic_probe[i]; i++) in genapic_apic_force() 53 genapic = apic_probe[i]; in genapic_apic_force() 64 int i; in generic_apic_probe() local 71 for (i = 0; !changed && apic_probe[i]; i++) { in generic_apic_probe() 74 genapic = apic_probe[i]; in generic_apic_probe() 87 int i; in mps_oem_check() local 88 for (i = 0; apic_probe[i]; ++i) { in mps_oem_check() 91 genapic = apic_probe[i]; in mps_oem_check() 103 int i; in acpi_madt_oem_check() local [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/ |
A D | mmconfig-shared.c | 143 int i; in pci_mmcfg_amd_fam10h() local 181 for (i = 0; i < (1 << segnbits); i++) { in pci_mmcfg_amd_fam10h() 183 pci_mmcfg_config[i].pci_segment = i; in pci_mmcfg_amd_fam10h() 229 if (!i) in pci_mmcfg_nvidia_mcp55() 266 i++; in pci_mmcfg_nvidia_mcp55() 305 int i; in pci_mmcfg_check_hostbridge() local 312 for (i = 0; !name && i < ARRAY_SIZE(pci_mmcfg_probes); i++) { in pci_mmcfg_check_hostbridge() 366 int i; in pci_mmcfg_reject_broken() local 376 for (i = 0; i < pci_mmcfg_config_num; i++) { in pci_mmcfg_reject_broken() 417 for (i = 0; i < pci_mmcfg_config_num; ++i) in acpi_mmcfg_init() [all …]
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_vnuma.c | 107 for (i = 0; i < b_info->num_vnuma_nodes; i++) { in libxl__vnuma_config_check() 130 for (i = 0; i < b_info->num_vnuma_nodes; i++) { in libxl__vnuma_config_check() 142 for (i = 0; i < b_info->max_vcpus; i++) { in libxl__vnuma_config_check() 150 for (i = 0; i < b_info->num_vnuma_nodes; i++) { in libxl__vnuma_config_check() 170 for (i = 0; i < state->num_vmemranges; i++) { in libxl__vnuma_config_check() 177 for (i = 0; i < state->num_vmemranges - 1; i++) { in libxl__vnuma_config_check() 188 for (i = 0; i < b_info->num_vnuma_nodes; i++) { in libxl__vnuma_config_check() 200 i, j, i); in libxl__vnuma_config_check() 218 int i; in libxl__vnuma_build_vmemrange_pv_generic() local 225 for (i = 0; i < b_info->num_vnuma_nodes; i++) { in libxl__vnuma_build_vmemrange_pv_generic() [all …]
|
A D | libxl_x86.c | 71 for (i = 0; i < nr; i++) { in e820_sanitize() 84 for (i = 0; i < nr; i++) { in e820_sanitize() 132 for (i = 0; i < nr; i++) { in e820_sanitize() 185 for (i = 0; i < nr && add_unusable; i++) { in e820_sanitize() 208 for (i = 0; i < nr; i++) { in e820_sanitize() 232 for (i = 0; i < nr; i++) { in e820_sanitize() 234 (e820[i].addr + e820[i].size) >> 12, e820_names(e820[i].type)); in e820_sanitize() 529 for (i = 0; i < d_config->num_rdms; i++) in libxl__arch_domain_construct_memmap() 538 for (i = 0; i < MAX_ACPI_MODULES; i++) in libxl__arch_domain_construct_memmap() 557 for (i = 0; i < d_config->num_rdms; i++) { in libxl__arch_domain_construct_memmap() [all …]
|
A D | libxl.c | 159 for (i = 0; i < ctx->watch_nslots; i++) in libxl_ctx_free() 213 for (i = 0; sl[i] != NULL; i++) { in libxl_string_list_dispose() 237 for (i = 0; i < len; i++) in libxl_string_list_copy() 304 for (i = 0; i < len * 2; i += 2) { in libxl_key_value_list_copy() 430 for (i = 0; i < num_cpus; i++) { in libxl_get_cpu_topology() 477 for (i = 0; i < *num_devs; i++) { in libxl_get_pci_topology() 516 for (i = 0; i < num_nodes; i++) in libxl_get_numainfo() 519 for (i = 0; i < num_nodes; i++) { in libxl_get_numainfo() 559 for (i = 0; i < r ; i++) in libxl__xc_version_wrap() 766 for (i = 0; i < 8; i++) in libxl_hwcap_copy() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/ |
A D | p2m-pod.c | 80 for ( i = 0; i < 1UL << order ; i++) in p2m_pod_cache_add() 103 for ( i = 0; i < (1UL << order); i++ ) in p2m_pod_cache_add() 108 for ( i = 0; i < 1UL << order ; i++ ) in p2m_pod_cache_add() 166 for ( i = 0; i < SUPERPAGE_PAGES; i++ ) in p2m_pod_cache_get() 191 for ( i = 0 ; i < (1UL << order); i++ ) in p2m_pod_cache_get() 779 for ( i = 0; i < SUPERPAGE_PAGES; i++ ) in p2m_pod_zero_check_superpage() 893 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check() 918 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check() 969 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check() 1030 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/ |
A D | vpmu_amd.c | 163 for ( i = 0; i < num_counters; i++ ) in amd_vpmu_init_regs() 172 for ( i = 0; i < num_counters; i++ ) in amd_vpmu_set_msr_bitmap() 186 for ( i = 0; i < num_counters; i++ ) in amd_vpmu_unset_msr_bitmap() 208 for ( i = 0; i < num_counters; i++ ) in context_load() 229 for ( i = 0; i < num_counters; i++ ) in amd_vpmu_load() 247 for ( i = 0; i < num_counters; i++ ) in amd_vpmu_load() 284 for ( i = 0; i < num_counters; i++ ) in context_save() 294 for ( i = 0; i < num_counters; i++ ) in amd_vpmu_save() 340 for ( i = 0; i < num_counters; i++ ) in context_update() 478 for ( i = 0; i < num_counters; i++ ) in amd_vpmu_dump() [all …]
|
A D | vpmu_intel.c | 125 for ( i = 0; i < arch_pmc_cnt; i++ ) in handle_pmc_quirk() 137 for ( i = 0; i < fixed_pmc_cnt; i++ ) in handle_pmc_quirk() 233 for ( i = 0; i < fixed_pmc_cnt; i++ ) in core2_vpmu_set_msr_bitmap() 236 for ( i = 0; i < arch_pmc_cnt; i++ ) in core2_vpmu_set_msr_bitmap() 245 for ( i = 0; i < arch_pmc_cnt; i++ ) in core2_vpmu_set_msr_bitmap() 256 for ( i = 0; i < fixed_pmc_cnt; i++ ) in core2_vpmu_unset_msr_bitmap() 259 for ( i = 0; i < arch_pmc_cnt; i++ ) in core2_vpmu_unset_msr_bitmap() 267 for ( i = 0; i < arch_pmc_cnt; i++ ) in core2_vpmu_unset_msr_bitmap() 282 for ( i = 0; i < fixed_pmc_cnt; i++ ) in __core2_vpmu_save() 284 for ( i = 0; i < arch_pmc_cnt; i++ ) in __core2_vpmu_save() [all …]
|
/xen-4.10.0-shim-comet/xen/common/xz/ |
A D | dec_bcj.c | 95 size_t i; in bcj_x86() local 107 for (i = 0; i < size; ++i) { in bcj_x86() 147 i += 4; in bcj_x86() 155 return i; in bcj_x86() 162 size_t i; in bcj_powerpc() local 165 for (i = 0; i + 4 <= size; i += 4) { in bcj_powerpc() 176 return i; in bcj_powerpc() 222 for (i = 0; i + 16 <= size; i += 16) { in bcj_ia64() 270 for (i = 0; i + 4 <= size; i += 4) { in bcj_arm() 293 for (i = 0; i + 4 <= size; i += 2) { in bcj_armthumb() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/efi/ |
A D | mkreloc.c | 211 for ( i = 0; i < sec->file_size; ++i ) in diff_sections() 222 if ( ptr1[i] == ptr2[i] ) in diff_sections() 327 for ( i = 0; i < nsec; ++i ) in main() 331 if ( memcmp(sec1[i].name, sec2[i].name, sizeof(sec1[i].name)) || in main() 332 sec1[i].rva != sec2[i].rva || in main() 333 sec1[i].size != sec2[i].size || in main() 334 sec1[i].file_size != sec2[i].file_size || in main() 335 sec1[i].flags != sec2[i].flags ) in main() 361 if ( sec1[i].file_size > sec1[i].size ) in main() 363 sec1[i].file_size = sec1[i].size; in main() [all …]
|
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | disk_write.c | 47 int i; in disk_write_vtpm_page() local 52 for(i=0; i < dst->size; i++) { in disk_write_vtpm_page() 86 for(i=0; i < src->nr_seals; i++) { in generate_group_seals() 114 for(i = 0; i < src->disk_nr_inuse; i++) in disk_populate_used_group() 123 for (i = 0; i < group->nr_pages; i++) in disk_populate_used_group() 142 for (i = 0; i < nr_entries; i++) { in disk_write_vtpm_itree() 149 for (i = 0; i * incr < nr_entries; i++) { in disk_write_vtpm_itree() 251 for(i=0; i < group->nr_seals; i++) { in disk_write_seal_list() 281 for(i=0; i < mgr->nr_groups; i++) in disk_populate_used_mgr() 294 for(i=0; i < mgr->nr_groups; i++) { in disk_write_group_itree() [all …]
|