Lines Matching refs:array_cache

189 struct array_cache {  struct
207 struct array_cache ac;
233 struct array_cache cache;
472 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) in cpu_cache_get()
660 static void init_arraycache(struct array_cache *ac, int limit, int batch) in init_arraycache()
678 static struct array_cache *alloc_arraycache(int node, int entries, in alloc_arraycache()
681 size_t memsize = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_arraycache()
682 struct array_cache *ac = NULL; in alloc_arraycache()
696 struct array_cache *ac) in recheck_pfmemalloc_active()
723 static void *__ac_get_obj(struct kmem_cache *cachep, struct array_cache *ac, in __ac_get_obj()
771 struct array_cache *ac, gfp_t flags, bool force_refill) in ac_get_obj()
784 struct array_cache *ac, void *objp) in __ac_put_obj()
796 static inline void ac_put_obj(struct kmem_cache *cachep, struct array_cache *ac, in ac_put_obj()
811 static int transfer_objects(struct array_cache *to, in transfer_objects()
812 struct array_cache *from, unsigned int max) in transfer_objects()
920 struct array_cache *ac, int node, in __drain_alien_cache()
950 struct array_cache *ac; in reap_alien()
970 struct array_cache *ac; in drain_alien_cache()
992 struct array_cache *ac; in __cache_free_alien()
1103 struct array_cache *nc; in cpuup_canceled()
1104 struct array_cache *shared; in cpuup_canceled()
1185 struct array_cache *shared = NULL; in cpuup_prepare()
2001 static struct array_cache __percpu *alloc_kmem_cache_cpus( in alloc_kmem_cache_cpus()
2006 struct array_cache __percpu *cpu_cache; in alloc_kmem_cache_cpus()
2008 size = sizeof(void *) * entries + sizeof(struct array_cache); in alloc_kmem_cache_cpus()
2329 struct array_cache *ac,
2335 struct array_cache *ac; in do_drain()
2773 struct array_cache *ac; in cache_alloc_refill()
2940 struct array_cache *ac; in ____cache_alloc()
3318 static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac) in cache_flusharray()
3333 struct array_cache *shared_array = n->shared; in cache_flusharray()
3378 struct array_cache *ac = cpu_cache_get(cachep); in __cache_free()
3604 struct array_cache *new_shared; in alloc_kmem_cache_node()
3628 struct array_cache *shared = n->shared; in alloc_kmem_cache_node()
3690 struct array_cache __percpu *cpu_cache, *prev; in __do_tune_cpucache()
3713 struct array_cache *ac = per_cpu_ptr(prev, cpu); in __do_tune_cpucache()
3824 struct array_cache *ac, int force, int node) in drain_array()