Searched refs:topo (Results 1 – 4 of 4) sorted by relevance
/xen/xen/lib/x86/ |
A D | cpuid.c | 131 for ( i = 0; i < ARRAY_SIZE(p->topo.raw); ++i ) in x86_cpuid_policy_fill_native() 138 p->topo.subleaf[i] = u.t; in x86_cpuid_policy_fill_native() 146 if ( i == ARRAY_SIZE(p->topo.raw) && in x86_cpuid_policy_fill_native() 211 memset(p->topo.raw, 0, sizeof(p->topo.raw)); in x86_cpuid_policy_clear_out_of_range_leaves() 214 for ( i = 0; (i < ARRAY_SIZE(p->topo.raw) && in x86_cpuid_policy_clear_out_of_range_leaves() 215 p->topo.subleaf[i].type); ++i ) in x86_cpuid_policy_clear_out_of_range_leaves() 218 zero_leaves(p->topo.raw, i, ARRAY_SIZE(p->topo.raw) - 1); in x86_cpuid_policy_clear_out_of_range_leaves() 335 COPY_LEAF(leaf, subleaf, &p->topo.raw[subleaf]); in x86_cpuid_copy_to_buffer() 337 if ( p->topo.subleaf[subleaf].type == 0 ) in x86_cpuid_copy_to_buffer() 435 if ( data.subleaf >= ARRAY_SIZE(p->topo.raw) ) in x86_cpuid_copy_from_buffer() [all …]
|
/xen/tools/tests/cpu-policy/ |
A D | test-cpu-policy.c | 166 .topo.subleaf[0].type = 1, in test_cpuid_serialise_success() 429 .topo.raw[0].a = 0xc2, in test_cpuid_out_of_range_clearing() 444 .topo.raw[0].a = 0xc2, in test_cpuid_out_of_range_clearing() 458 .topo.raw[0].a = 0xc2, in test_cpuid_out_of_range_clearing() 469 .topo.raw[0] = { .b = 0xc2, .c = 0x0100 }, in test_cpuid_out_of_range_clearing() 471 .topo.raw[1].b = 0xc2, in test_cpuid_out_of_range_clearing()
|
/xen/xen/arch/x86/ |
A D | cpuid.c | 240 memset(p->topo.raw, 0, sizeof(p->topo.raw)); in recalculate_misc() 779 if ( subleaf >= ARRAY_SIZE(p->topo.raw) ) in guest_cpuid() 782 *res = array_access_nospec(p->topo.raw, subleaf); in guest_cpuid()
|
/xen/xen/include/xen/lib/x86/ |
A D | cpuid.h | 202 } topo; member
|
Completed in 9 milliseconds