Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dslab.c185 struct array_cache { struct
199 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()
592 static __always_inline void __free_one(struct array_cache *ac, void *objp) in __free_one()
[all …]
H A Dslab.h792 struct array_cache *shared; /* shared per node */
/openbmc/linux/include/linux/
H A Dslab_def.h13 struct array_cache __percpu *cpu_cache;