Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/kernel/cpu/mtrr/
Dcleanup.c463 struct var_mtrr_state var_state; in x86_setup_var_mtrrs() local
467 var_state.range_startk = 0; in x86_setup_var_mtrrs()
468 var_state.range_sizek = 0; in x86_setup_var_mtrrs()
469 var_state.reg = 0; in x86_setup_var_mtrrs()
470 var_state.chunk_sizek = chunk_size >> 10; in x86_setup_var_mtrrs()
471 var_state.gran_sizek = gran_size >> 10; in x86_setup_var_mtrrs()
477 set_var_mtrr_range(&var_state, range[i].start, in x86_setup_var_mtrrs()
482 if (var_state.range_sizek != 0) in x86_setup_var_mtrrs()
483 range_to_mtrr_with_hole(&var_state, 0, 0); in x86_setup_var_mtrrs()
485 num_reg = var_state.reg; in x86_setup_var_mtrrs()
[all …]