Home
last modified time | relevance | path

Searched refs:var_ranges (Results 1 – 4 of 4) sorted by relevance

/arch/x86/kernel/cpu/mtrr/
Dgeneric.c159 if (!(mtrr_state.var_ranges[i].mask_lo & (1 << 11))) in __mtrr_type_lookup()
162 base = (((u64)mtrr_state.var_ranges[i].base_hi) << 32) + in __mtrr_type_lookup()
163 (mtrr_state.var_ranges[i].base_lo & PAGE_MASK); in __mtrr_type_lookup()
164 mask = (((u64)mtrr_state.var_ranges[i].mask_hi) << 32) + in __mtrr_type_lookup()
165 (mtrr_state.var_ranges[i].mask_lo & PAGE_MASK); in __mtrr_type_lookup()
201 curr_match = mtrr_state.var_ranges[i].base_lo & 0xff; in __mtrr_type_lookup()
266 vr = mtrr_state.var_ranges; in fill_mtrr_var_range()
367 if (mtrr_state.var_ranges[i].mask_lo & (1 << 11)) in print_mtrr_state()
371 mtrr_state.var_ranges[i].base_hi, in print_mtrr_state()
372 mtrr_state.var_ranges[i].base_lo >> 12, in print_mtrr_state()
[all …]
/arch/x86/include/uapi/asm/
Dmtrr.h84 struct mtrr_var_range var_ranges[MTRR_MAX_VAR_RANGES]; member
/arch/x86/kvm/
Dmmu.c2316 if (!(mtrr_state->var_ranges[i].mask_lo & (1 << 11))) in get_mtrr_type()
2319 base = (((u64)mtrr_state->var_ranges[i].base_hi) << 32) + in get_mtrr_type()
2320 (mtrr_state->var_ranges[i].base_lo & PAGE_MASK); in get_mtrr_type()
2321 mask = (((u64)mtrr_state->var_ranges[i].mask_hi) << 32) + in get_mtrr_type()
2322 (mtrr_state->var_ranges[i].mask_lo & PAGE_MASK); in get_mtrr_type()
2332 curr_match = mtrr_state->var_ranges[i].base_lo & 0xff; in get_mtrr_type()
Dx86.c1828 (u64 *)&vcpu->arch.mtrr_state.var_ranges[idx].base_lo; in set_msr_mtrr()
1831 (u64 *)&vcpu->arch.mtrr_state.var_ranges[idx].mask_lo; in set_msr_mtrr()
2344 (u64 *)&vcpu->arch.mtrr_state.var_ranges[idx].base_lo; in get_msr_mtrr()
2347 (u64 *)&vcpu->arch.mtrr_state.var_ranges[idx].mask_lo; in get_msr_mtrr()