函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:18:05 |
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:alloc_kmem_cache_cpus
函数原型:static struct array_cache __percpu *alloc_kmem_cache_cpus(struct kmem_cache *cachep, int entries, int batchcount)
返回类型:struct array_cache
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kmem_cache * | cachep | |
| int | entries | |
| int | batchcount |
| 1777 | size等于*的长度乘entries加sizeof(structarray_cache) |
| 1780 | 如果非cpu_cache则返回:NULL |
| 1784 | init_arraycache(per_cpu_ptr(cpu_cache, cpu), entries, batchcount) |
| 1788 | 返回:cpu_cache |
| 名称 | 描述 |
|---|---|
| setup_cpu_cache | |
| __do_tune_cpucache | Always called with the slab_mutex held |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |