Lines Matching refs:kmem_cache

41 struct kmem_cache *kmem_cache;  variable
79 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
89 struct kmem_cache *s; in kmem_cache_is_duplicate_name()
151 int slab_unmergeable(struct kmem_cache *s) in slab_unmergeable()
173 struct kmem_cache *find_mergeable(unsigned int size, unsigned int align, in find_mergeable()
176 struct kmem_cache *s; in find_mergeable()
217 static struct kmem_cache *create_cache(const char *name, in create_cache()
222 struct kmem_cache *s; in create_cache()
237 s = kmem_cache_zalloc(kmem_cache, GFP_KERNEL); in create_cache()
249 kmem_cache_free(kmem_cache, s); in create_cache()
269 struct kmem_cache *__kmem_cache_create_args(const char *name, in __kmem_cache_create_args()
274 struct kmem_cache *s = NULL; in __kmem_cache_create_args()
357 static struct kmem_cache *kmem_buckets_cache __ro_after_init;
464 static void kmem_cache_release(struct kmem_cache *s) in kmem_cache_release()
473 void slab_kmem_cache_release(struct kmem_cache *s) in slab_kmem_cache_release()
477 kmem_cache_free(kmem_cache, s); in slab_kmem_cache_release()
480 void kmem_cache_destroy(struct kmem_cache *s) in kmem_cache_destroy()
552 int kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
645 void __init create_boot_cache(struct kmem_cache *s, const char *name, in create_boot_cache()
676 static struct kmem_cache *__init create_kmalloc_cache(const char *name, in create_kmalloc_cache()
680 struct kmem_cache *s = kmem_cache_zalloc(kmem_cache, GFP_NOWAIT); in create_kmalloc_cache()
1043 int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count, in cache_random_seq_create()
1059 void cache_random_seq_destroy(struct kmem_cache *cachep) in cache_random_seq_destroy()
1098 static void cache_show(struct kmem_cache *s, struct seq_file *m) in cache_show()
1118 struct kmem_cache *s = list_entry(p, struct kmem_cache, list); in slab_show()
1128 struct kmem_cache *s; in dump_unreclaimable_slab()