mtrr_seg 214 arch/x86/kvm/mtrr.c struct fixed_mtrr_segment *mtrr_seg = &fixed_seg_table[seg]; mtrr_seg 217 arch/x86/kvm/mtrr.c *start = mtrr_seg->start + unit * unit_size; mtrr_seg 219 arch/x86/kvm/mtrr.c WARN_ON(*end > mtrr_seg->end); mtrr_seg 224 arch/x86/kvm/mtrr.c struct fixed_mtrr_segment *mtrr_seg = &fixed_seg_table[seg]; mtrr_seg 226 arch/x86/kvm/mtrr.c WARN_ON(mtrr_seg->start + unit * fixed_mtrr_seg_unit_size(seg) mtrr_seg 227 arch/x86/kvm/mtrr.c > mtrr_seg->end); mtrr_seg 230 arch/x86/kvm/mtrr.c return mtrr_seg->range_start + 8 * unit; mtrr_seg 235 arch/x86/kvm/mtrr.c struct fixed_mtrr_segment *mtrr_seg = &fixed_seg_table[seg]; mtrr_seg 238 arch/x86/kvm/mtrr.c n = (mtrr_seg->end - mtrr_seg->start) >> mtrr_seg->range_shift; mtrr_seg 239 arch/x86/kvm/mtrr.c return mtrr_seg->range_start + n - 1; mtrr_seg 265 arch/x86/kvm/mtrr.c struct fixed_mtrr_segment *mtrr_seg; mtrr_seg 269 arch/x86/kvm/mtrr.c mtrr_seg = &fixed_seg_table[seg]; mtrr_seg 270 arch/x86/kvm/mtrr.c if (mtrr_seg->start <= addr && addr < mtrr_seg->end) mtrr_seg 279 arch/x86/kvm/mtrr.c struct fixed_mtrr_segment *mtrr_seg; mtrr_seg 282 arch/x86/kvm/mtrr.c mtrr_seg = &fixed_seg_table[seg]; mtrr_seg 283 arch/x86/kvm/mtrr.c index = mtrr_seg->range_start; mtrr_seg 284 arch/x86/kvm/mtrr.c index += (addr - mtrr_seg->start) >> mtrr_seg->range_shift; mtrr_seg 290 arch/x86/kvm/mtrr.c struct fixed_mtrr_segment *mtrr_seg = &fixed_seg_table[seg]; mtrr_seg 291 arch/x86/kvm/mtrr.c int pos = index - mtrr_seg->range_start; mtrr_seg 293 arch/x86/kvm/mtrr.c return mtrr_seg->start + ((pos + 1) << mtrr_seg->range_shift);