Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\tags.c Create Date:2022-07-28 15:55:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kasan_reset_tag

Proto:void *kasan_reset_tag(const void *addr)

Type:void

Parameter:

TypeParameterName
const void *addr
76  Return reset_tag(addr)
Caller
NameDescribe
kreallockrealloc - reallocate memory. The contents will remain unchanged.*@p: object to reallocate memory for.*@new_size: how many bytes of memory are required.*@flags: the type of memory to allocate.* The contents of the object pointed to are preserved up to the
slab_indexDetermine object index from a given position
create_objectCreate the metadata (struct kmemleak_object) corresponding to an allocated* memory block and add it to the object_list and object_tree_root.
scan_blockScan a memory block (exclusive range) for valid pointers and add those* found to the gray list.