Home
last modified time | relevance | path

Searched refs:nr_msrs (Results 1 – 9 of 9) sorted by relevance

/xen/tools/libxc/
A Dxc_cpuid_x86.c125 *nr_msrs = sysctl.u.cpu_policy.nr_msrs; in xc_get_cpu_policy_size()
152 sysctl.u.cpu_policy.nr_msrs = *nr_msrs; in xc_get_system_cpu_policy()
163 *nr_msrs = sysctl.u.cpu_policy.nr_msrs; in xc_get_system_cpu_policy()
190 domctl.u.cpu_policy.nr_msrs = *nr_msrs; in xc_get_domain_cpu_policy()
201 *nr_msrs = domctl.u.cpu_policy.nr_msrs; in xc_get_domain_cpu_policy()
239 domctl.u.cpu_policy.nr_msrs = nr_msrs; in xc_set_domain_cpu_policy()
288 unsigned int nr_leaves, nr_msrs; in xc_cpuid_xend_policy() local
323 nr_msrs = 0; in xc_cpuid_xend_policy()
334 nr_msrs = 0; in xc_cpuid_xend_policy()
347 nr_msrs = 0; in xc_cpuid_xend_policy()
[all …]
A Dxc_sr_common_x86.c50 uint32_t nr_leaves = 0, nr_msrs = 0; in write_x86_cpu_policy_records() local
53 if ( xc_get_cpu_policy_size(xch, &nr_leaves, &nr_msrs) < 0 ) in write_x86_cpu_policy_records()
60 msrs.data = malloc(nr_msrs * sizeof(xen_msr_entry_t)); in write_x86_cpu_policy_records()
69 &nr_msrs, msrs.data) ) in write_x86_cpu_policy_records()
84 msrs.length = nr_msrs * sizeof(xen_msr_entry_t); in write_x86_cpu_policy_records()
138 uint32_t nr_leaves = 0, nr_msrs = 0; in x86_static_data_complete() local
147 nr_msrs = ctx->x86.restore.msr.size / sizeof(xen_msr_entry_t); in x86_static_data_complete()
151 if ( (nr_leaves || nr_msrs) && in x86_static_data_complete()
154 nr_msrs, ctx->x86.restore.msr.ptr, in x86_static_data_complete()
/xen/tools/misc/
A Dxen-cpuid.c328 xen_msr_entry_t *msrs, uint32_t nr_msrs) in print_policy() argument
332 printf("%s policy: %u leaves, %u MSRs\n", name, nr_leaves, nr_msrs); in print_policy()
349 for ( l = 0; l < nr_msrs; ++l ) in print_policy()
482 uint32_t nr_msrs = max_msrs; in main() local
485 &nr_msrs, msrs) ) in main()
487 domid, nr_leaves, nr_msrs); in main()
490 print_policy(name, leaves, nr_leaves, msrs, nr_msrs); in main()
498 uint32_t nr_msrs = max_msrs; in main() local
501 &nr_msrs, msrs) ) in main()
514 msrs, nr_msrs); in main()
/xen/tools/tests/cpu-policy/
A Dtest-cpu-policy.c237 unsigned int nr_msrs; in test_msr_serialise_success() member
241 .nr_msrs = MSR_MAX_SERIALISED_ENTRIES, in test_msr_serialise_success()
250 unsigned int nr = t->nr_msrs; in test_msr_serialise_success()
266 if ( nr != t->nr_msrs ) in test_msr_serialise_success()
269 t->name, t->nr_msrs, nr); in test_msr_serialise_success()
/xen/xen/arch/x86/
A Dsysctl.c460 sysctl->u.cpu_policy.nr_msrs = MSR_MAX_SERIALISED_ENTRIES; in arch_do_sysctl()
464 &sysctl->u.cpu_policy.nr_msrs)) ) in arch_do_sysctl()
468 u.cpu_policy.nr_msrs) ) in arch_do_sysctl()
A Ddomctl.c239 new.msr, xdpc->msr_policy, xdpc->nr_msrs, &err.msr)) ) in update_domain_cpu_policy()
1227 uint32_t nr_msrs = ARRAY_SIZE(msrs_to_send); in arch_do_domctl() local
1241 nr_msrs += 4; in arch_do_domctl()
1249 vmsrs->msr_count = nr_msrs; in arch_do_domctl()
1302 if ( vmsrs->msr_count > nr_msrs ) in arch_do_domctl()
1464 domctl->u.cpu_policy.nr_msrs = MSR_MAX_SERIALISED_ENTRIES; in arch_do_domctl()
1468 &domctl->u.cpu_policy.nr_msrs)) ) in arch_do_domctl()
/xen/tools/libxc/include/
A Dxenctrl.h2527 uint32_t *nr_msrs);
2530 uint32_t *nr_msrs, xen_msr_entry_t *msrs);
2533 uint32_t *nr_msrs, xen_msr_entry_t *msrs);
2536 uint32_t nr_msrs, xen_msr_entry_t *msrs,
/xen/xen/include/public/
A Dsysctl.h1054 uint32_t nr_msrs; /* IN/OUT: Number of MSRs in/written to member
A Ddomctl.h678 uint32_t nr_msrs; /* IN/OUT: Number of MSRs in/written to member

Completed in 24 milliseconds