Lines Matching refs:kmem_cache

140 struct kmem_cache *kmem_cache_create(const char *name, unsigned int size,
143 struct kmem_cache *kmem_cache_create_usercopy(const char *name,
148 void kmem_cache_destroy(struct kmem_cache *);
149 int kmem_cache_shrink(struct kmem_cache *);
151 void memcg_create_kmem_cache(struct mem_cgroup *, struct kmem_cache *);
299 extern struct kmem_cache *kmalloc_caches[KMALLOC_SHIFT_HIGH + 1];
301 extern struct kmem_cache *kmalloc_dma_caches[KMALLOC_SHIFT_HIGH + 1];
356 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc;
357 void kmem_cache_free(struct kmem_cache *, void *);
366 void kmem_cache_free_bulk(struct kmem_cache *, size_t, void **);
367 int kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **);
380 void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node) __assume_slab_alignment __m…
387 static __always_inline void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) in kmem_cache_alloc_node()
394 extern void *kmem_cache_alloc_trace(struct kmem_cache *, gfp_t, size_t) __assume_slab_alignment __m…
397 extern void *kmem_cache_alloc_node_trace(struct kmem_cache *s,
402 kmem_cache_alloc_node_trace(struct kmem_cache *s, in kmem_cache_alloc_node_trace()
411 static __always_inline void *kmem_cache_alloc_trace(struct kmem_cache *s, in kmem_cache_alloc_trace()
421 kmem_cache_alloc_node_trace(struct kmem_cache *s, in kmem_cache_alloc_node_trace()
560 struct kmem_cache *entries[0];
597 struct kmem_cache *root_cache;
610 void (*deact_fn)(struct kmem_cache *);
695 static inline void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags) in kmem_cache_zalloc()
721 unsigned int kmem_cache_size(struct kmem_cache *s);