函数逻辑报告 |
Source Code:mm\zbud.c |
Create Date:2022-07-27 18:00:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:zbud_create_pool() - create a new zbud pool*@gfp: gfp flags when allocating the zbud pool structure*@ops: user-defined operations for the zbud pool* Return: pointer to the new zbud pool or NULL if the metadata allocation* failed.
函数原型:struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops)
返回类型:struct zbud_pool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| gfp_t | gfp | |
| const struct zbud_ops * | ops |
| 312 | 如果非pool则返回:NULL |
| 314 | spin_lock_init( & lock) |
| 315 | for_each_unbuddied_list(i, 0) |
| 316 | 初始化链表头 |
| 317 | 初始化链表头 |
| 318 | 初始化链表头 |
| 319 | pages_nr等于0 |
| 321 | 返回:pool |
| 名称 | 描述 |
|---|---|
| zbud_zpool_create |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |