Lines Matching refs:kmem_cache
582 int __kmem_cache_create(struct kmem_cache *c, slab_flags_t flags) in __kmem_cache_create()
592 static void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node) in slob_alloc_node()
622 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc()
635 void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t gfp, int node) in kmem_cache_alloc_node()
658 void kmem_cache_free(struct kmem_cache *c, void *b) in kmem_cache_free()
674 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p) in kmem_cache_free_bulk()
680 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
687 int __kmem_cache_shutdown(struct kmem_cache *c) in __kmem_cache_shutdown()
693 void __kmem_cache_release(struct kmem_cache *c) in __kmem_cache_release()
697 int __kmem_cache_shrink(struct kmem_cache *d) in __kmem_cache_shrink()
702 struct kmem_cache kmem_cache_boot = {
704 .size = sizeof(struct kmem_cache),
711 kmem_cache = &kmem_cache_boot; in kmem_cache_init()