Searched refs:shadow_byte (Results 1 – 2 of 2) sorted by relevance
126 u8 shadow_byte; in kasan_byte_accessible() local131 shadow_byte = READ_ONCE(*(u8 *)kasan_mem_to_shadow(untagged_addr)); in kasan_byte_accessible()132 return tag == KASAN_TAG_KERNEL || tag == shadow_byte; in kasan_byte_accessible()
192 s8 shadow_byte; in kasan_byte_accessible() local197 shadow_byte = READ_ONCE(*(s8 *)kasan_mem_to_shadow(addr)); in kasan_byte_accessible()199 return shadow_byte >= 0 && shadow_byte < KASAN_GRANULE_SIZE; in kasan_byte_accessible()