Lines Matching refs:cache_map_n
82 static unsigned int cache_map_n; variable
166 cache_map_n--; in rm_map_entry_at()
167 if (cache_map_n > idx) { in rm_map_entry_at()
169 sizeof(*cache_map) * (cache_map_n - idx)); in rm_map_entry_at()
197 if (idx < cache_map_n) { in add_map_entry_at()
219 if (cache_map_n == cache_map_size) { in add_map_entry_at()
221 cache_map_n = cache_map_fixed; in add_map_entry_at()
225 if (cache_map_n > idx) { in add_map_entry_at()
227 sizeof(*cache_map) * (cache_map_n - idx)); in add_map_entry_at()
234 cache_map_n++; in add_map_entry_at()
271 for (i = 0; i < cache_map_n && start < end; i++) { in add_map_entry()
317 cache_map[cache_map_n - 1].fixed = 1; in map_add_var()
338 cache_map_n = cache_map_fixed; in generic_rebuild_map()
381 for (i = 0; i < cache_map_n; i++) in mtrr_build_map()
383 cache_map_fixed = cache_map_n; in mtrr_build_map()
388 cache_map_n, cache_map_fixed, cache_map_n - cache_map_fixed, in mtrr_build_map()
392 for (i = 0; i < cache_map_n; i++) { in mtrr_build_map()
415 cache_map_n * sizeof(*cache_map)); in mtrr_copy_map()
528 for (i = 0; i < cache_map_n && start < end; i++) { in mtrr_type_lookup()