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 *);
327 extern struct kmem_cache *
402 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc;
403 void kmem_cache_free(struct kmem_cache *, void *);
412 void kmem_cache_free_bulk(struct kmem_cache *, size_t, void **);
413 int kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **);
426 void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node) __assume_slab_alignment __m…
433 static __always_inline void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) in kmem_cache_alloc_node()
440 extern void *kmem_cache_alloc_trace(struct kmem_cache *, gfp_t, size_t) __assume_slab_alignment __m…
443 extern void *kmem_cache_alloc_node_trace(struct kmem_cache *s,
448 kmem_cache_alloc_node_trace(struct kmem_cache *s, in kmem_cache_alloc_node_trace()
457 static __always_inline void *kmem_cache_alloc_trace(struct kmem_cache *s, in kmem_cache_alloc_trace()
467 kmem_cache_alloc_node_trace(struct kmem_cache *s, in kmem_cache_alloc_node_trace()
664 static inline void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags) in kmem_cache_zalloc()
690 unsigned int kmem_cache_size(struct kmem_cache *s);