Home
last modified time | relevance | path

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

/Linux-v4.19/mm/kasan/
Dreport.c45 const void *first_bad_addr = addr; in find_first_bad_addr() local
47 while (!shadow_val && first_bad_addr < addr + size) { in find_first_bad_addr()
48 first_bad_addr += KASAN_SHADOW_SCALE_SIZE; in find_first_bad_addr()
49 shadow_val = *(u8 *)kasan_mem_to_shadow(first_bad_addr); in find_first_bad_addr()
51 return first_bad_addr; in find_first_bad_addr()
65 info->first_bad_addr = find_first_bad_addr(info->access_addr, in get_shadow_bug_type()
68 shadow_addr = (u8 *)kasan_mem_to_shadow(info->first_bad_addr); in get_shadow_bug_type()
356 print_shadow_for_address(info->first_bad_addr); in kasan_report_error()
407 info.first_bad_addr = (void *)addr; in kasan_report()
Dkasan.h42 const void *first_bad_addr; member