Home
last modified time | relevance | path

Searched refs:kasan_info (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/mm/kasan/
Dgeneric.c378 cache->kasan_info.alloc_meta_offset = *size; in kasan_cache_create()
388 cache->kasan_info.alloc_meta_offset = 0; in kasan_cache_create()
407 cache->kasan_info.free_meta_offset = *size; in kasan_cache_create()
412 cache->kasan_info.free_meta_offset = KASAN_NO_FREE_META; in kasan_cache_create()
430 if (!cache->kasan_info.alloc_meta_offset) in kasan_get_alloc_meta()
432 return (void *)object + cache->kasan_info.alloc_meta_offset; in kasan_get_alloc_meta()
439 if (cache->kasan_info.free_meta_offset == KASAN_NO_FREE_META) in kasan_get_free_meta()
441 return (void *)object + cache->kasan_info.free_meta_offset; in kasan_get_free_meta()
457 return (cache->kasan_info.alloc_meta_offset ? in kasan_metadata_size()
459 ((cache->kasan_info.free_meta_offset && in kasan_metadata_size()
[all …]
Dcommon.c122 cache->kasan_info.is_kmalloc = true; in __kasan_cache_create_kmalloc()
324 if (kasan_stack_collection_enabled() && !cache->kasan_info.is_kmalloc) in __kasan_slab_alloc()
370 if (kasan_stack_collection_enabled() && cache->kasan_info.is_kmalloc) in ____kasan_kmalloc()
Dquarantine.c140 return ((void *)free_info) - cache->kasan_info.free_meta_offset; in qlink_to_object()
159 cache->kasan_info.free_meta_offset == 0) in qlink_free()
/linux-6.1.9/include/linux/
Dslab_def.h76 struct kasan_cache kasan_info; member
Dslub_def.h136 struct kasan_cache kasan_info; member