mtrr_state 38 arch/x86/kernel/cpu/mtrr/generic.c static struct mtrr_state mtrr_state = {}; mtrr_state 63 arch/x86/kernel/cpu/mtrr/generic.c if (!mtrr_state.enabled) mtrr_state 70 arch/x86/kernel/cpu/mtrr/generic.c if (mtrr_state.have_fixed && (start < 0x100000)) { mtrr_state 76 arch/x86/kernel/cpu/mtrr/generic.c return mtrr_state.fixed_ranges[idx]; mtrr_state 80 arch/x86/kernel/cpu/mtrr/generic.c return mtrr_state.fixed_ranges[idx]; mtrr_state 84 arch/x86/kernel/cpu/mtrr/generic.c return mtrr_state.fixed_ranges[idx]; mtrr_state 93 arch/x86/kernel/cpu/mtrr/generic.c if (!(mtrr_state.enabled & 2)) { mtrr_state 94 arch/x86/kernel/cpu/mtrr/generic.c return mtrr_state.def_type; mtrr_state 101 arch/x86/kernel/cpu/mtrr/generic.c if (!(mtrr_state.var_ranges[i].mask_lo & (1 << 11))) mtrr_state 104 arch/x86/kernel/cpu/mtrr/generic.c base = (((u64)mtrr_state.var_ranges[i].base_hi) << 32) + mtrr_state 105 arch/x86/kernel/cpu/mtrr/generic.c (mtrr_state.var_ranges[i].base_lo & PAGE_MASK); mtrr_state 106 arch/x86/kernel/cpu/mtrr/generic.c mask = (((u64)mtrr_state.var_ranges[i].mask_hi) << 32) + mtrr_state 107 arch/x86/kernel/cpu/mtrr/generic.c (mtrr_state.var_ranges[i].mask_lo & PAGE_MASK); mtrr_state 118 arch/x86/kernel/cpu/mtrr/generic.c curr_match = mtrr_state.var_ranges[i].base_lo & 0xff; mtrr_state 150 arch/x86/kernel/cpu/mtrr/generic.c return mtrr_state.def_type; mtrr_state 167 arch/x86/kernel/cpu/mtrr/generic.c vr = mtrr_state.var_ranges; mtrr_state 192 arch/x86/kernel/cpu/mtrr/generic.c get_fixed_ranges(mtrr_state.fixed_ranges); mtrr_state 215 arch/x86/kernel/cpu/mtrr/generic.c vrs = mtrr_state.var_ranges; mtrr_state 218 arch/x86/kernel/cpu/mtrr/generic.c mtrr_state.have_fixed = (lo >> 8) & 1; mtrr_state 222 arch/x86/kernel/cpu/mtrr/generic.c if (mtrr_state.have_fixed) mtrr_state 223 arch/x86/kernel/cpu/mtrr/generic.c get_fixed_ranges(mtrr_state.fixed_ranges); mtrr_state 226 arch/x86/kernel/cpu/mtrr/generic.c mtrr_state.def_type = (lo & 0xff); mtrr_state 227 arch/x86/kernel/cpu/mtrr/generic.c mtrr_state.enabled = (lo & 0xc00) >> 10; mtrr_state 241 arch/x86/kernel/cpu/mtrr/generic.c printk(KERN_INFO "MTRR default type: %s\n", mtrr_attrib_to_str(mtrr_state.def_type)); mtrr_state 242 arch/x86/kernel/cpu/mtrr/generic.c if (mtrr_state.have_fixed) { mtrr_state 244 arch/x86/kernel/cpu/mtrr/generic.c mtrr_state.enabled & 1 ? "en" : "dis"); mtrr_state 245 arch/x86/kernel/cpu/mtrr/generic.c print_fixed(0x00000, 0x10000, mtrr_state.fixed_ranges + 0); mtrr_state 247 arch/x86/kernel/cpu/mtrr/generic.c print_fixed(0x80000 + i * 0x20000, 0x04000, mtrr_state.fixed_ranges + (i + 1) * 8); mtrr_state 249 arch/x86/kernel/cpu/mtrr/generic.c print_fixed(0xC0000 + i * 0x08000, 0x01000, mtrr_state.fixed_ranges + (i + 3) * 8); mtrr_state 252 arch/x86/kernel/cpu/mtrr/generic.c mtrr_state.enabled & 2 ? "en" : "dis"); mtrr_state 255 arch/x86/kernel/cpu/mtrr/generic.c if (mtrr_state.var_ranges[i].mask_lo & (1 << 11)) mtrr_state 259 arch/x86/kernel/cpu/mtrr/generic.c mtrr_state.var_ranges[i].base_hi, mtrr_state 260 arch/x86/kernel/cpu/mtrr/generic.c mtrr_state.var_ranges[i].base_lo >> 12, mtrr_state 262 arch/x86/kernel/cpu/mtrr/generic.c mtrr_state.var_ranges[i].mask_hi, mtrr_state 263 arch/x86/kernel/cpu/mtrr/generic.c mtrr_state.var_ranges[i].mask_lo >> 12, mtrr_state 264 arch/x86/kernel/cpu/mtrr/generic.c mtrr_attrib_to_str(mtrr_state.var_ranges[i].base_lo & 0xff)); mtrr_state 474 arch/x86/kernel/cpu/mtrr/generic.c if (set_mtrr_var_ranges(i, &mtrr_state.var_ranges[i])) mtrr_state 477 arch/x86/kernel/cpu/mtrr/generic.c if (mtrr_state.have_fixed && set_fixed_ranges(mtrr_state.fixed_ranges)) mtrr_state 482 arch/x86/kernel/cpu/mtrr/generic.c if ((deftype_lo & 0xff) != mtrr_state.def_type mtrr_state 483 arch/x86/kernel/cpu/mtrr/generic.c || ((deftype_lo & 0xc00) >> 10) != mtrr_state.enabled) { mtrr_state 484 arch/x86/kernel/cpu/mtrr/generic.c deftype_lo = (deftype_lo & ~0xcff) | mtrr_state.def_type | (mtrr_state.enabled << 10); mtrr_state 589 arch/x86/kernel/cpu/mtrr/generic.c vr = &mtrr_state.var_ranges[reg]; mtrr_state 577 arch/x86/kernel/cpu/mtrr/main.c static struct mtrr_value mtrr_state[MAX_VAR_RANGES]; mtrr_state 585 arch/x86/kernel/cpu/mtrr/main.c &mtrr_state[i].lbase, mtrr_state 586 arch/x86/kernel/cpu/mtrr/main.c &mtrr_state[i].lsize, mtrr_state 587 arch/x86/kernel/cpu/mtrr/main.c &mtrr_state[i].ltype); mtrr_state 597 arch/x86/kernel/cpu/mtrr/main.c if (mtrr_state[i].lsize) mtrr_state 599 arch/x86/kernel/cpu/mtrr/main.c mtrr_state[i].lbase, mtrr_state 600 arch/x86/kernel/cpu/mtrr/main.c mtrr_state[i].lsize, mtrr_state 601 arch/x86/kernel/cpu/mtrr/main.c mtrr_state[i].ltype);