/openbmc/linux/mm/ |
H A 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()
|
H A 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()
|
H A D | slub.c | 405 object = kasan_reset_tag(object); in get_freepointer() 437 object = kasan_reset_tag(object); in get_freepointer_safe() 724 object = kasan_reset_tag(object); in check_valid_pointer() 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() 1794 memset(kasan_reset_tag(x), 0, s->object_size); in slab_free_hook() 1796 memset((char *)kasan_reset_tag(x) + s->inuse, 0, in slab_free_hook() 4662 objp0 = kasan_reset_tag(object); in __kmem_obj_info() [all …]
|
H A D | slab_common.c | 1399 memcpy(ret, kasan_reset_tag(p), ks); in __do_krealloc() 1429 if (ret && kasan_reset_tag(p) != kasan_reset_tag(ret)) in krealloc()
|
/openbmc/linux/mm/kasan/ |
H A 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()
|
H A D | report_hw_tags.c | 27 return kasan_reset_tag(addr); in kasan_find_first_bad_addr()
|
H A D | report_sw_tags.c | 36 void *p = kasan_reset_tag(addr); in kasan_find_first_bad_addr()
|
H A 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()
|
H A D | report_tags.c | 67 if (kasan_reset_tag(ptr) != info->object || in kasan_complete_mode_report_info()
|
H A 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()
|
H A 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()
|
H A D | shadow.c | 136 addr = kasan_reset_tag(addr); in kasan_poison() 176 addr = kasan_reset_tag(addr); in kasan_unpoison()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | vmap_stack.h | 26 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
|
/openbmc/linux/include/linux/ |
H A D | ioremap.h | 19 unsigned long addr = (unsigned long)kasan_reset_tag(x); in is_ioremap_addr()
|
H A 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
|
H A D | slub_def.h | 187 return reciprocal_divide(kasan_reset_tag(obj) - addr, in __obj_to_index()
|
H A D | highmem.h | 248 clear_page(kasan_reset_tag(kaddr)); in clear_highpage_kasan_tagged()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | irq_stack.h | 26 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
|
/openbmc/linux/scripts/gdb/linux/ |
H A 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)
|
H A 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
|
H A D | vmalloc.py | 19 addr = pg_ops.kasan_reset_tag(x)
|
/openbmc/linux/kernel/ |
H A D | scs.c | 51 return kasan_reset_tag(s); in __scs_alloc()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | pageattr.c | 97 end > (unsigned long)kasan_reset_tag(area->addr) + area->size || in change_memory_common()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | module.c | 150 return kasan_reset_tag(p); in module_alloc()
|
/openbmc/linux/Documentation/translations/zh_CN/dev-tools/ |
H A D | kasan.rst | 398 对于基于标签的KASAN模式,要禁用访问检查,请使用 ``kasan_reset_tag()`` 或
|