Searched refs:KASAN_SHADOW_MASK (Results 1 – 3 of 3) sorted by relevance
55 s8 last_accessible_byte = addr & KASAN_SHADOW_MASK; in memory_is_poisoned_1()71 if (unlikely(((addr + size - 1) & KASAN_SHADOW_MASK) < size - 1)) in memory_is_poisoned_2_4_8()143 ((long)(last_byte & KASAN_SHADOW_MASK) >= *last_shadow))) in memory_is_poisoned_n()
162 if (size & KASAN_SHADOW_MASK) { in kasan_unpoison_shadow()168 *shadow = size & KASAN_SHADOW_MASK; in kasan_unpoison_shadow()601 scaled_size = (size + KASAN_SHADOW_MASK) >> KASAN_SHADOW_SCALE_SHIFT; in kasan_module_alloc()
9 #define KASAN_SHADOW_MASK (KASAN_SHADOW_SCALE_SIZE - 1) macro