Lines Matching refs:kmem_cache
147 struct kmem_cache *kmem_cache_create(const char *name, unsigned int size,
150 struct kmem_cache *kmem_cache_create_usercopy(const char *name,
155 void kmem_cache_destroy(struct kmem_cache *);
156 int kmem_cache_shrink(struct kmem_cache *);
331 extern struct kmem_cache *
429 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc;
430 void kmem_cache_free(struct kmem_cache *, void *);
439 void kmem_cache_free_bulk(struct kmem_cache *, size_t, void **);
440 int kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **);
453 void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node) __assume_slab_alignment __m…
460 static __always_inline void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) in kmem_cache_alloc_node()
467 extern void *kmem_cache_alloc_trace(struct kmem_cache *, gfp_t, size_t) __assume_slab_alignment __m…
470 extern void *kmem_cache_alloc_node_trace(struct kmem_cache *s,
475 kmem_cache_alloc_node_trace(struct kmem_cache *s, in kmem_cache_alloc_node_trace()
484 static __always_inline void *kmem_cache_alloc_trace(struct kmem_cache *s, in kmem_cache_alloc_trace()
494 kmem_cache_alloc_node_trace(struct kmem_cache *s, in kmem_cache_alloc_node_trace()
709 static inline void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags) in kmem_cache_zalloc()
735 unsigned int kmem_cache_size(struct kmem_cache *s);