Lines Matching refs:kasan_info
161 cache->kasan_info.alloc_meta_offset = *size; in __kasan_cache_create()
171 cache->kasan_info.alloc_meta_offset = 0; in __kasan_cache_create()
178 cache->kasan_info.free_meta_offset = KASAN_NO_FREE_META; in __kasan_cache_create()
196 cache->kasan_info.free_meta_offset = *size; in __kasan_cache_create()
201 cache->kasan_info.free_meta_offset = KASAN_NO_FREE_META; in __kasan_cache_create()
218 cache->kasan_info.is_kmalloc = true; in __kasan_cache_create_kmalloc()
225 return (cache->kasan_info.alloc_meta_offset ? in __kasan_metadata_size()
227 (cache->kasan_info.free_meta_offset ? in __kasan_metadata_size()
234 if (!cache->kasan_info.alloc_meta_offset) in kasan_get_alloc_meta()
236 return kasan_reset_tag(object) + cache->kasan_info.alloc_meta_offset; in kasan_get_alloc_meta()
244 if (cache->kasan_info.free_meta_offset == KASAN_NO_FREE_META) in kasan_get_free_meta()
246 return kasan_reset_tag(object) + cache->kasan_info.free_meta_offset; in kasan_get_free_meta()
429 if (cache->kasan_info.is_kmalloc && !is_kmalloc) in set_alloc_info()