Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.c317 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 …]
Dslab_common.c1221 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()
Dexecmem.c52 return kasan_reset_tag(p); in __execmem_alloc()
Dslub.c504 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/
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.h333 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()
Dreport_sw_tags.c36 void *p = kasan_reset_tag(addr); in kasan_find_first_bad_addr()
Dreport_tags.c61 if (kasan_reset_tag(entry->ptr) != info->object || in kasan_complete_mode_report_info()
Dcommon.c217 object = kasan_reset_tag(object); in check_slab_allocation()
237 object = kasan_reset_tag(object); in poison_slab_object()
Dreport.c479 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()
Dshadow.c136 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/
Dvmap_stack.h26 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
/linux-6.12.1/include/linux/
Dioremap.h20 unsigned long addr = (unsigned long)kasan_reset_tag(x); in is_ioremap_addr()
Dkasan.h515 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
Dhighmem.h248 clear_page(kasan_reset_tag(kaddr)); in clear_highpage_kasan_tagged()
/linux-6.12.1/arch/riscv/include/asm/
Dirq_stack.h29 return kasan_reset_tag(p); in arch_alloc_vmap_stack()
/linux-6.12.1/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.py188 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
Dvmalloc.py19 addr = pg_ops.kasan_reset_tag(x)
/linux-6.12.1/include/linux/sched/
Dtask_stack.h93 obj = kasan_reset_tag(obj); in object_is_on_stack()
/linux-6.12.1/kernel/
Dscs.c51 return kasan_reset_tag(s); in __scs_alloc()
/linux-6.12.1/arch/arm64/mm/
Dpageattr.c97 end > (unsigned long)kasan_reset_tag(area->addr) + area->size || in change_memory_common()
/linux-6.12.1/Documentation/translations/zh_TW/dev-tools/
Dkasan.rst398 對於基於標籤的KASAN模式,要禁用訪問檢查,請使用 ``kasan_reset_tag()`` 或

12