Lines Matching refs:kmem_cache
43 struct kmem_cache *kmem_cache; variable
81 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
91 struct kmem_cache *s; in kmem_cache_is_duplicate_name()
153 int slab_unmergeable(struct kmem_cache *s) in slab_unmergeable()
175 struct kmem_cache *find_mergeable(unsigned int size, unsigned int align, in find_mergeable()
178 struct kmem_cache *s; in find_mergeable()
219 static struct kmem_cache *create_cache(const char *name, in create_cache()
224 struct kmem_cache *s; in create_cache()
236 s = kmem_cache_zalloc(kmem_cache, GFP_KERNEL); in create_cache()
248 kmem_cache_free(kmem_cache, s); in create_cache()
280 struct kmem_cache *__kmem_cache_create_args(const char *name, in __kmem_cache_create_args()
285 struct kmem_cache *s = NULL; in __kmem_cache_create_args()
361 static struct kmem_cache *kmem_buckets_cache __ro_after_init;
468 static void kmem_cache_release(struct kmem_cache *s) in kmem_cache_release()
477 void slab_kmem_cache_release(struct kmem_cache *s) in slab_kmem_cache_release()
481 kmem_cache_free(kmem_cache, s); in slab_kmem_cache_release()
484 void kmem_cache_destroy(struct kmem_cache *s) in kmem_cache_destroy()
556 int kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink()
649 void __init create_boot_cache(struct kmem_cache *s, const char *name, in create_boot_cache()
680 static struct kmem_cache *__init create_kmalloc_cache(const char *name, in create_kmalloc_cache()
684 struct kmem_cache *s = kmem_cache_zalloc(kmem_cache, GFP_NOWAIT); in create_kmalloc_cache()
1047 int cache_random_seq_create(struct kmem_cache *cachep, unsigned int count, in cache_random_seq_create()
1063 void cache_random_seq_destroy(struct kmem_cache *cachep) in cache_random_seq_destroy()
1102 static void cache_show(struct kmem_cache *s, struct seq_file *m) in cache_show()
1122 struct kmem_cache *s = list_entry(p, struct kmem_cache, list); in slab_show()
1132 struct kmem_cache *s; in dump_unreclaimable_slab()
1260 __bpf_kfunc struct kmem_cache *bpf_get_kmem_cache(u64 addr) in bpf_get_kmem_cache()