函数逻辑报告 |
Source Code:mm\kmemleak.c |
Create Date:2022-07-27 17:56:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.).
函数原型:void __ref kmemleak_free(const void *ptr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const void * | ptr |
960 | 如果same as above but only for the kmemleak_free() callback 且ptr且非是错误则Look up the metadata (struct kmemleak_object) corresponding to ptr and* delete it. |
名称 | 描述 |
---|---|
genradix_free_node | |
vfree_atomic | vfree_atomic - release memory allocated by vmalloc()*@addr: memory base address* This one is just like vfree() but can be called in any atomic context* except NMIs. |
vfree | vfree - release memory allocated by vmalloc()*@addr: memory base address* Free the virtually continuous memory area starting at @addr, as* obtained from vmalloc(), vmalloc_32() or __vmalloc() |
kfree | 释放内存 |
kfree_hook | |
sg_kfree | |
setup_per_cpu_areas | UP percpu area setup.* UP always uses km-based percpu allocator with identity mapping.* Static percpu variables are indistinguishable from the usual static* variables and don't require any special preparation. |
kmemleak_free_recursive | |
blk_mq_free_rqs |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |