Lines Matching refs:kmem_cache

11 struct kmem_cache;
131 void __kasan_cache_create_kmalloc(struct kmem_cache *cache);
132 static __always_inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) in kasan_cache_create_kmalloc()
145 void __kasan_unpoison_object_data(struct kmem_cache *cache, void *object);
146 static __always_inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data()
153 void __kasan_poison_object_data(struct kmem_cache *cache, void *object);
154 static __always_inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data()
161 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache,
164 struct kmem_cache *cache, const void *object) in kasan_init_slab_obj()
171 bool __kasan_slab_free(struct kmem_cache *s, void *object,
173 static __always_inline bool kasan_slab_free(struct kmem_cache *s, in kasan_slab_free()
195 void * __must_check __kasan_slab_alloc(struct kmem_cache *s,
198 struct kmem_cache *s, void *object, gfp_t flags, bool init) in kasan_slab_alloc()
205 void * __must_check __kasan_kmalloc(struct kmem_cache *s, const void *object,
207 static __always_inline void * __must_check kasan_kmalloc(struct kmem_cache *s, in kasan_kmalloc()
254 static inline void kasan_cache_create_kmalloc(struct kmem_cache *cache) {} in kasan_cache_create_kmalloc()
256 static inline void kasan_unpoison_object_data(struct kmem_cache *cache, in kasan_unpoison_object_data()
258 static inline void kasan_poison_object_data(struct kmem_cache *cache, in kasan_poison_object_data()
260 static inline void *kasan_init_slab_obj(struct kmem_cache *cache, in kasan_init_slab_obj()
265 static inline bool kasan_slab_free(struct kmem_cache *s, void *object, bool init) in kasan_slab_free()
271 static inline void *kasan_slab_alloc(struct kmem_cache *s, void *object, in kasan_slab_alloc()
276 static inline void *kasan_kmalloc(struct kmem_cache *s, const void *object, in kasan_kmalloc()
305 size_t kasan_metadata_size(struct kmem_cache *cache);
307 void kasan_cache_create(struct kmem_cache *cache, unsigned int *size,
310 void kasan_cache_shrink(struct kmem_cache *cache);
311 void kasan_cache_shutdown(struct kmem_cache *cache);
318 static inline size_t kasan_metadata_size(struct kmem_cache *cache) in kasan_metadata_size()
328 static inline void kasan_cache_create(struct kmem_cache *cache, in kasan_cache_create()
332 static inline void kasan_cache_shrink(struct kmem_cache *cache) {} in kasan_cache_shrink()
333 static inline void kasan_cache_shutdown(struct kmem_cache *cache) {} in kasan_cache_shutdown()