Lines Matching refs:cur_cache
317 x86_cpu_cache_t *cur_cache; in x86_match_cache() local
319 cur_cache = list; in x86_match_cache()
320 while (cur_cache != NULL) { in x86_match_cache()
321 if (cur_cache->maxcpus == matcher->maxcpus in x86_match_cache()
322 && cur_cache->type == matcher->type in x86_match_cache()
323 && cur_cache->level == matcher->level in x86_match_cache()
324 && cur_cache->partitions == matcher->partitions in x86_match_cache()
325 && cur_cache->line_size == matcher->line_size in x86_match_cache()
326 && cur_cache->cache_size == matcher->cache_size) { in x86_match_cache()
330 cur_cache = cur_cache->next; in x86_match_cache()
333 return cur_cache; in x86_match_cache()
594 x86_cpu_cache_t *cur_cache; in x86_cache_add_lcpu() local
600 cur_cache = lcpu->caches[cache->level - 1]; in x86_cache_add_lcpu()
602 cache->next = cur_cache; in x86_cache_add_lcpu()