Lines Matching refs:array_cache

185 struct array_cache {  struct
199 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()
681 struct array_cache *ac, int node, in __drain_alien_cache()
711 struct array_cache *ac; in reap_alien()
731 struct array_cache *ac; in drain_alien_cache()
753 struct array_cache *ac; in __cache_free_alien()
873 struct array_cache *old_shared = NULL; in setup_kmem_cache_node()
874 struct array_cache *new_shared = NULL; in setup_kmem_cache_node()
944 struct array_cache *nc; in cpuup_canceled()
945 struct array_cache *shared; in cpuup_canceled()
1727 static struct array_cache __percpu *alloc_kmem_cache_cpus( in alloc_kmem_cache_cpus()
1732 struct array_cache __percpu *cpu_cache; in alloc_kmem_cache_cpus()
1734 size = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_kmem_cache_cpus()
2119 static void drain_array_locked(struct kmem_cache *cachep, struct array_cache *ac, in drain_array_locked()
2139 struct array_cache *ac; in do_drain()
2858 struct array_cache *ac, struct slab *slab, int batchcount) in alloc_block()
2881 struct array_cache *ac, *shared; in cache_alloc_refill()
3005 struct array_cache *ac; in ____cache_alloc()
3317 static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac) in cache_flusharray()
3330 struct array_cache *shared_array = n->shared; in cache_flusharray()
3403 struct array_cache *ac = cpu_cache_get(cachep); in ___cache_free()
3692 struct array_cache __percpu *cpu_cache, *prev; in do_tune_cpucache()
3720 struct array_cache *ac = per_cpu_ptr(prev, cpu); in do_tune_cpucache()
3803 struct array_cache *ac, int node) in drain_array()