函数逻辑报告 |
Source Code:mm\slub.c |
Create Date:2022-07-27 17:20:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:stat
函数原型:static inline void stat(const struct kmem_cache *s, enum stat_item si)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct kmem_cache * | s | |
enum stat_item | si |
NULL
名称 | 描述 |
---|---|
__cmpxchg_double_slab | Interrupts must be disabled (for the fallback code to work right) |
cmpxchg_double_slab | |
allocate_slab | |
get_partial_node | Try to allocate a partial slab from a specific node. |
note_cmpxchg_failure | |
deactivate_slab | Remove the cpu slab |
flush_slab | |
new_slab_objects | |
___slab_alloc | Slow path. The lockless freelist is empty or we need to perform* debugging duties.* Processing is still very fast if new objects have been freed to the* regular freelist. In that case we simply take over the regular freelist |
slab_alloc_node | Inlined fastpath so that allocation functions (kmalloc, kmem_cache_alloc)* have the fastpath folded into their functions. So no function call* overhead for requests that can be satisfied on the fastpath. |
__slab_free | Slow path handling. This may still be called frequently since objects* have a longer lifetime than the cpu slabs in most processing loads.* So we still attempt to reduce cache line usage. Just take the slab* lock and free the item |
do_slab_free | Fastpath with forced inlining to produce a kfree and kmem_cache_free that* can perform fastpath freeing without additional function calls.* The fastpath is only possible if we are freeing to the current cpu slab* of this processor |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |