Lines Matching refs:array_cache
184 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()
755 struct array_cache *ac; in reap_alien()
775 struct array_cache *ac; in drain_alien_cache()
797 struct array_cache *ac; in __cache_free_alien()
917 struct array_cache *old_shared = NULL; in setup_kmem_cache_node()
918 struct array_cache *new_shared = NULL; in setup_kmem_cache_node()
988 struct array_cache *nc; in cpuup_canceled()
989 struct array_cache *shared; in cpuup_canceled()
1810 static struct array_cache __percpu *alloc_kmem_cache_cpus( in alloc_kmem_cache_cpus()
1815 struct array_cache __percpu *cpu_cache; in alloc_kmem_cache_cpus()
1817 size = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_kmem_cache_cpus()
2196 static void drain_array_locked(struct kmem_cache *cachep, struct array_cache *ac, in drain_array_locked()
2216 struct array_cache *ac; in do_drain()
2959 struct array_cache *ac, struct page *page, int batchcount) in alloc_block()
2982 struct array_cache *ac, *shared; in cache_alloc_refill()
3113 struct array_cache *ac; in ____cache_alloc()
3444 static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac) in cache_flusharray()
3457 struct array_cache *shared_array = n->shared; in cache_flusharray()
3507 struct array_cache *ac = cpu_cache_get(cachep); in ___cache_free()
3858 struct array_cache __percpu *cpu_cache, *prev; in __do_tune_cpucache()
3886 struct array_cache *ac = per_cpu_ptr(prev, cpu); in __do_tune_cpucache()
4002 struct array_cache *ac, int node) in drain_array()