函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\tags.c Create Date:2022-07-27 17:29:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kasan_reset_tag

函数原型:void *kasan_reset_tag(const void *addr)

返回类型:void

参数:

类型参数名称
const void *addr
76  返回:reset_tag(addr)
调用者
名称描述
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.