Searched refs:cachep (Results 1 – 3 of 3) sorted by relevance
304 x86_cpu_cache_t *cachep; in ml_cpu_cache_size() local309 cachep = current_cpu_datap()->lcpu.caches[level - 1]; in ml_cpu_cache_size()310 return cachep ? cachep->cache_size : 0; in ml_cpu_cache_size()319 x86_cpu_cache_t *cachep; in ml_cpu_cache_sharing() local324 cachep = current_cpu_datap()->lcpu.caches[level - 1]; in ml_cpu_cache_sharing()325 return cachep ? cachep->nlcpus : 0; in ml_cpu_cache_sharing()
120 struct cpu_cache *cachep; in x86_LLC_info() local125 for (i = 0, cachep = &cpu_caches[0]; i < LCACHE_MAX; i++, cachep++) { in x86_LLC_info()126 if (cachep->type == 0 || cpuid_info()->cache_size[i] == 0) { in x86_LLC_info()134 if (cachep->level > cache_level) { in x86_LLC_info()135 cache_level = cachep->level; in x86_LLC_info()276 struct cpu_cache *cachep; in x86_cache_list() local283 for (i = 0, cachep = &cpu_caches[0]; i < LCACHE_MAX; i++, cachep++) { in x86_cache_list()284 if (cachep->type == 0 || cpuid_info()->cache_size[i] == 0) { in x86_cache_list()293 cur->type = cachep->type; in x86_cache_list()294 cur->level = cachep->level; in x86_cache_list()
162 struct skmem_cache **cachep; in skmem_arena_sd_setup() local174 cachep = &arn->arn_txaksd_cache; in skmem_arena_sd_setup()178 cachep = &arn->arn_rxfksd_cache; in skmem_arena_sd_setup()201 *cachep = skmem_cache_create(cname, in skmem_arena_sd_setup()204 if (*cachep == NULL) { in skmem_arena_sd_setup()237 struct skmem_cache **cachep; in skmem_arena_sd_teardown() local241 cachep = &arn->arn_txaksd_cache; in skmem_arena_sd_teardown()245 cachep = &arn->arn_rxfksd_cache; in skmem_arena_sd_teardown()249 if (*cachep != NULL) { in skmem_arena_sd_teardown()250 skmem_cache_destroy(*cachep); in skmem_arena_sd_teardown()[all …]