/dports/emulators/qemu5/qemu-5.2.0/tests/ |
H A D | test-x86-cpuid.c | 31 X86CPUTopoInfo topo_info = {0}; in test_topo_bits() local 34 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits() 39 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits() 48 topo_info = (X86CPUTopoInfo) {1, 1, 2}; in test_topo_bits() 50 topo_info = (X86CPUTopoInfo) {1, 1, 3}; in test_topo_bits() 52 topo_info = (X86CPUTopoInfo) {1, 1, 4}; in test_topo_bits() 55 topo_info = (X86CPUTopoInfo) {1, 1, 14}; in test_topo_bits() 57 topo_info = (X86CPUTopoInfo) {1, 1, 15}; in test_topo_bits() 59 topo_info = (X86CPUTopoInfo) {1, 1, 16}; in test_topo_bits() 88 topo_info = (X86CPUTopoInfo) {1, 6, 3}; in test_topo_bits() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/tests/ |
H A D | test-x86-cpuid.c | 31 X86CPUTopoInfo topo_info = {0}; in test_topo_bits() local 34 topo_info = (X86CPUTopoInfo) {0, 1, 1, 1}; in test_topo_bits() 39 topo_info = (X86CPUTopoInfo) {0, 1, 1, 1}; in test_topo_bits() 48 topo_info = (X86CPUTopoInfo) {0, 1, 1, 2}; in test_topo_bits() 50 topo_info = (X86CPUTopoInfo) {0, 1, 1, 3}; in test_topo_bits() 52 topo_info = (X86CPUTopoInfo) {0, 1, 1, 4}; in test_topo_bits() 55 topo_info = (X86CPUTopoInfo) {0, 1, 1, 14}; in test_topo_bits() 57 topo_info = (X86CPUTopoInfo) {0, 1, 1, 15}; in test_topo_bits() 59 topo_info = (X86CPUTopoInfo) {0, 1, 1, 16}; in test_topo_bits() 88 topo_info = (X86CPUTopoInfo) {0, 1, 6, 3}; in test_topo_bits() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/unit/ |
H A D | test-x86-cpuid.c | 31 X86CPUTopoInfo topo_info = {0}; in test_topo_bits() local 34 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits() 39 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits() 48 topo_info = (X86CPUTopoInfo) {1, 1, 2}; in test_topo_bits() 50 topo_info = (X86CPUTopoInfo) {1, 1, 3}; in test_topo_bits() 52 topo_info = (X86CPUTopoInfo) {1, 1, 4}; in test_topo_bits() 55 topo_info = (X86CPUTopoInfo) {1, 1, 14}; in test_topo_bits() 57 topo_info = (X86CPUTopoInfo) {1, 1, 15}; in test_topo_bits() 59 topo_info = (X86CPUTopoInfo) {1, 1, 16}; in test_topo_bits() 88 topo_info = (X86CPUTopoInfo) {1, 6, 3}; in test_topo_bits() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/tests/unit/ |
H A D | test-x86-cpuid.c | 31 X86CPUTopoInfo topo_info = {0}; in test_topo_bits() local 34 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits() 39 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits() 48 topo_info = (X86CPUTopoInfo) {1, 1, 2}; in test_topo_bits() 50 topo_info = (X86CPUTopoInfo) {1, 1, 3}; in test_topo_bits() 52 topo_info = (X86CPUTopoInfo) {1, 1, 4}; in test_topo_bits() 55 topo_info = (X86CPUTopoInfo) {1, 1, 14}; in test_topo_bits() 57 topo_info = (X86CPUTopoInfo) {1, 1, 15}; in test_topo_bits() 59 topo_info = (X86CPUTopoInfo) {1, 1, 16}; in test_topo_bits() 88 topo_info = (X86CPUTopoInfo) {1, 6, 3}; in test_topo_bits() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/tests/ |
H A D | test-x86-cpuid.c | 31 X86CPUTopoInfo topo_info = {0}; in test_topo_bits() local 34 topo_info = (X86CPUTopoInfo) {0, 1, 1, 1}; in test_topo_bits() 39 topo_info = (X86CPUTopoInfo) {0, 1, 1, 1}; in test_topo_bits() 48 topo_info = (X86CPUTopoInfo) {0, 1, 1, 2}; in test_topo_bits() 50 topo_info = (X86CPUTopoInfo) {0, 1, 1, 3}; in test_topo_bits() 52 topo_info = (X86CPUTopoInfo) {0, 1, 1, 4}; in test_topo_bits() 55 topo_info = (X86CPUTopoInfo) {0, 1, 1, 14}; in test_topo_bits() 57 topo_info = (X86CPUTopoInfo) {0, 1, 1, 15}; in test_topo_bits() 59 topo_info = (X86CPUTopoInfo) {0, 1, 1, 16}; in test_topo_bits() 88 topo_info = (X86CPUTopoInfo) {0, 1, 6, 3}; in test_topo_bits() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/tests/unit/ |
H A D | test-x86-cpuid.c | 31 X86CPUTopoInfo topo_info = {0}; in test_topo_bits() local 34 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits() 39 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits() 48 topo_info = (X86CPUTopoInfo) {1, 1, 2}; in test_topo_bits() 50 topo_info = (X86CPUTopoInfo) {1, 1, 3}; in test_topo_bits() 52 topo_info = (X86CPUTopoInfo) {1, 1, 4}; in test_topo_bits() 55 topo_info = (X86CPUTopoInfo) {1, 1, 14}; in test_topo_bits() 57 topo_info = (X86CPUTopoInfo) {1, 1, 15}; in test_topo_bits() 59 topo_info = (X86CPUTopoInfo) {1, 1, 16}; in test_topo_bits() 88 topo_info = (X86CPUTopoInfo) {1, 6, 3}; in test_topo_bits() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/include/hw/i386/ |
H A D | topology.h | 101 return apicid_smt_width(topo_info); 107 return apicid_core_offset(topo_info) + apicid_core_width(topo_info); 114 return apicid_die_offset(topo_info) + apicid_die_width(topo_info); 127 apicid_die_width(topo_info); 129 if (topo_info->nodes_per_pkg) { 139 return apicid_node_offset_epyc(topo_info) + 140 apicid_node_width_epyc(topo_info); 164 unsigned nr_dies = topo_info->dies_per_pkg; 165 unsigned nr_cores = topo_info->cores_per_die; 231 unsigned nr_dies = topo_info->dies_per_pkg; [all …]
|
H A D | x86.h | 70 uint32_t (*apicid_from_cpu_idx)(X86CPUTopoInfo *topo_info, 72 void (*topo_ids_from_apicid)(apic_id_t apicid, X86CPUTopoInfo *topo_info, 74 apic_id_t (*apicid_from_topo_ids)(X86CPUTopoInfo *topo_info, 76 uint32_t (*apicid_pkg_offset)(X86CPUTopoInfo *topo_info); 97 void init_topo_info(X86CPUTopoInfo *topo_info, const X86MachineState *x86ms);
|
/dports/emulators/qemu/qemu-6.2.0/include/hw/i386/ |
H A D | topology.h | 94 return apicid_smt_width(topo_info); in apicid_core_offset() 100 return apicid_core_offset(topo_info) + apicid_core_width(topo_info); in apicid_die_offset() 107 return apicid_die_offset(topo_info) + apicid_die_width(topo_info); in apicid_pkg_offset() 130 unsigned nr_dies = topo_info->dies_per_pkg; in x86_topo_ids_from_idx() 131 unsigned nr_cores = topo_info->cores_per_die; in x86_topo_ids_from_idx() 132 unsigned nr_threads = topo_info->threads_per_core; in x86_topo_ids_from_idx() 148 ~(0xFFFFFFFFUL << apicid_smt_width(topo_info)); in x86_topo_ids_from_apicid() 150 (apicid >> apicid_core_offset(topo_info)) & in x86_topo_ids_from_apicid() 153 (apicid >> apicid_die_offset(topo_info)) & in x86_topo_ids_from_apicid() 154 ~(0xFFFFFFFFUL << apicid_die_width(topo_info)); in x86_topo_ids_from_apicid() [all …]
|
H A D | x86.h | 97 void init_topo_info(X86CPUTopoInfo *topo_info, const X86MachineState *x86ms);
|
/dports/emulators/qemu60/qemu-6.0.0/include/hw/i386/ |
H A D | topology.h | 94 return apicid_smt_width(topo_info); in apicid_core_offset() 100 return apicid_core_offset(topo_info) + apicid_core_width(topo_info); in apicid_die_offset() 107 return apicid_die_offset(topo_info) + apicid_die_width(topo_info); in apicid_pkg_offset() 130 unsigned nr_dies = topo_info->dies_per_pkg; in x86_topo_ids_from_idx() 131 unsigned nr_cores = topo_info->cores_per_die; in x86_topo_ids_from_idx() 132 unsigned nr_threads = topo_info->threads_per_core; in x86_topo_ids_from_idx() 148 ~(0xFFFFFFFFUL << apicid_smt_width(topo_info)); in x86_topo_ids_from_apicid() 150 (apicid >> apicid_core_offset(topo_info)) & in x86_topo_ids_from_apicid() 153 (apicid >> apicid_die_offset(topo_info)) & in x86_topo_ids_from_apicid() 154 ~(0xFFFFFFFFUL << apicid_die_width(topo_info)); in x86_topo_ids_from_apicid() [all …]
|
H A D | x86.h | 87 void init_topo_info(X86CPUTopoInfo *topo_info, const X86MachineState *x86ms);
|
/dports/emulators/qemu5/qemu-5.2.0/include/hw/i386/ |
H A D | topology.h | 94 return apicid_smt_width(topo_info); in apicid_core_offset() 100 return apicid_core_offset(topo_info) + apicid_core_width(topo_info); in apicid_die_offset() 107 return apicid_die_offset(topo_info) + apicid_die_width(topo_info); in apicid_pkg_offset() 130 unsigned nr_dies = topo_info->dies_per_pkg; in x86_topo_ids_from_idx() 131 unsigned nr_cores = topo_info->cores_per_die; in x86_topo_ids_from_idx() 132 unsigned nr_threads = topo_info->threads_per_core; in x86_topo_ids_from_idx() 148 ~(0xFFFFFFFFUL << apicid_smt_width(topo_info)); in x86_topo_ids_from_apicid() 150 (apicid >> apicid_core_offset(topo_info)) & in x86_topo_ids_from_apicid() 153 (apicid >> apicid_die_offset(topo_info)) & in x86_topo_ids_from_apicid() 154 ~(0xFFFFFFFFUL << apicid_die_width(topo_info)); in x86_topo_ids_from_apicid() [all …]
|
H A D | x86.h | 82 void init_topo_info(X86CPUTopoInfo *topo_info, const X86MachineState *x86ms);
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/include/hw/i386/ |
H A D | topology.h | 94 return apicid_smt_width(topo_info); 100 return apicid_core_offset(topo_info) + apicid_core_width(topo_info); 107 return apicid_die_offset(topo_info) + apicid_die_width(topo_info); 130 unsigned nr_dies = topo_info->dies_per_pkg; 131 unsigned nr_cores = topo_info->cores_per_die; 132 unsigned nr_threads = topo_info->threads_per_core; 148 ~(0xFFFFFFFFUL << apicid_smt_width(topo_info)); 150 (apicid >> apicid_core_offset(topo_info)) & 153 (apicid >> apicid_die_offset(topo_info)) & 154 ~(0xFFFFFFFFUL << apicid_die_width(topo_info)); [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/include/hw/i386/ |
H A D | topology.h | 95 return apicid_smt_width(topo_info); in apicid_core_offset() 101 return apicid_core_offset(topo_info) + apicid_core_width(topo_info); in apicid_die_offset() 108 return apicid_die_offset(topo_info) + apicid_die_width(topo_info); in apicid_pkg_offset() 131 unsigned nr_dies = topo_info->dies_per_pkg; in x86_topo_ids_from_idx() 132 unsigned nr_cores = topo_info->cores_per_die; in x86_topo_ids_from_idx() 133 unsigned nr_threads = topo_info->threads_per_core; in x86_topo_ids_from_idx() 149 ~(0xFFFFFFFFUL << apicid_smt_width(topo_info)); in x86_topo_ids_from_apicid() 151 (apicid >> apicid_core_offset(topo_info)) & in x86_topo_ids_from_apicid() 154 (apicid >> apicid_die_offset(topo_info)) & in x86_topo_ids_from_apicid() 155 ~(0xFFFFFFFFUL << apicid_die_width(topo_info)); in x86_topo_ids_from_apicid() [all …]
|
H A D | x86.h | 86 void init_topo_info(X86CPUTopoInfo *topo_info, const X86MachineState *x86ms);
|
/dports/sysutils/slurm-wlm/slurm-20.02.7/contribs/perlapi/libslurm/perl/ |
H A D | topo.c | 17 topo_info_to_hv(topo_info_t *topo_info, HV *hv) in topo_info_to_hv() argument 19 STORE_FIELD(hv, topo_info, level, uint16_t); in topo_info_to_hv() 20 STORE_FIELD(hv, topo_info, link_speed, uint32_t); in topo_info_to_hv() 21 if (topo_info->name) in topo_info_to_hv() 22 STORE_FIELD(hv, topo_info, name, charp); in topo_info_to_hv() 23 if (topo_info->nodes) in topo_info_to_hv() 24 STORE_FIELD(hv, topo_info, nodes, charp); in topo_info_to_hv() 25 if (topo_info->switches) in topo_info_to_hv() 26 STORE_FIELD(hv, topo_info, switches, charp); in topo_info_to_hv() 34 hv_to_topo_info(HV *hv, topo_info_t *topo_info) in hv_to_topo_info() argument [all …]
|
H A D | slurm-perl.h | 115 extern int topo_info_to_hv(topo_info_t *topo_info, HV *hv); 116 extern int hv_to_topo_info(HV *hv, topo_info_t *topo_info);
|
/dports/emulators/qemu5/qemu-5.2.0/hw/i386/ |
H A D | x86.c | 67 topo_info->dies_per_pkg = x86ms->smp_dies; in init_topo_info() 68 topo_info->cores_per_die = ms->smp.cores; in init_topo_info() 69 topo_info->threads_per_core = ms->smp.threads; in init_topo_info() 84 X86CPUTopoInfo topo_info; in x86_cpu_apic_id_from_index() local 88 init_topo_info(&topo_info, x86ms); in x86_cpu_apic_id_from_index() 275 X86CPUTopoInfo topo_info; in x86_cpu_pre_plug() local 294 init_topo_info(&topo_info, x86ms); in x86_cpu_pre_plug() 437 X86CPUTopoInfo topo_info; in x86_get_default_cpu_node_id() local 439 init_topo_info(&topo_info, x86ms); in x86_get_default_cpu_node_id() 451 X86CPUTopoInfo topo_info; in x86_possible_cpu_arch_ids() local [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/i386/ |
H A D | x86.c | 60 inline void init_topo_info(X86CPUTopoInfo *topo_info, 66 topo_info->dies_per_pkg = x86ms->smp_dies; 67 topo_info->cores_per_die = ms->smp.cores; 68 topo_info->threads_per_core = ms->smp.threads; 99 X86CPUTopoInfo topo_info; 103 init_topo_info(&topo_info, x86ms); 183 X86CPUTopoInfo topo_info; 185 init_topo_info(&topo_info, x86ms); 188 x86_topo_ids_from_idx(&topo_info, idx, &topo_ids); in vmmouse_ioport_read() 196 X86CPUTopoInfo topo_info; [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/i386/ |
H A D | x86.c | 60 inline void init_topo_info(X86CPUTopoInfo *topo_info, in init_topo_info() argument 66 topo_info->dies_per_pkg = x86ms->smp_dies; in init_topo_info() 67 topo_info->cores_per_die = ms->smp.cores; in init_topo_info() 68 topo_info->threads_per_core = ms->smp.threads; in init_topo_info() 83 X86CPUTopoInfo topo_info; in x86_cpu_apic_id_from_index() local 87 init_topo_info(&topo_info, x86ms); in x86_cpu_apic_id_from_index() 156 X86CPUTopoInfo topo_info; in x86_get_default_cpu_node_id() local 158 init_topo_info(&topo_info, x86ms); in x86_get_default_cpu_node_id() 162 &topo_info, &topo_ids); in x86_get_default_cpu_node_id() 170 X86CPUTopoInfo topo_info; in x86_possible_cpu_arch_ids() local [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/hw/i386/ |
H A D | x86.c | 67 topo_info->dies_per_pkg = x86ms->smp_dies; in init_topo_info() 68 topo_info->cores_per_die = ms->smp.cores; in init_topo_info() 69 topo_info->threads_per_core = ms->smp.threads; in init_topo_info() 84 X86CPUTopoInfo topo_info; in x86_cpu_apic_id_from_index() local 88 init_topo_info(&topo_info, x86ms); in x86_cpu_apic_id_from_index() 275 X86CPUTopoInfo topo_info; in x86_cpu_pre_plug() local 294 init_topo_info(&topo_info, x86ms); in x86_cpu_pre_plug() 437 X86CPUTopoInfo topo_info; in x86_get_default_cpu_node_id() local 439 init_topo_info(&topo_info, x86ms); in x86_get_default_cpu_node_id() 451 X86CPUTopoInfo topo_info; in x86_possible_cpu_arch_ids() local [all …]
|
/dports/emulators/qemu/qemu-6.2.0/hw/i386/ |
H A D | x86.c | 70 topo_info->dies_per_pkg = ms->smp.dies; 71 topo_info->cores_per_die = ms->smp.cores; 72 topo_info->threads_per_core = ms->smp.threads; 87 X86CPUTopoInfo topo_info; in x86_iommu_get_default() 91 init_topo_info(&topo_info, x86ms); in x86_iommu_get_default() 278 X86CPUTopoInfo topo_info; 297 init_topo_info(&topo_info, x86ms); 440 X86CPUTopoInfo topo_info; 442 init_topo_info(&topo_info, x86ms); 454 X86CPUTopoInfo topo_info; [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/i386/ |
H A D | x86.c | 67 topo_info->dies_per_pkg = ms->smp.dies; 68 topo_info->cores_per_die = ms->smp.cores; 69 topo_info->threads_per_core = ms->smp.threads; 84 X86CPUTopoInfo topo_info; 88 init_topo_info(&topo_info, x86ms); 275 X86CPUTopoInfo topo_info; 294 init_topo_info(&topo_info, x86ms); 437 X86CPUTopoInfo topo_info; 439 init_topo_info(&topo_info, x86ms); 451 X86CPUTopoInfo topo_info; [all …]
|