Searched refs:shadow_addr (Results 1 – 3 of 3) sorted by relevance
45 u8 *shadow_addr; in get_shadow_bug_type() local47 shadow_addr = (u8 *)kasan_mem_to_shadow(info->first_bad_addr); in get_shadow_bug_type()53 if (*shadow_addr > 0 && *shadow_addr <= KASAN_GRANULE_SIZE - 1) in get_shadow_bug_type()54 shadow_addr++; in get_shadow_bug_type()56 switch (*shadow_addr) { in get_shadow_bug_type()
58 u8 *shadow_addr = (u8 *)kasan_mem_to_shadow((void *)addr); in memory_is_poisoned_2_4_8() local65 return *shadow_addr || memory_is_poisoned_1(addr + size - 1); in memory_is_poisoned_2_4_8()72 u16 *shadow_addr = (u16 *)kasan_mem_to_shadow((void *)addr); in memory_is_poisoned_16() local76 return *shadow_addr || memory_is_poisoned_1(addr + 15); in memory_is_poisoned_16()78 return *shadow_addr; in memory_is_poisoned_16()
232 static inline const void *kasan_shadow_to_mem(const void *shadow_addr) in kasan_shadow_to_mem() argument234 return (void *)(((unsigned long)shadow_addr - KASAN_SHADOW_OFFSET) in kasan_shadow_to_mem()