Searched refs:KASAN_GRANULE_MASK (Results 1 – 3 of 3) sorted by relevance
142 if (WARN_ON((unsigned long)addr & KASAN_GRANULE_MASK)) in kasan_poison()144 if (WARN_ON(size & KASAN_GRANULE_MASK)) in kasan_poison()160 if (size & KASAN_GRANULE_MASK) { in kasan_poison_last_granule()162 *shadow = size & KASAN_GRANULE_MASK; in kasan_poison_last_granule()186 if (WARN_ON((unsigned long)addr & KASAN_GRANULE_MASK)) in kasan_unpoison()
132 #define KASAN_GRANULE_MASK (KASAN_GRANULE_SIZE - 1) macro453 if (WARN_ON((unsigned long)addr & KASAN_GRANULE_MASK)) in kasan_poison()455 if (WARN_ON(size & KASAN_GRANULE_MASK)) in kasan_poison()471 if (WARN_ON((unsigned long)addr & KASAN_GRANULE_MASK)) in kasan_unpoison()
48 s8 last_accessible_byte = (unsigned long)addr & KASAN_GRANULE_MASK; in memory_is_poisoned_1()64 if (unlikely((((unsigned long)addr + size - 1) & KASAN_GRANULE_MASK) < size - 1)) in memory_is_poisoned_2_4_8()133 s8 last_accessible_byte = (unsigned long)last_byte & KASAN_GRANULE_MASK; in memory_is_poisoned_n()