Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/mtrr/
Dgeneric.c54 u8 prev_match, curr_match; in mtrr_type_lookup() local
93 prev_match = 0xFF; in mtrr_type_lookup()
115 if (prev_match == 0xFF) { in mtrr_type_lookup()
116 prev_match = curr_match; in mtrr_type_lookup()
120 if (prev_match == MTRR_TYPE_UNCACHABLE || in mtrr_type_lookup()
125 if ((prev_match == MTRR_TYPE_WRBACK && in mtrr_type_lookup()
127 (prev_match == MTRR_TYPE_WRTHROUGH && in mtrr_type_lookup()
129 prev_match = MTRR_TYPE_WRTHROUGH; in mtrr_type_lookup()
133 if (prev_match != curr_match) { in mtrr_type_lookup()
143 if (prev_match != 0xFF) in mtrr_type_lookup()
[all …]
/arch/x86/kvm/
Dmmu.c1519 u8 prev_match, curr_match; in get_mtrr_type() local
1555 prev_match = 0xFF; in get_mtrr_type()
1576 if (prev_match == 0xFF) { in get_mtrr_type()
1577 prev_match = curr_match; in get_mtrr_type()
1581 if (prev_match == MTRR_TYPE_UNCACHABLE || in get_mtrr_type()
1585 if ((prev_match == MTRR_TYPE_WRBACK && in get_mtrr_type()
1587 (prev_match == MTRR_TYPE_WRTHROUGH && in get_mtrr_type()
1589 prev_match = MTRR_TYPE_WRTHROUGH; in get_mtrr_type()
1593 if (prev_match != curr_match) in get_mtrr_type()
1597 if (prev_match != 0xFF) in get_mtrr_type()
[all …]