Lines Matching defs:kmem_cache

43 struct kmem_cache *kmem_cache;
81 unsigned int kmem_cache_size(struct kmem_cache *s)
91 struct kmem_cache *s;
110 "kmem_cache of name '%s' already exists\n", name);
153 int slab_unmergeable(struct kmem_cache *s)
178 struct kmem_cache *find_mergeable(unsigned int size, unsigned int align,
181 struct kmem_cache *s;
222 static struct kmem_cache *create_cache(const char *name,
227 struct kmem_cache *s;
239 s = kmem_cache_zalloc(kmem_cache, GFP_KERNEL);
251 kmem_cache_free(kmem_cache, s);
283 struct kmem_cache *__kmem_cache_create_args(const char *name,
288 struct kmem_cache *s = NULL;
364 static struct kmem_cache *kmem_buckets_cache __ro_after_init;
466 * For a given kmem_cache, kmem_cache_destroy() should only be called
471 static void kmem_cache_release(struct kmem_cache *s)
480 void slab_kmem_cache_release(struct kmem_cache *s)
484 kmem_cache_free(kmem_cache, s);
487 void kmem_cache_destroy(struct kmem_cache *s)
562 int kmem_cache_shrink(struct kmem_cache *cachep)
655 void __init create_boot_cache(struct kmem_cache *s, const char *name,
686 static struct kmem_cache *__init create_kmalloc_cache(const char *name,
690 struct kmem_cache *s = kmem_cache_zalloc(kmem_cache, GFP_NOWAIT);
1053 int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count,
1069 void cache_random_seq_destroy(struct kmem_cache *cachep)
1108 static void cache_show(struct kmem_cache *s, struct seq_file *m)
1128 struct kmem_cache *s = list_entry(p, struct kmem_cache, list);
1138 struct kmem_cache *s;
1266 __bpf_kfunc struct kmem_cache *bpf_get_kmem_cache(u64 addr)
1616 struct kmem_cache *s;