Searched refs:mtrr_state (Results 1 – 4 of 4) sorted by relevance
89 struct mtrr_state_type mtrr_state; variable90 EXPORT_SYMBOL_GPL(mtrr_state);137 struct mtrr_var_range *mtrr = mtrr_state.var_ranges + reg; in get_var_mtrr_state()356 if (mtrr_state.enabled & MTRR_STATE_MTRR_FIXED_ENABLED) { in mtrr_build_map()363 type = mtrr_state.fixed_ranges[0]; in mtrr_build_map()370 if (mtrr_state.fixed_ranges[i] != type) { in mtrr_build_map()373 type = mtrr_state.fixed_ranges[i]; in mtrr_build_map()405 if (!mtrr_state.enabled || !new_size) { in mtrr_copy_map()418 mtrr_state.enabled = 0; in mtrr_copy_map()475 mtrr_state.var_ranges[i] = var[i]; in mtrr_overwrite_state()[all …]
62 extern struct mtrr_state_type mtrr_state;
567 if (!generic_mtrrs && mtrr_state.enabled) { in mtrr_bp_init()618 if (!mtrr_enabled() || !mtrr_state.have_fixed) in mtrr_save_state()
95 if (base < (1<<(20-PAGE_SHIFT)) && mtrr_state.have_fixed && in x86_get_mtrr_mem_range()96 (mtrr_state.enabled & MTRR_STATE_MTRR_ENABLED) && in x86_get_mtrr_mem_range()97 (mtrr_state.enabled & MTRR_STATE_MTRR_FIXED_ENABLED)) { in x86_get_mtrr_mem_range()