Home
last modified time | relevance | path

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

/Linux-v5.4/mm/
Dslab.c184 struct array_cache { struct
198 struct array_cache ac;
392 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) in cpu_cache_get()
522 static void init_arraycache(struct array_cache *ac, int limit, int batch) in init_arraycache()
532 static struct array_cache *alloc_arraycache(int node, int entries, in alloc_arraycache()
535 size_t memsize = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_arraycache()
536 struct array_cache *ac = NULL; in alloc_arraycache()
574 static int transfer_objects(struct array_cache *to, in transfer_objects()
575 struct array_cache *from, unsigned int max) in transfer_objects()
685 struct array_cache *ac, int node, in __drain_alien_cache()
[all …]
Dslab.h610 struct array_cache *shared; /* shared per node */
/Linux-v5.4/include/linux/
Dslab_def.h12 struct array_cache __percpu *cpu_cache;