函数逻辑报告 |
Source Code:mm\kmemleak.c |
Create Date:2022-07-27 17:55:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Increment the object use_count. Return 1 if successful or 0 otherwise. Note* that once an object's use_count reached 0, the RCU freeing was already* registered and the object should no longer be used. This function must be
函数原型:static int get_object(struct kmemleak_object *object)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmemleak_object * | object |
名称 | 描述 |
---|---|
find_and_get_object | Look up an object in the object search tree and increase its use_count. |
update_refs | Update an object's references. object->lock must be held by the caller. |
kmemleak_scan | Scan data sections and all the referenced memory blocks allocated via the* kernel's standard allocators. This function must be called with the* scan_mutex held. |
kmemleak_seq_start | Iterate over the object_list and return the first valid object at or after* the required position with its use_count incremented. The function triggers* a memory scanning when the pos argument points to the first position. |
kmemleak_seq_next | Return the next object in the object_list. The function decrements the* use_count of the previous object and increases that of the next one. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |