Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 668) sorted by relevance

12345678910>>...27

/xen/xen/arch/x86/
A De820.c50 for (i = 0; i < e820.nr_map; i++) { in e820_all_mapped()
95 for (i = 0; i < entries; i++) { in print_e820_memory_map()
190 for (i=0; i<old_nr; i++) in sanitize_e820_map()
195 for (i=0; i < 2*old_nr; i++) in sanitize_e820_map()
201 for (i=0; i < old_nr; i++) { in sanitize_e820_map()
215 for (i=1; i < chg_nr; i++) { in sanitize_e820_map()
259 for (i=0; i<overlap_entries; i++) in sanitize_e820_map()
349 for (i = 0; i < e820.nr_map; i++) { in find_max_pfn()
374 for ( i = 0; i < e820.nr_map; i++ ) in clip_to_limit()
551 for ( i = 0; i < e820->nr_map; ++i ) in e820_add_range()
[all …]
A Dnuma.c75 for ( i = 0; i < numnodes; i++ ) in populate_memnodemap()
126 for ( i = 0; i < numnodes; i++ ) in extract_lsb_from_nodes()
191 for ( i = 0; i < nr_cpu_ids; i++ ) in numa_init_array()
222 for ( i = 0; i < numa_fake; i++ ) in numa_emulation()
227 nodes[i].end = nodes[i].start + sz; in numa_emulation()
230 nodes[i].start, nodes[i].end, in numa_emulation()
242 setup_node_bootmem(i, nodes[i].start, nodes[i].end); in numa_emulation()
275 for ( i = 0; i < nr_cpu_ids; i++ ) in numa_initmem_init()
338 for ( i = 0; i < nr_cpu_ids; i++ ) in init_cpu_to_node()
387 i, node_start_pfn(i), node_spanned_pages(i), in dump_numa()
[all …]
A Dsrat.c58 for (i = 0; i < ARRAY_SIZE(pxm2node); i++) in pxm_to_node()
111 for (i = 0; i < num_node_memblks; i++) { in valid_numa_range()
126 for (i = 0; i < num_node_memblks; i++) { in conflicting_memblks()
158 for (i = 0; i < MAX_LOCAL_APIC; i++) in bad_srat()
160 for (i = 0; i < ARRAY_SIZE(pxm2node); i++) in bad_srat()
175 for (i = 0; i < d; i++) { in slit_valid()
366 for (i = 0; i < e820.nr_map; i++) { in nodes_cover_memory()
462 for (i = 0; i < MAX_NUMNODES; i++) in acpi_scan_nodes()
493 setup_node_bootmem(i, nodes[i].start, nodes[i].end); in acpi_scan_nodes()
495 for (i = 0; i < nr_cpu_ids; i++) { in acpi_scan_nodes()
[all …]
/xen/xen/tools/
A Dsymbols.c312 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/tools/firmware/hvmloader/
A Dtests.c50 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 D32bitbios_support.c40 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 De820.c44 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
280 for ( i = 0; i < memory_map.nr_map; i++ ) in build_e820_table()
[all …]
/xen/xen/common/
A Dbunzip2.c186 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/tools/misc/
A Dxenpm.c122 for ( i = 0; i < cxstat->nr; i++ ) in print_cxstat()
129 for ( i = 0; i < MAX_PKG_RESIDENCIES && i < cxstat->nr_pc; ++i ) in print_cxstat()
133 for ( i = 0; i < MAX_CORE_RESIDENCIES && i < cxstat->nr_cc; ++i ) in print_cxstat()
251 for ( i = 0; i < max_cpu_nr; i++ ) in cxstat_func()
268 for ( i = 0; i < pxstat->total; i++ ) in print_pxstat()
359 for ( i = 0; i < max_cpu_nr; i++ ) in pxstat_func()
460 for ( i = 0; i < max_cpu_nr; i++ ) in signal_int_handler()
464 for ( i = 0; i < max_cpu_nr; i++ ) in signal_int_handler()
517 for ( i = 0; i < max_cpus; i++ ) in signal_int_handler()
675 for ( i = 0; i < max_cpu_nr; i++ ) in start_gather_func()
[all …]
A Dxen-hvmctx.c119 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()
230 for ( i = 0; i < VIOAPIC_NUM_PINS; i++ ) in dump_ioapic()
251 for ( i = 0 ; i < 0x400 ; i += 32 ) in dump_lapic_regs()
289 for ( i = 0 ; i < 2 ; i++ ) in dump_pit()
327 for ( i = 0; i < HPET_TIMER_NUM; i++ ) in dump_hpet()
352 for ( i = 0 ; i < MTRR_VCNT ; i++ ) in dump_mtrr()
[all …]
A Dxen-cpuid.c216 unsigned i; in dump_leaf() local
224 for ( i = 0; i < 32; ++i ) in dump_leaf()
239 unsigned int i; in decode_featureset() local
242 for ( i = 0; i < length; ++i ) in decode_featureset()
249 for ( i = 0; i < length && i < ARRAY_SIZE(decodes); ++i ) in decode_featureset()
253 dump_leaf(features[i], decodes[i].strs); in decode_featureset()
280 for ( i = 0; i < ARRAY_SIZE(decodes); ++i ) in dump_info()
304 for ( i = 0; i < ARRAY_SIZE(featuresets); ++i ) in dump_info()
318 decode_featureset(featuresets[i].fs, featuresets[i].len, in dump_info()
322 for ( i = 0; i < ARRAY_SIZE(featuresets); ++i ) in dump_info()
[all …]
/xen/xen/arch/x86/oprofile/
A Dop_model_p4.c402 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 Dop_model_ppro.c68 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/xen/arch/x86/genapic/
A Dprobe.c48 int i, rc = -EINVAL; in genapic_apic_force() local
50 for (i = 0; apic_probe[i]; i++) in genapic_apic_force()
52 genapic = *apic_probe[i]; in genapic_apic_force()
63 int i; in generic_apic_probe() local
70 for (i = 0; !changed && apic_probe[i]; i++) { in generic_apic_probe()
73 genapic = *apic_probe[i]; in generic_apic_probe()
86 int i; in mps_oem_check() local
87 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/tools/firmware/rombios/32bit/
A Dutil.c189 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/tools/tests/x86_emulator/
A Dsimd-sg.c229 for ( i = 0; i < ITEM_COUNT; ++i ) in sg_test()
237 for ( i = 0; i < ITEM_COUNT; ++i ) in sg_test()
245 for ( i = 0; i < ITEM_COUNT; ++i ) in sg_test()
253 for ( i = 0; i < ITEM_COUNT; ++i ) in sg_test()
265 for ( i = 0; i < ITEM_COUNT; ++i ) in sg_test()
275 for ( i = 0; i < ITEM_COUNT; ++i ) in sg_test()
284 for ( i = 0; i < ITEM_COUNT; ++i ) in sg_test()
298 for ( i = 0; i < ITEM_COUNT; ++i ) in sg_test()
306 for ( i = 1; i < ITEM_COUNT; ++i ) in sg_test()
313 for ( i = 1; i < ITEM_COUNT; ++i ) in sg_test()
[all …]
/xen/xen/arch/x86/x86_64/
A Dmmconfig-shared.c144 int i; in pci_mmcfg_amd_fam10h() local
182 for (i = 0; i < (1 << segnbits); i++) { in pci_mmcfg_amd_fam10h()
184 pci_mmcfg_config[i].pci_segment = i; in pci_mmcfg_amd_fam10h()
230 if (!i) in pci_mmcfg_nvidia_mcp55()
267 i++; in pci_mmcfg_nvidia_mcp55()
306 int i; in pci_mmcfg_check_hostbridge() local
313 for (i = 0; !name && i < ARRAY_SIZE(pci_mmcfg_probes); i++) { in pci_mmcfg_check_hostbridge()
367 int i; in pci_mmcfg_reject_broken() local
375 for (i = 0; i < pci_mmcfg_config_num; i++) { in pci_mmcfg_reject_broken()
418 for (i = 0; i < pci_mmcfg_config_num; ++i) in acpi_mmcfg_init()
[all …]
/xen/xen/arch/x86/mm/
A Dp2m-pod.c75 for ( i = 0; i < 1UL << order ; i++) in p2m_pod_cache_add()
98 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()
161 for ( i = 0; i < SUPERPAGE_PAGES; i++ ) in p2m_pod_cache_get()
186 for ( i = 0 ; i < (1UL << order); i++ ) in p2m_pod_cache_get()
760 for ( i = 0; i < SUPERPAGE_PAGES; i++ ) in p2m_pod_zero_check_superpage()
877 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check()
905 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check()
949 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check()
1010 for ( i = 0; i < count; i++ ) in p2m_pod_zero_check()
[all …]
/xen/tools/libxl/
A Dlibxl_vnuma.c107 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 …]
/xen/xen/arch/x86/cpu/
A Dvpmu_amd.c163 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 Dvpmu_intel.c125 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/xen/test/livepatch/
A Dxen_action_hooks_noapply.c22 int i; in pre_apply_hook() local
26 for (i = 0; i < payload->nfuncs; i++) in pre_apply_hook()
28 struct livepatch_func *func = &payload->funcs[i]; in pre_apply_hook()
41 int i; in apply_hook() local
45 for (i = 0; i < payload->nfuncs; i++) in apply_hook()
60 int i; in post_apply_hook() local
64 for (i = 0; i < payload->nfuncs; i++) in post_apply_hook()
78 int i; in pre_revert_hook() local
82 for (i = 0; i < payload->nfuncs; i++) in pre_revert_hook()
97 int i; in post_revert_hook() local
[all …]
A Dxen_action_hooks_norevert.c22 int i; in pre_apply_hook() local
26 for (i = 0; i < payload->nfuncs; i++) in pre_apply_hook()
28 struct livepatch_func *func = &payload->funcs[i]; in pre_apply_hook()
41 int i; in post_apply_hook() local
45 for (i = 0; i < payload->nfuncs; i++) in post_apply_hook()
58 int i; in pre_revert_hook() local
62 for (i = 0; i < payload->nfuncs; i++) in pre_revert_hook()
77 int i; in revert_hook() local
81 for (i = 0; i < payload->nfuncs; i++) in revert_hook()
96 int i; in post_revert_hook() local
[all …]
/xen/xen/common/xz/
A Ddec_bcj.c95 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/xen/arch/x86/efi/
A Dmkreloc.c211 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 …]

Completed in 46 milliseconds

12345678910>>...27