Home
last modified time | relevance | path

Searched refs:kasan_reset_tag (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/mm/
Dpage_poison.c28 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()
Dkmemleak.c310 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()
Dslub.c405 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 …]
Dslab_common.c1418 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/
Dsw_tags.c108 untagged_addr = kasan_reset_tag((const void *)addr); in kasan_check_range()
125 void *untagged_addr = kasan_reset_tag(addr); in kasan_byte_accessible()
Dreport_hw_tags.c27 return kasan_reset_tag(addr); in kasan_find_first_bad_addr()
Dkasan.h305 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()
Dreport_sw_tags.c36 void *p = kasan_reset_tag(addr); in kasan_find_first_bad_addr()
Dreport_tags.c67 if (kasan_reset_tag(ptr) != info->object || in kasan_complete_mode_report_info()
Dcommon.c209 object = kasan_reset_tag(object); in ____kasan_slab_free()
345 if (is_kfence_address(kasan_reset_tag(object))) in ____kasan_kmalloc()
Dreport.c466 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()
Dshadow.c136 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/
Dvmap_stack.h26 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
/linux-6.6.21/include/linux/
Dioremap.h19 unsigned long addr = (unsigned long)kasan_reset_tag(x); in is_ioremap_addr()
Dkasan.h336 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
Dslub_def.h187 return reciprocal_divide(kasan_reset_tag(obj) - addr, in __obj_to_index()
Dhighmem.h248 clear_page(kasan_reset_tag(kaddr)); in clear_highpage_kasan_tagged()
/linux-6.6.21/arch/riscv/include/asm/
Dirq_stack.h26 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
/linux-6.6.21/scripts/gdb/linux/
Dslab.py62 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)
Dmm.py183 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
Dvmalloc.py19 addr = pg_ops.kasan_reset_tag(x)
/linux-6.6.21/kernel/
Dscs.c51 return kasan_reset_tag(s); in __scs_alloc()
/linux-6.6.21/arch/arm64/mm/
Dpageattr.c97 end > (unsigned long)kasan_reset_tag(area->addr) + area->size || in change_memory_common()
/linux-6.6.21/Documentation/translations/zh_CN/dev-tools/
Dkasan.rst398 对于基于标签的KASAN模式,要禁用访问检查,请使用 ``kasan_reset_tag()`` 或
/linux-6.6.21/arch/arm64/kernel/
Dmodule.c150 return kasan_reset_tag(p); in module_alloc()

12