Home
last modified time | relevance | path

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

/Linux-v5.10/mm/kasan/
Dtags.c168 struct kasan_alloc_meta *alloc_meta; in kasan_set_free_info() local
171 alloc_meta = get_alloc_info(cache, object); in kasan_set_free_info()
174 idx = alloc_meta->free_track_idx; in kasan_set_free_info()
175 alloc_meta->free_pointer_tag[idx] = tag; in kasan_set_free_info()
176 alloc_meta->free_track_idx = (idx + 1) % KASAN_NR_FREE_STACKS; in kasan_set_free_info()
179 kasan_set_track(&alloc_meta->free_track[idx], GFP_NOWAIT); in kasan_set_free_info()
185 struct kasan_alloc_meta *alloc_meta; in kasan_get_free_track() local
188 alloc_meta = get_alloc_info(cache, object); in kasan_get_free_track()
192 if (alloc_meta->free_pointer_tag[i] == tag) in kasan_get_free_track()
196 i = alloc_meta->free_track_idx; in kasan_get_free_track()
[all …]
Dtags_report.c40 struct kasan_alloc_meta *alloc_meta; in get_bug_type() local
54 alloc_meta = get_alloc_info(cache, object); in get_bug_type()
57 if (alloc_meta->free_pointer_tag[i] == tag) in get_bug_type()