Lines Matching refs:array_cache
184 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()
592 static __always_inline void __free_one(struct array_cache *ac, void *objp) in __free_one()
695 struct array_cache *ac, int node, in __drain_alien_cache()
725 struct array_cache *ac; in reap_alien()
745 struct array_cache *ac; in drain_alien_cache()
767 struct array_cache *ac; in __cache_free_alien()
887 struct array_cache *old_shared = NULL; in setup_kmem_cache_node()
888 struct array_cache *new_shared = NULL; in setup_kmem_cache_node()
958 struct array_cache *nc; in cpuup_canceled()
959 struct array_cache *shared; in cpuup_canceled()
1731 static struct array_cache __percpu *alloc_kmem_cache_cpus( in alloc_kmem_cache_cpus()
1736 struct array_cache __percpu *cpu_cache; in alloc_kmem_cache_cpus()
1738 size = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_kmem_cache_cpus()
2129 static void drain_array_locked(struct kmem_cache *cachep, struct array_cache *ac, in drain_array_locked()
2149 struct array_cache *ac; in do_drain()
2879 struct array_cache *ac, struct page *page, int batchcount) in alloc_block()
2902 struct array_cache *ac, *shared; in cache_alloc_refill()
3033 struct array_cache *ac; in ____cache_alloc()
3366 static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac) in cache_flusharray()
3379 struct array_cache *shared_array = n->shared; in cache_flusharray()
3434 struct array_cache *ac = cpu_cache_get(cachep); in ___cache_free()
3803 struct array_cache __percpu *cpu_cache, *prev; in do_tune_cpucache()
3831 struct array_cache *ac = per_cpu_ptr(prev, cpu); in do_tune_cpucache()
3917 struct array_cache *ac, int node) in drain_array()