Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/cpu/mtrr/
Dgeneric.c116 u8 prev_match, curr_match; in __mtrr_type_lookup() local
201 curr_match = mtrr_state.var_ranges[i].base_lo & 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()
208 return curr_match; in __mtrr_type_lookup()
/linux-4.1.27/arch/x86/kvm/
Dmmu.c2375 u8 prev_match, curr_match; in get_mtrr_type() local
2431 curr_match = mtrr_state->var_ranges[i].base_lo & 0xff; in get_mtrr_type()
2433 prev_match = curr_match; in get_mtrr_type()
2438 curr_match == MTRR_TYPE_UNCACHABLE) in get_mtrr_type()
2442 curr_match == MTRR_TYPE_WRTHROUGH) || in get_mtrr_type()
2444 curr_match == MTRR_TYPE_WRBACK)) { in get_mtrr_type()
2446 curr_match = MTRR_TYPE_WRTHROUGH; in get_mtrr_type()
2449 if (prev_match != curr_match) in get_mtrr_type()