Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/cpu/mtrr/
Dcleanup.c477 struct var_mtrr_state var_state; in x86_setup_var_mtrrs() local
481 var_state.range_startk = 0; in x86_setup_var_mtrrs()
482 var_state.range_sizek = 0; in x86_setup_var_mtrrs()
483 var_state.reg = 0; in x86_setup_var_mtrrs()
484 var_state.chunk_sizek = chunk_size >> 10; in x86_setup_var_mtrrs()
485 var_state.gran_sizek = gran_size >> 10; in x86_setup_var_mtrrs()
491 set_var_mtrr_range(&var_state, range[i].start, in x86_setup_var_mtrrs()
496 if (var_state.range_sizek != 0) in x86_setup_var_mtrrs()
497 range_to_mtrr_with_hole(&var_state, 0, 0); in x86_setup_var_mtrrs()
499 num_reg = var_state.reg; in x86_setup_var_mtrrs()
[all …]