Lines Matching refs:kmem_cache

38 struct kmem_cache *kmem_cache;  variable
83 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
138 int slab_unmergeable(struct kmem_cache *s) in slab_unmergeable()
158 struct kmem_cache *find_mergeable(unsigned int size, unsigned int align, in find_mergeable()
161 struct kmem_cache *s; in find_mergeable()
205 static struct kmem_cache *create_cache(const char *name, in create_cache()
209 struct kmem_cache *root_cache) in create_cache()
211 struct kmem_cache *s; in create_cache()
218 s = kmem_cache_zalloc(kmem_cache, GFP_KERNEL); in create_cache()
241 kmem_cache_free(kmem_cache, s); in create_cache()
273 struct kmem_cache *
280 struct kmem_cache *s = NULL; in kmem_cache_create_usercopy()
386 struct kmem_cache *
405 static void kmem_cache_release(struct kmem_cache *s) in kmem_cache_release()
411 static void kmem_cache_release(struct kmem_cache *s) in kmem_cache_release()
420 struct kmem_cache *s, *s2; in slab_caches_to_rcu_destroy_workfn()
447 static int shutdown_cache(struct kmem_cache *s) in shutdown_cache()
468 void slab_kmem_cache_release(struct kmem_cache *s) in slab_kmem_cache_release()
472 kmem_cache_free(kmem_cache, s); in slab_kmem_cache_release()
475 void kmem_cache_destroy(struct kmem_cache *s) in kmem_cache_destroy()
512 int kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
625 void __init create_boot_cache(struct kmem_cache *s, const char *name, in create_boot_cache()
655 struct kmem_cache *__init create_kmalloc_cache(const char *name, in create_kmalloc_cache()
659 struct kmem_cache *s = kmem_cache_zalloc(kmem_cache, GFP_NOWAIT); in create_kmalloc_cache()
672 struct kmem_cache *
719 struct kmem_cache *kmalloc_slab(size_t size, gfp_t flags) in kmalloc_slab()
739 struct kmem_cache *c; in kmalloc_size_roundup()
939 struct kmem_cache *s; in __do_kmalloc_node()
992 struct kmem_cache *s; in kfree()
1043 void *kmalloc_trace(struct kmem_cache *s, gfp_t gfpflags, size_t size) in kmalloc_trace()
1055 void *kmalloc_node_trace(struct kmem_cache *s, gfp_t gfpflags, in kmalloc_node_trace()
1151 int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count, in cache_random_seq_create()
1171 void cache_random_seq_destroy(struct kmem_cache *cachep) in cache_random_seq_destroy()
1222 static void cache_show(struct kmem_cache *s, struct seq_file *m) in cache_show()
1243 struct kmem_cache *s = list_entry(p, struct kmem_cache, list); in slab_show()
1253 struct kmem_cache *s; in dump_unreclaimable_slab()
1450 int should_failslab(struct kmem_cache *s, gfp_t gfpflags) in should_failslab()