Searched refs:KASAN_TAG_KERNEL (Results 1 – 7 of 7) sorted by relevance
/linux/mm/kasan/ |
H A D | sw_tags.c | 105 if (tag == KASAN_TAG_KERNEL) in kasan_check_range() 132 return tag == KASAN_TAG_KERNEL || tag == shadow_byte; in kasan_byte_accessible()
|
H A D | kasan_test_c.c | 1665 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 D | common.c | 188 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 D | kasan.h | 497 return ptr_tag == KASAN_TAG_KERNEL || ptr_tag == mem_tag; in kasan_byte_accessible()
|
/linux/include/linux/ |
H A D | kasan-tags.h | 5 #define KASAN_TAG_KERNEL 0xFF /* native kernel pointers tag */ macro
|
H A D | mm.h | 1812 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 D | page_alloc.c | 1030 return page_kasan_tag(page) == KASAN_TAG_KERNEL; in should_skip_kasan_poison()
|