Home
last modified time | relevance | path

Searched refs:msr_filter (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c1559 struct kvm_x86_msr_filter *msr_filter; in kvm_msr_allowed() local
1572 msr_filter = srcu_dereference(kvm->arch.msr_filter, &kvm->srcu); in kvm_msr_allowed()
1573 if (!msr_filter) { in kvm_msr_allowed()
1578 allowed = msr_filter->default_allow; in kvm_msr_allowed()
1579 ranges = msr_filter->ranges; in kvm_msr_allowed()
1581 for (i = 0; i < msr_filter->count; i++) { in kvm_msr_allowed()
5394 struct kvm_x86_msr_filter *msr_filter; in kvm_alloc_msr_filter() local
5396 msr_filter = kzalloc(sizeof(*msr_filter), GFP_KERNEL_ACCOUNT); in kvm_alloc_msr_filter()
5397 if (!msr_filter) in kvm_alloc_msr_filter()
5400 msr_filter->default_allow = default_allow; in kvm_alloc_msr_filter()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h1001 struct kvm_x86_msr_filter __rcu *msr_filter; member