函数逻辑报告 |
Source Code:lib\stackdepot.c |
Create Date:2022-07-27 08:19:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:init_stack_slab
函数原型:static bool init_stack_slab(void **prealloc)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void ** | prealloc |
| 76 | 如果非prealloc则返回:false |
| 82 | 如果smp_load_acquire( & next_slab_inited)则返回:true |
| 84 | 如果(stack_slabs[depot_index] == NULL)则 |
| 86 | * prealloc = NULL |
| 87 | 否则 |
| 89 | 如果depot_index加1小于STACK_ALLOC_MAX_SLABS则 |
| 90 | stack_slabs[depot_index + 1]等于prealloc |
| 91 | * prealloc = NULL |
| 97 | smp_store_release( & next_slab_inited, 1) |
| 99 | 返回:true |
| 名称 | 描述 |
|---|---|
| depot_alloc_stack | |
| stack_depot_save | stack_depot_save - Save a stack trace from an array*@entries: Pointer to storage array*@nr_entries: Size of the storage array*@alloc_flags: Allocation gfp flags* Return: The handle of the stack struct stored in depot |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |