/linux-6.6.21/mm/ |
D | page_poison.c | 28 memset(kasan_reset_tag(addr), PAGE_POISON, PAGE_SIZE); in poison_page() 87 check_poison_mem(page, kasan_reset_tag(addr), PAGE_SIZE); in unpoison_page()
|
D | kmemleak.c | 310 HEX_GROUP_SIZE, kasan_reset_tag((void *)ptr), len, HEX_ASCII); in hex_dump_object() 406 unsigned long untagged_ptr = (unsigned long)kasan_reset_tag((void *)ptr); in __lookup_object() 413 untagged_objp = (unsigned long)kasan_reset_tag((void *)object->pointer); in __lookup_object() 685 untagged_ptr = (unsigned long)kasan_reset_tag((void *)ptr); in __create_object() 700 untagged_objp = (unsigned long)kasan_reset_tag((void *)parent->pointer); in __create_object() 883 untagged_ptr = (unsigned long)kasan_reset_tag((void *)ptr); in add_scan_area() 884 untagged_objp = (unsigned long)kasan_reset_tag((void *)object->pointer); in add_scan_area() 1259 object->checksum = crc32(0, kasan_reset_tag((void *)object->pointer), object->size); in update_checksum() 1334 pointer = *(unsigned long *)kasan_reset_tag((void *)ptr); in scan_block() 1337 untagged_ptr = (unsigned long)kasan_reset_tag((void *)pointer); in scan_block()
|
D | slub.c | 405 object = kasan_reset_tag(object); in get_freepointer() 437 object = kasan_reset_tag(object); in get_freepointer_safe() 451 freeptr_addr = (unsigned long)kasan_reset_tag((void *)freeptr_addr); in set_freepointer() 724 object = kasan_reset_tag(object); in check_valid_pointer() 739 16, 1, kasan_reset_tag((void *)addr), length, 1); in print_section() 770 return kasan_reset_tag(p + alloc); in get_track() 872 void *p = kasan_reset_tag(object); in set_orig_size() 896 void *p = kasan_reset_tag(object); in get_orig_size() 1029 u8 *p = kasan_reset_tag(object); in init_object() 1070 fault = memchr_inv(kasan_reset_tag(start), value, bytes); in check_bytes_and_report() [all …]
|
D | slab_common.c | 1418 memcpy(ret, kasan_reset_tag(p), ks); in __do_krealloc() 1448 if (ret && kasan_reset_tag(p) != kasan_reset_tag(ret)) in krealloc()
|
/linux-6.6.21/mm/kasan/ |
D | sw_tags.c | 108 untagged_addr = kasan_reset_tag((const void *)addr); in kasan_check_range() 125 void *untagged_addr = kasan_reset_tag(addr); in kasan_byte_accessible()
|
D | report_hw_tags.c | 27 return kasan_reset_tag(addr); in kasan_find_first_bad_addr()
|
D | kasan.h | 305 return (kasan_reset_tag(addr) >= in addr_has_metadata() 447 addr = kasan_reset_tag(addr); in kasan_poison() 465 addr = kasan_reset_tag(addr); in kasan_unpoison()
|
D | report_sw_tags.c | 36 void *p = kasan_reset_tag(addr); in kasan_find_first_bad_addr()
|
D | report_tags.c | 67 if (kasan_reset_tag(ptr) != info->object || in kasan_complete_mode_report_info()
|
D | common.c | 209 object = kasan_reset_tag(object); in ____kasan_slab_free() 345 if (is_kfence_address(kasan_reset_tag(object))) in ____kasan_kmalloc()
|
D | report.c | 466 void *addr = kasan_reset_tag((void *)info->access_addr); in print_report() 484 void *addr = kasan_reset_tag((void *)info->access_addr); in complete_report_info()
|
D | shadow.c | 136 addr = kasan_reset_tag(addr); in kasan_poison() 176 addr = kasan_reset_tag(addr); in kasan_unpoison()
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | vmap_stack.h | 26 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
|
/linux-6.6.21/include/linux/ |
D | ioremap.h | 19 unsigned long addr = (unsigned long)kasan_reset_tag(x); in is_ioremap_addr()
|
D | kasan.h | 336 static inline void *kasan_reset_tag(const void *addr) in kasan_reset_tag() function 353 static inline void *kasan_reset_tag(const void *addr) in kasan_reset_tag() function
|
D | slub_def.h | 187 return reciprocal_divide(kasan_reset_tag(obj) - addr, in __obj_to_index()
|
D | highmem.h | 248 clear_page(kasan_reset_tag(kaddr)); in clear_highpage_kasan_tagged()
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | irq_stack.h | 26 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
|
/linux-6.6.21/scripts/gdb/linux/ |
D | slab.py | 62 p = mm.page_ops().ops.kasan_reset_tag(obj) 86 …return reciprocal_divide(int(mm.page_ops().ops.kasan_reset_tag(obj)) - addr, cache['reciprocal_siz… 106 obj = mm.page_ops().ops.kasan_reset_tag(obj)
|
D | mm.py | 183 def kasan_reset_tag(self, addr): member in aarch64_page_ops 201 untagged_va = self.kasan_reset_tag(va) 209 if not self.__is_lm_address(self.kasan_reset_tag(va)): 275 __idx = int(self.kasan_reset_tag(va) - self.PAGE_OFFSET) // self.PAGE_SIZE
|
D | vmalloc.py | 19 addr = pg_ops.kasan_reset_tag(x)
|
/linux-6.6.21/kernel/ |
D | scs.c | 51 return kasan_reset_tag(s); in __scs_alloc()
|
/linux-6.6.21/arch/arm64/mm/ |
D | pageattr.c | 97 end > (unsigned long)kasan_reset_tag(area->addr) + area->size || in change_memory_common()
|
/linux-6.6.21/Documentation/translations/zh_CN/dev-tools/ |
D | kasan.rst | 398 对于基于标签的KASAN模式,要禁用访问检查,请使用 ``kasan_reset_tag()`` 或
|
/linux-6.6.21/arch/arm64/kernel/ |
D | module.c | 150 return kasan_reset_tag(p); in module_alloc()
|