函数逻辑报告 |
Source Code:mm\kmemleak.c |
Create Date:2022-07-27 17:56:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Any surplus references (object already gray) to 'ptr' are passed to* 'excess_ref'. This is used in the vmalloc() case where a pointer to* vm_struct may be used as an alternative reference to the vmalloc'ed object* (see free_thread_stack()).
函数原型:static void object_set_excess_ref(unsigned long ptr, unsigned long excess_ref)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | ptr | |
unsigned long | excess_ref |
839 | 如果非object则 |
840 | Print a warning and dump the stack trace.("Setting excess_ref on unknown object at 0x%08lx\n", ptr) |
842 | 返回 |
845 | spin_lock_irqsave( & lock, flags) |
847 | spin_unlock_irqrestore( & lock, flags) |
名称 | 描述 |
---|---|
kmemleak_vmalloc | kmemleak_vmalloc - register a newly vmalloc'ed object*@area: pointer to vm_struct*@size: size of the object*@gfp: __vmalloc() flags used for kmemleak internal memory allocations* This function is called from the vmalloc() kernel allocator when a new |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |