/linux-6.12.1/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 | 317 HEX_GROUP_SIZE, kasan_reset_tag((void *)ptr), len, HEX_ASCII); in hex_dump_object() 419 unsigned long untagged_ptr = (unsigned long)kasan_reset_tag((void *)ptr); in __lookup_object() 426 untagged_objp = (unsigned long)kasan_reset_tag((void *)object->pointer); in __lookup_object() 707 untagged_ptr = (unsigned long)kasan_reset_tag((void *)ptr); in __link_object() 725 untagged_objp = (unsigned long)kasan_reset_tag((void *)parent->pointer); in __link_object() 956 untagged_ptr = (unsigned long)kasan_reset_tag((void *)ptr); in add_scan_area() 957 untagged_objp = (unsigned long)kasan_reset_tag((void *)object->pointer); in add_scan_area() 1330 object->checksum ^= crc32(0, kasan_reset_tag((void *)ptr), object->size); in update_checksum() 1333 object->checksum = crc32(0, kasan_reset_tag((void *)object->pointer), object->size); in update_checksum() 1372 untagged_ptr = (unsigned long)kasan_reset_tag((void *)pointer); in pointer_update_refs() [all …]
|
D | slab_common.c | 1221 memset(kasan_reset_tag(p) + new_size, 0, ks - new_size); in __do_krealloc() 1233 memcpy(ret, kasan_reset_tag(p), ks); in __do_krealloc() 1279 if (ret && kasan_reset_tag(p) != kasan_reset_tag(ret)) in krealloc_noprof()
|
D | execmem.c | 52 return kasan_reset_tag(p); in __execmem_alloc()
|
D | slub.c | 504 object = kasan_reset_tag(object); in get_freepointer() 536 object = kasan_reset_tag(object); in get_freepointer_safe() 550 freeptr_addr = (unsigned long)kasan_reset_tag((void *)freeptr_addr); in set_freepointer() 762 void *p = kasan_reset_tag(object); in set_orig_size() 786 void *p = kasan_reset_tag(object); in get_orig_size() 908 object = kasan_reset_tag(object); in check_valid_pointer() 923 16, 1, kasan_reset_tag((void *)addr), length, 1); in print_section() 934 return kasan_reset_tag(p + alloc); in get_track() 1147 u8 *p = kasan_reset_tag(object); in init_object() 1202 fault = memchr_inv(kasan_reset_tag(start), value, bytes); in check_bytes_and_report() [all …]
|
/linux-6.12.1/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 | 333 return (kasan_reset_tag(addr) >= in addr_has_metadata() 478 hw_set_mem_tag_range(kasan_reset_tag(addr), size, value, init); in kasan_poison() 489 hw_set_mem_tag_range(kasan_reset_tag(addr), size, tag, init); 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 | 61 if (kasan_reset_tag(entry->ptr) != info->object || in kasan_complete_mode_report_info()
|
D | common.c | 217 object = kasan_reset_tag(object); in check_slab_allocation() 237 object = kasan_reset_tag(object); in poison_slab_object()
|
D | report.c | 479 void *addr = kasan_reset_tag((void *)info->access_addr); in print_report() 497 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() 172 addr = kasan_reset_tag(addr); in kasan_unpoison()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | vmap_stack.h | 26 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
|
/linux-6.12.1/include/linux/ |
D | ioremap.h | 20 unsigned long addr = (unsigned long)kasan_reset_tag(x); in is_ioremap_addr()
|
D | kasan.h | 515 static inline void *kasan_reset_tag(const void *addr) in kasan_reset_tag() function 532 static inline void *kasan_reset_tag(const void *addr) in kasan_reset_tag() function
|
D | highmem.h | 248 clear_page(kasan_reset_tag(kaddr)); in clear_highpage_kasan_tagged()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | irq_stack.h | 29 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
|
/linux-6.12.1/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 | 188 def kasan_reset_tag(self, addr): member in aarch64_page_ops 206 untagged_va = self.kasan_reset_tag(va) 214 if not self.__is_lm_address(self.kasan_reset_tag(va)): 280 __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.12.1/include/linux/sched/ |
D | task_stack.h | 93 obj = kasan_reset_tag(obj); in object_is_on_stack()
|
/linux-6.12.1/kernel/ |
D | scs.c | 51 return kasan_reset_tag(s); in __scs_alloc()
|
/linux-6.12.1/arch/arm64/mm/ |
D | pageattr.c | 97 end > (unsigned long)kasan_reset_tag(area->addr) + area->size || in change_memory_common()
|
/linux-6.12.1/Documentation/translations/zh_TW/dev-tools/ |
D | kasan.rst | 398 對於基於標籤的KASAN模式,要禁用訪問檢查,請使用 ``kasan_reset_tag()`` 或
|