Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/mtrr/
Dgeneric.c116 u8 prev_match, curr_match; in __mtrr_type_lookup() local
155 prev_match = 0xFF; in __mtrr_type_lookup()
202 if (prev_match == 0xFF) { in __mtrr_type_lookup()
203 prev_match = curr_match; in __mtrr_type_lookup()
207 if (check_type_overlap(&prev_match, &curr_match)) in __mtrr_type_lookup()
216 if (prev_match != 0xFF) in __mtrr_type_lookup()
217 return prev_match; in __mtrr_type_lookup()
/arch/x86/kvm/
Dmmu.c2050 u8 prev_match, curr_match; in get_mtrr_type() local
2086 prev_match = 0xFF; in get_mtrr_type()
2107 if (prev_match == 0xFF) { in get_mtrr_type()
2108 prev_match = curr_match; in get_mtrr_type()
2112 if (prev_match == MTRR_TYPE_UNCACHABLE || in get_mtrr_type()
2116 if ((prev_match == MTRR_TYPE_WRBACK && in get_mtrr_type()
2118 (prev_match == MTRR_TYPE_WRTHROUGH && in get_mtrr_type()
2120 prev_match = MTRR_TYPE_WRTHROUGH; in get_mtrr_type()
2124 if (prev_match != curr_match) in get_mtrr_type()
2128 if (prev_match != 0xFF) in get_mtrr_type()
[all …]