Searched refs:mtrr_state (Results 1 - 6 of 6) sorted by relevance

/linux-master/arch/x86/kvm/
H A Dmtrr.c39 return &vcpu->arch.mtrr_state.var_ranges[index];
104 static bool mtrr_is_enabled(struct kvm_mtrr *mtrr_state) argument
106 return !!(mtrr_state->deftype & IA32_MTRR_DEF_TYPE_E);
109 static bool fixed_mtrr_is_enabled(struct kvm_mtrr *mtrr_state) argument
111 return !!(mtrr_state->deftype & IA32_MTRR_DEF_TYPE_FE);
114 static u8 mtrr_default_type(struct kvm_mtrr *mtrr_state) argument
116 return mtrr_state->deftype & IA32_MTRR_DEF_TYPE_TYPE_MASK;
320 struct kvm_mtrr *mtrr_state = &vcpu->arch.mtrr_state; local
326 if (!mtrr_is_enabled(mtrr_state)
351 struct kvm_mtrr *mtrr_state = &vcpu->arch.mtrr_state; local
441 struct kvm_mtrr *mtrr_state; member in struct:mtrr_iter
515 struct kvm_mtrr *mtrr_state = iter->mtrr_state; local
527 struct kvm_mtrr *mtrr_state = iter->mtrr_state; local
573 mtrr_lookup_init(struct mtrr_iter *iter, struct kvm_mtrr *mtrr_state, u64 start, u64 end) argument
616 struct kvm_mtrr *mtrr_state = &vcpu->arch.mtrr_state; local
693 struct kvm_mtrr *mtrr_state = &vcpu->arch.mtrr_state; local
[all...]
/linux-master/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c89 struct mtrr_state_type mtrr_state; variable in typeref:struct:mtrr_state_type
90 EXPORT_SYMBOL_GPL(mtrr_state); variable
137 struct mtrr_var_range *mtrr = mtrr_state.var_ranges + reg;
356 if (mtrr_state.enabled & MTRR_STATE_MTRR_FIXED_ENABLED) {
363 type = mtrr_state.fixed_ranges[0];
370 if (mtrr_state.fixed_ranges[i] != type) {
373 type = mtrr_state.fixed_ranges[i];
405 if (!mtrr_state.enabled || !new_size) {
418 mtrr_state.enabled = 0;
475 mtrr_state
[all...]
H A Dmtrr.h62 extern struct mtrr_state_type mtrr_state;
H A Dmtrr.c561 if (!generic_mtrrs && mtrr_state.enabled) {
H A Dcleanup.c95 if (base < (1<<(20-PAGE_SHIFT)) && mtrr_state.have_fixed &&
96 (mtrr_state.enabled & MTRR_STATE_MTRR_ENABLED) &&
97 (mtrr_state.enabled & MTRR_STATE_MTRR_FIXED_ENABLED)) {
/linux-master/arch/x86/include/asm/
H A Dkvm_host.h928 struct kvm_mtrr mtrr_state; member in struct:kvm_vcpu_arch

Completed in 297 milliseconds