Function report |
Source Code:fs\aio.c |
Create Date:2022-07-28 20:21:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aio_free_ring
Proto:static void aio_free_ring(struct kioctx *ctx)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If Not page Then Continue |
| 317 | ring_pages[i] = NULL |
| 321 | If ring_pages && ring_pages != internal_pages Then |
| 322 | kfree(ring_pages) |
| 323 | ring_pages = NULL |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |