Searched refs:array_cache (Results 1 – 2 of 2) sorted by relevance
185 struct array_cache { struct199 struct array_cache ac;393 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) in cpu_cache_get()523 static void init_arraycache(struct array_cache *ac, int limit, int batch) in init_arraycache()533 static struct array_cache *alloc_arraycache(int node, int entries, in alloc_arraycache()536 size_t memsize = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_arraycache()537 struct array_cache *ac = NULL; in alloc_arraycache()575 static int transfer_objects(struct array_cache *to, in transfer_objects()576 struct array_cache *from, unsigned int max) in transfer_objects()593 static __always_inline void __free_one(struct array_cache *ac, void *objp) in __free_one()[all …]
609 struct array_cache *shared; /* shared per node */