函数逻辑报告 |
Source Code:fs\aio.c |
Create Date:2022-07-29 10:53:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aio_free_ring
函数原型:static void aio_free_ring(struct kioctx *ctx)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kioctx * | ctx |
| 308 | put_aio_ring_file(ctx) |
| 312 | pr_debug("pid(%d) [%d] page->count=%d\n", pid, i, page_count(ring_pages[i])) |
| 314 | page等于ring_pages[i] |
| 315 | 如果非page则继续下一循环 |
| 317 | ring_pages[i] = NULL |
| 321 | 如果ring_pages且ring_pages不等于internal_pages则 |
| 322 | 释放内存 |
| 323 | ring_pages = NULL |
| 名称 | 描述 |
|---|---|
| aio_setup_ring | |
| free_ioctx | _ioctx() should be RCU delayed to synchronize against the RCU* protected lookup_ioctx() and also needs process context to call* aio_free_ring(). Use rcu_work. |
| ioctx_alloc | x_alloc* Allocates and initializes an ioctx. Returns an ERR_PTR if it failed. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |