Searched refs:shadow_byte (Results 1 – 1 of 1) sorted by relevance
421 static inline bool shadow_invalid(u8 tag, s8 shadow_byte) in shadow_invalid() argument424 return shadow_byte < 0 || in shadow_invalid()425 shadow_byte >= KASAN_SHADOW_SCALE_SIZE; in shadow_invalid()428 if ((u8)shadow_byte == KASAN_TAG_INVALID) in shadow_invalid()430 if ((tag != KASAN_TAG_KERNEL) && (tag != (u8)shadow_byte)) in shadow_invalid()439 s8 shadow_byte; in __kasan_slab_free() local458 shadow_byte = READ_ONCE(*(s8 *)kasan_mem_to_shadow(object)); in __kasan_slab_free()459 if (shadow_invalid(tag, shadow_byte)) { in __kasan_slab_free()