Lines Matching refs:cpu_cache
436 return this_cpu_ptr(cachep->cpu_cache); in cpu_cache_get()
1003 nc = per_cpu_ptr(cachep->cpu_cache, cpu); in cpuup_canceled()
1815 struct array_cache __percpu *cpu_cache; in alloc_kmem_cache_cpus() local
1818 cpu_cache = __alloc_percpu(size, sizeof(void *)); in alloc_kmem_cache_cpus()
1820 if (!cpu_cache) in alloc_kmem_cache_cpus()
1824 init_arraycache(per_cpu_ptr(cpu_cache, cpu), in alloc_kmem_cache_cpus()
1828 return cpu_cache; in alloc_kmem_cache_cpus()
1836 cachep->cpu_cache = alloc_kmem_cache_cpus(cachep, 1, 1); in setup_cpu_cache()
1837 if (!cachep->cpu_cache) in setup_cpu_cache()
2341 free_percpu(cachep->cpu_cache); in __kmem_cache_release()
3858 struct array_cache __percpu *cpu_cache, *prev; in __do_tune_cpucache() local
3861 cpu_cache = alloc_kmem_cache_cpus(cachep, limit, batchcount); in __do_tune_cpucache()
3862 if (!cpu_cache) in __do_tune_cpucache()
3865 prev = cachep->cpu_cache; in __do_tune_cpucache()
3866 cachep->cpu_cache = cpu_cache; in __do_tune_cpucache()