函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:19:09 |
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:____cache_alloc
函数原型:static inline void *____cache_alloc(struct kmem_cache *cachep, gfp_t flags)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kmem_cache * | cachep | |
| gfp_t | flags |
| 3091 | check_irq_off() |
| 3093 | ac等于cpu_cache_get(cachep) |
| 3094 | 如果此条件成立可能性大(为编译器优化)(avail)则 |
| 3095 | touched等于1 |
| 3096 | objp等于Must have this definition in here for the proper* alignment of array_cache. Also simplifies accessing* the entries.[--avail] |
| 3098 | STATS_INC_ALLOCHIT(cachep) |
| 3099 | 转到:out |
| 3102 | STATS_INC_ALLOCMISS(cachep) |
| 3103 | objp等于cache_alloc_refill(cachep, flags) |
| 3108 | ac等于cpu_cache_get(cachep) |
| 3110 | out : |
| 3116 | 如果objp则kmemleak_erase( & Must have this definition in here for the proper* alignment of array_cache. Also simplifies accessing* the entries.[avail]) |
| 3118 | 返回:objp |
| 名称 | 描述 |
|---|---|
| slab_alloc_node | |
| __do_cache_alloc |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |