Home
last modified time | relevance | path

Searched refs:KASAN_SHADOW_MASK (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/mm/kasan/
Dgeneric.c55 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()
Dcommon.c162 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()
Dkasan.h9 #define KASAN_SHADOW_MASK (KASAN_SHADOW_SCALE_SIZE - 1) macro