函数逻辑报告 |
Source Code:mm\kmemleak.c |
Create Date:2022-07-27 17:56:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Look up the metadata (struct kmemleak_object) corresponding to ptr and* delete it. If the memory block is partially freed, the function may create* additional metadata for the remaining parts of the block.
函数原型:static void delete_object_part(unsigned long ptr, size_t size)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | ptr | |
size_t | size |
706 | 如果非object则 |
708 | Print a warning and dump the stack trace.("Partially freeing unknown object at 0x%08lx (size %zu)\n", ptr, size) |
711 | 返回 |
721 | 如果ptr大于start则Create the metadata (struct kmemleak_object) corresponding to an allocated* memory block and add it to the object_list and object_tree_root. |
724 | 如果ptr加size小于end则Create the metadata (struct kmemleak_object) corresponding to an allocated* memory block and add it to the object_list and object_tree_root. |
名称 | 描述 |
---|---|
kmemleak_free_part | kmemleak_free_part - partially unregister a previously registered object*@ptr: pointer to the beginning or inside the object |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |