函数逻辑报告 |
Source Code:mm\kmemleak.c |
Create Date:2022-07-27 17:56:15 |
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.
函数原型:static void delete_object_full(unsigned long ptr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | ptr |
685 | 如果非object则 |
687 | Print a warning and dump the stack trace.("Freeing unknown object at 0x%08lx\n", ptr) |
690 | 返回 |
名称 | 描述 |
---|---|
kmemleak_free | kmemleak_free - unregister a previously registered object*@ptr: pointer to beginning of the object* This function is called from the kernel allocators when an object (memory* block) is freed (kmem_cache_free, kfree, vfree etc.). |
kmemleak_free_percpu | kmemleak_free_percpu - unregister a previously registered __percpu object*@ptr: __percpu pointer to beginning of the object* This function is called from the kernel percpu allocator when an object* (memory block) is freed (free_percpu). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |