函数逻辑报告 |
Source Code:mm\mempool.c |
Create Date:2022-07-27 15:27:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:mempool_init_node
函数原型:int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, mempool_free_t *free_fn, void *pool_data, gfp_t gfp_mask, int node_id)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| mempool_t * | pool | |
| int | min_nr | |
| mempool_alloc_t * | alloc_fn | |
| mempool_free_t * | free_fn | |
| void * | pool_data | |
| gfp_t | gfp_mask | |
| int | node_id |
| 184 | spin_lock_init( & lock) |
| 189 | init_waitqueue_head( & wait) |
| 191 | elements等于kmalloc_array_node(min_nr, *的长度, gfp_mask, node_id) |
| 210 | 返回:0 |
| 名称 | 描述 |
|---|---|
| mempool_init | mempool_init - initialize a memory pool*@pool: pointer to the memory pool that should be initialized*@min_nr: the minimum number of elements guaranteed to be* allocated for this pool.*@alloc_fn: user-defined element-allocation function. |
| mempool_create_node |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |