Searched refs:array_cache (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/include/linux/
H A Dslab_def.h11 struct array_cache __percpu *cpu_cache;
/linux-4.1.27/mm/
H A Dslab.c178 * struct array_cache
189 struct array_cache { struct
196 * alignment of array_cache. Also simplifies accessing
207 struct array_cache ac;
233 struct array_cache cache;
472 static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) cpu_cache_get()
660 static void init_arraycache(struct array_cache *ac, int limit, int batch) init_arraycache()
663 * The array_cache structures contain pointers to free object. init_arraycache()
678 static struct array_cache *alloc_arraycache(int node, int entries, alloc_arraycache()
681 size_t memsize = sizeof(void *) * entries + sizeof(struct array_cache); alloc_arraycache()
682 struct array_cache *ac = NULL; alloc_arraycache()
696 struct array_cache *ac) recheck_pfmemalloc_active()
723 static void *__ac_get_obj(struct kmem_cache *cachep, struct array_cache *ac, __ac_get_obj()
771 struct array_cache *ac, gfp_t flags, bool force_refill) ac_get_obj()
784 struct array_cache *ac, void *objp) __ac_put_obj()
796 static inline void ac_put_obj(struct kmem_cache *cachep, struct array_cache *ac, ac_put_obj()
811 static int transfer_objects(struct array_cache *to, transfer_objects()
812 struct array_cache *from, unsigned int max) transfer_objects()
920 struct array_cache *ac, int node, __drain_alien_cache()
950 struct array_cache *ac; reap_alien()
970 struct array_cache *ac; drain_alien_cache()
992 struct array_cache *ac; __cache_free_alien()
1103 struct array_cache *nc; cpuup_canceled()
1104 struct array_cache *shared; cpuup_canceled()
1185 struct array_cache *shared = NULL; cpuup_prepare()
2001 static struct array_cache __percpu *alloc_kmem_cache_cpus( alloc_kmem_cache_cpus()
2006 struct array_cache __percpu *cpu_cache; alloc_kmem_cache_cpus()
2008 size = sizeof(void *) * entries + sizeof(struct array_cache); alloc_kmem_cache_cpus()
2329 struct array_cache *ac,
2335 struct array_cache *ac; do_drain()
2773 struct array_cache *ac; cache_alloc_refill()
2940 struct array_cache *ac; ____cache_alloc()
3318 static void cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac) cache_flusharray()
3333 struct array_cache *shared_array = n->shared; cache_flusharray()
3378 struct array_cache *ac = cpu_cache_get(cachep); __cache_free()
3604 struct array_cache *new_shared; alloc_kmem_cache_node()
3628 struct array_cache *shared = n->shared; for_each_online_node()
3690 struct array_cache __percpu *cpu_cache, *prev; __do_tune_cpucache()
3713 struct array_cache *ac = per_cpu_ptr(prev, cpu); for_each_online_cpu()
3820 * necessary. Note that the node listlock also protects the array_cache
3824 struct array_cache *ac, int force, int node) drain_array()
H A Dslab.h342 struct array_cache *shared; /* shared per node */

Completed in 116 milliseconds