Lines Matching defs:object

103 /* Generic KASAN uses per-object metadata to store stack traces. */
117 /* Tag-based KASAN modes do not use per-object metadata. */
139 #define KASAN_SLAB_REDZONE 0xFC /* redzone for slab object */
140 #define KASAN_SLAB_FREE 0xFB /* freed slab object */
152 #define KASAN_SLAB_FREETRACK 0xFA /* freed slab object with free track */
209 void *object;
256 * Free meta is stored either in the object itself or in the redzone after the
257 * object. In the former case, free meta offset is 0. In the latter case, the
263 * Free meta is only used by Generic mode while the object is in quarantine.
264 * After that, slab allocator stores the freelist pointer in the object.
331 size_t kasan_get_alloc_size(void *object, struct kmem_cache *cache);
348 void kasan_print_aux_stacks(struct kmem_cache *cache, const void *object);
350 static inline void kasan_print_aux_stacks(struct kmem_cache *cache, const void *object) { }
355 void kasan_report_invalid_free(void *object, unsigned long ip, enum kasan_report_type type);
361 void kasan_init_object_meta(struct kmem_cache *cache, const void *object);
363 const void *object);
365 const void *object);
368 static inline void kasan_init_object_meta(struct kmem_cache *cache, const void *object) { }
373 void kasan_save_alloc_info(struct kmem_cache *cache, void *object, gfp_t flags);
374 void kasan_save_free_info(struct kmem_cache *cache, void *object);
378 bool kasan_quarantine_put(struct kmem_cache *cache, void *object);
382 static inline bool kasan_quarantine_put(struct kmem_cache *cache, void *object) { return false; }