Home
last modified time | relevance | path

Searched refs:alloc_meta (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/mm/kasan/
Dreport_generic.c162 struct kasan_alloc_meta *alloc_meta; in kasan_complete_mode_report_info() local
171 alloc_meta = kasan_get_alloc_meta(info->cache, info->object); in kasan_complete_mode_report_info()
172 if (alloc_meta) in kasan_complete_mode_report_info()
173 memcpy(&info->alloc_track, &alloc_meta->alloc_track, in kasan_complete_mode_report_info()
191 struct kasan_alloc_meta *alloc_meta; in kasan_print_aux_stacks() local
193 alloc_meta = kasan_get_alloc_meta(cache, object); in kasan_print_aux_stacks()
194 if (!alloc_meta) in kasan_print_aux_stacks()
197 if (alloc_meta->aux_stack[0]) { in kasan_print_aux_stacks()
199 stack_depot_print(alloc_meta->aux_stack[0]); in kasan_print_aux_stacks()
202 if (alloc_meta->aux_stack[1]) { in kasan_print_aux_stacks()
[all …]
Dgeneric.c450 struct kasan_alloc_meta *alloc_meta; in kasan_init_object_meta() local
452 alloc_meta = kasan_get_alloc_meta(cache, object); in kasan_init_object_meta()
453 if (alloc_meta) in kasan_init_object_meta()
454 __memset(alloc_meta, 0, sizeof(*alloc_meta)); in kasan_init_object_meta()
479 struct kasan_alloc_meta *alloc_meta; in __kasan_record_aux_stack() local
487 alloc_meta = kasan_get_alloc_meta(cache, object); in __kasan_record_aux_stack()
488 if (!alloc_meta) in __kasan_record_aux_stack()
491 alloc_meta->aux_stack[1] = alloc_meta->aux_stack[0]; in __kasan_record_aux_stack()
492 alloc_meta->aux_stack[0] = kasan_save_stack(0, can_alloc); in __kasan_record_aux_stack()
507 struct kasan_alloc_meta *alloc_meta; in kasan_save_alloc_info() local
[all …]