函数逻辑报告 | 
Source Code:mm\kmemleak.c | 
Create Date:2022-07-27 17:56:06 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Look up an object in the object search tree and remove it from both* object_tree_root and object_list. The returned object's use_count should be* at least 1, as initially set by create_object().
函数原型:static struct kmemleak_object *find_and_remove_object(unsigned long ptr, int alias)
返回类型:struct kmemleak_object
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned long | ptr | |
| int | alias | 
| 551 | 如果object则Remove an object from the object_tree_root and object_list. Must be called* with the kmemleak_lock held _if_ kmemleak is still enabled. | 
| 553 | write_unlock_irqrestore( & w_lock protecting the access to object_list and object_tree_root , flags) | 
| 555 | 返回:object | 
| 名称 | 描述 | 
|---|---|
| delete_object_full | Look up the metadata (struct kmemleak_object) corresponding to ptr and* delete it. | 
| delete_object_part | 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. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |