Home
last modified time | relevance | path

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

/openbmc/linux/mm/kasan/
H A Dsw_tags.c126 u8 shadow_byte; in kasan_byte_accessible() local
131 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()
H A Dgeneric.c192 s8 shadow_byte; in kasan_byte_accessible() local
197 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()