Home
last modified time | relevance | path

Searched refs:cpu_cache (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/arm/include/asm/
Dcacheflush.h123 extern struct cpu_cache_fns cpu_cache;
125 #define __cpuc_flush_icache_all cpu_cache.flush_icache_all
126 #define __cpuc_flush_kern_all cpu_cache.flush_kern_all
127 #define __cpuc_flush_kern_louis cpu_cache.flush_kern_louis
128 #define __cpuc_flush_user_all cpu_cache.flush_user_all
129 #define __cpuc_flush_user_range cpu_cache.flush_user_range
130 #define __cpuc_coherent_kern_range cpu_cache.coherent_kern_range
131 #define __cpuc_coherent_user_range cpu_cache.coherent_user_range
132 #define __cpuc_flush_dcache_area cpu_cache.flush_kern_dcache_area
140 #define dmac_flush_range cpu_cache.dma_flush_range
/linux-6.6.21/arch/arm/mm/
Ddma.h28 #define dmac_map_area cpu_cache.dma_map_area
29 #define dmac_unmap_area cpu_cache.dma_unmap_area
Dproc-syms.c31 EXPORT_SYMBOL(cpu_cache);
/linux-6.6.21/arch/powerpc/kernel/
Dcacheinfo.c503 struct cache *cpu_cache = NULL; in cache_chain_instantiate() local
515 cpu_cache = cache_lookup_or_instantiate(cpu_node, group_id, 1); in cache_chain_instantiate()
516 if (!cpu_cache) in cache_chain_instantiate()
519 do_subsidiary_caches(cpu_cache, cpu_id); in cache_chain_instantiate()
521 cache_cpu_set(cpu_cache, cpu_id); in cache_chain_instantiate()
525 return cpu_cache; in cache_chain_instantiate()
/linux-6.6.21/include/linux/
Dslab_def.h13 struct array_cache __percpu *cpu_cache; member
/linux-6.6.21/mm/
Dslab.c394 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()
[all …]
/linux-6.6.21/arch/arm/kernel/
Dsetup.c122 struct cpu_cache_fns cpu_cache __ro_after_init;
716 cpu_cache = *list->cache; in setup_processor()