Lines Matching refs:array_cache

185 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()
680 struct array_cache *ac, int node, in __drain_alien_cache()
710 struct array_cache *ac; in reap_alien()
730 struct array_cache *ac; in drain_alien_cache()
752 struct array_cache *ac; in __cache_free_alien()
872 struct array_cache *old_shared = NULL; in setup_kmem_cache_node()
873 struct array_cache *new_shared = NULL; in setup_kmem_cache_node()
943 struct array_cache *nc; in cpuup_canceled()
944 struct array_cache *shared; in cpuup_canceled()
1720 static struct array_cache __percpu *alloc_kmem_cache_cpus( in alloc_kmem_cache_cpus()
1725 struct array_cache __percpu *cpu_cache; in alloc_kmem_cache_cpus()
1727 size = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_kmem_cache_cpus()
2108 static void drain_array_locked(struct kmem_cache *cachep, struct array_cache *ac, in drain_array_locked()
2128 struct array_cache *ac; in do_drain()
2838 struct array_cache *ac, struct slab *slab, int batchcount) in alloc_block()
2861 struct array_cache *ac, *shared; in cache_alloc_refill()
2985 struct array_cache *ac; in ____cache_alloc()
3298 static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac) in cache_flusharray()
3311 struct array_cache *shared_array = n->shared; in cache_flusharray()
3384 struct array_cache *ac = cpu_cache_get(cachep); in ___cache_free()
3665 struct array_cache __percpu *cpu_cache, *prev; in do_tune_cpucache()
3693 struct array_cache *ac = per_cpu_ptr(prev, cpu); in do_tune_cpucache()
3776 struct array_cache *ac, int node) in drain_array()