Searched refs:shadow_addr (Results 1 – 3 of 3) sorted by relevance
49 u8 *shadow_addr; in get_shadow_bug_type() local51 shadow_addr = (u8 *)kasan_mem_to_shadow(info->first_bad_addr); in get_shadow_bug_type()57 if (*shadow_addr > 0 && *shadow_addr <= KASAN_SHADOW_SCALE_SIZE - 1) in get_shadow_bug_type()58 shadow_addr++; in get_shadow_bug_type()60 switch (*shadow_addr) { in get_shadow_bug_type()
65 u8 *shadow_addr = (u8 *)kasan_mem_to_shadow((void *)addr); in memory_is_poisoned_2_4_8() local72 return *shadow_addr || memory_is_poisoned_1(addr + size - 1); in memory_is_poisoned_2_4_8()79 u16 *shadow_addr = (u16 *)kasan_mem_to_shadow((void *)addr); in memory_is_poisoned_16() local83 return *shadow_addr || memory_is_poisoned_1(addr + 15); in memory_is_poisoned_16()85 return *shadow_addr; in memory_is_poisoned_16()
128 static inline const void *kasan_shadow_to_mem(const void *shadow_addr) in kasan_shadow_to_mem() argument130 return (void *)(((unsigned long)shadow_addr - KASAN_SHADOW_OFFSET) in kasan_shadow_to_mem()