函数逻辑报告 |
Source Code:mm\kmemleak.c |
Create Date:2022-07-27 17:56:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kmemleak_update_trace - update object allocation stack trace*@ptr: pointer to beginning of the object* Override the object allocation stack trace for cases where the actual* allocation place is not always useful.
函数原型:void __ref kmemleak_update_trace(const void *ptr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const void * | ptr |
1017 | 如果非set if tracing memory operations is enabled 或是错误或空则返回 |
1021 | 如果非object则 |
1023 | Print a warning and dump the stack trace.("Updating stack trace for unknown object at %p\n", ptr) |
1026 | 返回 |
1029 | spin_lock_irqsave( & lock, flags) |
1031 | spin_unlock_irqrestore( & lock, flags) |
名称 | 描述 |
---|---|
radix_tree_node_alloc | This assumes that the caller has performed appropriate preallocation, and* that the caller has pinned this thread of control to the current CPU. |
mempool_alloc | mempool_alloc - allocate an element from a specific memory pool*@pool: pointer to the memory pool which was allocated via* mempool_create().*@gfp_mask: the usual allocation bitmask.* this function only sleeps if the alloc_fn() function sleeps or |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |