Searched refs:KASAN_GRANULE_MASK (Results 1 – 3 of 3) sorted by relevance
90 if (WARN_ON((unsigned long)addr & KASAN_GRANULE_MASK)) in kasan_poison()92 if (WARN_ON(size & KASAN_GRANULE_MASK)) in kasan_poison()108 if (size & KASAN_GRANULE_MASK) { in kasan_poison_last_granule()110 *shadow = size & KASAN_GRANULE_MASK; in kasan_poison_last_granule()134 if (WARN_ON((unsigned long)addr & KASAN_GRANULE_MASK)) in kasan_unpoison()
72 #define KASAN_GRANULE_MASK (KASAN_GRANULE_SIZE - 1) macro388 if (WARN_ON((unsigned long)addr & KASAN_GRANULE_MASK)) in kasan_poison()390 if (WARN_ON(size & KASAN_GRANULE_MASK)) in kasan_poison()406 if (WARN_ON((unsigned long)addr & KASAN_GRANULE_MASK)) in kasan_unpoison()416 init && ((unsigned long)size & KASAN_GRANULE_MASK)) { in kasan_unpoison()
48 s8 last_accessible_byte = addr & KASAN_GRANULE_MASK; in memory_is_poisoned_1()64 if (unlikely(((addr + size - 1) & KASAN_GRANULE_MASK) < size - 1)) in memory_is_poisoned_2_4_8()136 ((long)(last_byte & KASAN_GRANULE_MASK) >= *last_shadow))) in memory_is_poisoned_n()