Lines Matching refs:cpu_cache
394 return this_cpu_ptr(cachep->cpu_cache); in cpu_cache_get()
958 nc = per_cpu_ptr(cachep->cpu_cache, cpu); in cpuup_canceled()
1725 struct array_cache __percpu *cpu_cache; in alloc_kmem_cache_cpus() local
1728 cpu_cache = __alloc_percpu(size, sizeof(void *)); in alloc_kmem_cache_cpus()
1730 if (!cpu_cache) in alloc_kmem_cache_cpus()
1734 init_arraycache(per_cpu_ptr(cpu_cache, cpu), in alloc_kmem_cache_cpus()
1738 return cpu_cache; in alloc_kmem_cache_cpus()
1746 cachep->cpu_cache = alloc_kmem_cache_cpus(cachep, 1, 1); in setup_cpu_cache()
1747 if (!cachep->cpu_cache) in setup_cpu_cache()
2248 free_percpu(cachep->cpu_cache); in __kmem_cache_release()
3665 struct array_cache __percpu *cpu_cache, *prev; in do_tune_cpucache() local
3668 cpu_cache = alloc_kmem_cache_cpus(cachep, limit, batchcount); in do_tune_cpucache()
3669 if (!cpu_cache) in do_tune_cpucache()
3672 prev = cachep->cpu_cache; in do_tune_cpucache()
3673 cachep->cpu_cache = cpu_cache; in do_tune_cpucache()