Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dslab.c184 struct array_cache { struct
198 struct array_cache ac;
434 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) in cpu_cache_get()
564 static void init_arraycache(struct array_cache *ac, int limit, int batch) in init_arraycache()
582 static struct array_cache *alloc_arraycache(int node, int entries, in alloc_arraycache()
585 size_t memsize = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_arraycache()
586 struct array_cache *ac = NULL; in alloc_arraycache()
616 static int transfer_objects(struct array_cache *to, in transfer_objects()
617 struct array_cache *from, unsigned int max) in transfer_objects()
725 struct array_cache *ac, int node, in __drain_alien_cache()
[all …]
Dslab.h467 struct array_cache *shared; /* shared per node */
/Linux-v4.19/include/linux/
Dslab_def.h12 struct array_cache __percpu *cpu_cache;