Home
last modified time | relevance | path

Searched refs:cachep (Results 1 – 3 of 3) sorted by relevance

/xnu-8020.101.4/osfmk/i386/
H A Dcpu_topology.c306 x86_cpu_cache_t *cachep; in ml_cpu_cache_size() local
311 cachep = current_cpu_datap()->lcpu.caches[level - 1]; in ml_cpu_cache_size()
312 return cachep ? cachep->cache_size : 0; in ml_cpu_cache_size()
321 x86_cpu_cache_t *cachep; in ml_cpu_cache_sharing() local
326 cachep = current_cpu_datap()->lcpu.caches[level - 1]; in ml_cpu_cache_sharing()
327 return cachep ? cachep->nlcpus : 0; in ml_cpu_cache_sharing()
H A Dcpu_threads.c123 struct cpu_cache *cachep; in x86_LLC_info() local
128 for (i = 0, cachep = &cpu_caches[0]; i < LCACHE_MAX; i++, cachep++) { in x86_LLC_info()
129 if (cachep->type == 0 || cpuid_info()->cache_size[i] == 0) { in x86_LLC_info()
137 if (cachep->level > cache_level) { in x86_LLC_info()
138 cache_level = cachep->level; in x86_LLC_info()
279 struct cpu_cache *cachep; in x86_cache_list() local
286 for (i = 0, cachep = &cpu_caches[0]; i < LCACHE_MAX; i++, cachep++) { in x86_cache_list()
287 if (cachep->type == 0 || cpuid_info()->cache_size[i] == 0) { in x86_cache_list()
296 cur->type = cachep->type; in x86_cache_list()
297 cur->level = cachep->level; in x86_cache_list()
/xnu-8020.101.4/bsd/skywalk/mem/
H A Dskmem_arena.c185 struct skmem_cache **cachep; in skmem_arena_sd_setup() local
197 cachep = &arn->arn_txaksd_cache; in skmem_arena_sd_setup()
201 cachep = &arn->arn_rxfksd_cache; in skmem_arena_sd_setup()
224 *cachep = skmem_cache_create(cname, in skmem_arena_sd_setup()
227 if (*cachep == NULL) { in skmem_arena_sd_setup()
260 struct skmem_cache **cachep; in skmem_arena_sd_teardown() local
264 cachep = &arn->arn_txaksd_cache; in skmem_arena_sd_teardown()
268 cachep = &arn->arn_rxfksd_cache; in skmem_arena_sd_teardown()
272 if (*cachep != NULL) { in skmem_arena_sd_teardown()
273 skmem_cache_destroy(*cachep); in skmem_arena_sd_teardown()
[all …]