Home
last modified time | relevance | path

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

/lib/
Dtest_kasan.c30 #define OOB_TAG_OFF (IS_ENABLED(CONFIG_KASAN_GENERIC) ? 0 : KASAN_GRANULE_SIZE) macro
198 KUNIT_EXPECT_KASAN_FAIL(test, ptr[size + OOB_TAG_OFF] = 0); in kmalloc_pagealloc_oob_right()
659 KUNIT_EXPECT_KASAN_FAIL(test, *p = p[size + OOB_TAG_OFF]); in kmem_cache_oob()
801 char *p = &array[ARRAY_SIZE(stack_array) + OOB_TAG_OFF]; in kasan_stack_oob()
912 if (OOB_TAG_OFF) in kasan_memchr()
913 size = round_up(size, OOB_TAG_OFF); in kasan_memchr()
938 if (OOB_TAG_OFF) in kasan_memcmp()
939 size = round_up(size, OOB_TAG_OFF); in kasan_memcmp()