Home
last modified time | relevance | path

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

/linux/mm/kasan/
H A Dsw_tags.c105 if (tag == KASAN_TAG_KERNEL) in kasan_check_range()
132 return tag == KASAN_TAG_KERNEL || tag == shadow_byte; in kasan_byte_accessible()
H A Dkasan_test_c.c1665 KUNIT_EXPECT_LT(test, (u8)get_tag(ptr), (u8)KASAN_TAG_KERNEL); in vmalloc_helpers_tags()
1768 KUNIT_EXPECT_LT(test, (u8)get_tag(v_ptr), (u8)KASAN_TAG_KERNEL); in vmap_tags()
1803 KUNIT_EXPECT_LT(test, (u8)get_tag(v_ptr), (u8)KASAN_TAG_KERNEL); in vm_map_ram_tags()
1831 KUNIT_EXPECT_LT(test, (u8)get_tag(ptr), (u8)KASAN_TAG_KERNEL); in match_all_not_assigned()
1841 KUNIT_EXPECT_LT(test, (u8)get_tag(ptr), (u8)KASAN_TAG_KERNEL); in match_all_not_assigned()
1853 KUNIT_EXPECT_LT(test, (u8)get_tag(ptr), (u8)KASAN_TAG_KERNEL); in match_all_not_assigned()
1871 KUNIT_EXPECT_NE(test, tag, (u8)KASAN_TAG_KERNEL); in match_all_ptr_tag()
1874 ptr = set_tag(ptr, KASAN_TAG_KERNEL); in match_all_ptr_tag()
1894 KUNIT_EXPECT_NE(test, (u8)get_tag(ptr), (u8)KASAN_TAG_KERNEL); in match_all_mem_tag()
1897 for (tag = KASAN_TAG_MIN; tag <= KASAN_TAG_KERNEL; tag++) { in match_all_mem_tag()
[all …]
H A Dcommon.c188 return init ? KASAN_TAG_KERNEL : kasan_random_tag(); in assign_tag()
479 page_kasan_tag(page) == KASAN_TAG_KERNEL) in __kasan_mempool_poison_pages()
H A Dkasan.h497 return ptr_tag == KASAN_TAG_KERNEL || ptr_tag == mem_tag; in kasan_byte_accessible()
/linux/include/linux/
H A Dkasan-tags.h5 #define KASAN_TAG_KERNEL 0xFF /* native kernel pointers tag */ macro
H A Dmm.h1812 u8 tag = KASAN_TAG_KERNEL; in page_kasan_tag()
1841 page_kasan_tag_set(page, KASAN_TAG_KERNEL); in page_kasan_tag_reset()
/linux/mm/
H A Dpage_alloc.c1030 return page_kasan_tag(page) == KASAN_TAG_KERNEL; in should_skip_kasan_poison()