Home
last modified time | relevance | path

Searched refs:msr_policy (Results 1 – 13 of 13) sorted by relevance

/xen/xen/arch/x86/
A Dmsr.c36 struct msr_policy __read_mostly raw_msr_policy,
39 struct msr_policy __read_mostly pv_max_msr_policy;
40 struct msr_policy __read_mostly pv_def_msr_policy;
55 struct msr_policy *mp = &host_msr_policy; in calculate_host_policy()
66 struct msr_policy *mp = &pv_max_msr_policy; in calculate_pv_max_policy()
73 struct msr_policy *mp = &pv_def_msr_policy; in calculate_pv_def_policy()
80 struct msr_policy *mp = &hvm_max_msr_policy; in calculate_hvm_max_policy()
90 struct msr_policy *mp = &hvm_def_msr_policy; in calculate_hvm_def_policy()
115 struct msr_policy *mp = is_pv_domain(d) in init_domain_msr_policy()
171 const struct msr_policy *mp = d->arch.msr; in guest_rdmsr()
[all …]
A Dsysctl.c459 if ( guest_handle_is_null(sysctl->u.cpu_policy.msr_policy) ) in arch_do_sysctl()
463 sysctl->u.cpu_policy.msr_policy, in arch_do_sysctl()
A Ddomctl.c239 new.msr, xdpc->msr_policy, xdpc->nr_msrs, &err.msr)) ) in update_domain_cpu_policy()
1463 if ( guest_handle_is_null(domctl->u.cpu_policy.msr_policy) ) in arch_do_domctl()
1467 domctl->u.cpu_policy.msr_policy, in arch_do_domctl()
/xen/xen/include/xen/lib/x86/
A Dmsr.h9 struct msr_policy struct
70 int x86_msr_copy_to_buffer(const struct msr_policy *policy,
90 int x86_msr_copy_from_buffer(struct msr_policy *policy,
A Dcpu-policy.h11 struct msr_policy *msr;
/xen/tools/fuzz/cpu-policy/
A Dafl-policy-fuzzer.c80 static void check_msr(struct msr_policy *mp) in check_msr()
82 struct msr_policy new = {}; in check_msr()
149 struct msr_policy *mp = NULL; in main()
/xen/xen/lib/x86/
A Dmsr.c26 int x86_msr_copy_to_buffer(const struct msr_policy *p, in x86_msr_copy_to_buffer()
51 int x86_msr_copy_from_buffer(struct msr_policy *p, in x86_msr_copy_from_buffer()
/xen/tools/tests/cpu-policy/
A Dtest-cpu-policy.c235 struct msr_policy p; in test_msr_serialise_success()
562 struct msr_policy host_msr; in test_is_compatible_success()
563 struct msr_policy guest_msr; in test_is_compatible_success()
612 struct msr_policy host_msr; in test_is_compatible_failure()
613 struct msr_policy guest_msr; in test_is_compatible_failure()
/xen/tools/libxc/
A Dxc_cpuid_x86.c153 set_xen_guest_handle(sysctl.u.cpu_policy.msr_policy, msrs); in xc_get_system_cpu_policy()
191 set_xen_guest_handle(domctl.u.cpu_policy.msr_policy, msrs); in xc_get_domain_cpu_policy()
240 set_xen_guest_handle(domctl.u.cpu_policy.msr_policy, msrs); in xc_set_domain_cpu_policy()
/xen/xen/include/asm-x86/
A Dmsr.h270 extern struct msr_policy raw_msr_policy,
A Ddomain.h371 struct msr_policy *msr;
/xen/xen/include/public/
A Dsysctl.h1059 XEN_GUEST_HANDLE_64(xen_msr_entry_t) msr_policy; /* OUT */
A Ddomctl.h681 XEN_GUEST_HANDLE_64(xen_msr_entry_t) msr_policy; /* IN/OUT */

Completed in 27 milliseconds