Function report | 
Source Code:block\blk-ioc.c | 
Create Date:2022-07-28 17:04:17 | 
| Last Modify:2020-03-17 23:16:06 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:put_io_context - put a reference of io_context*@ioc: io_context to put* Decrement reference count of @ioc and release it if the count reaches* zero.
Proto:void put_io_context(struct io_context *ioc)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct io_context * | ioc | 
| 138 | bool free_ioc = false | 
| 140 | If (ioc == NULL) Then Return | 
| 143 | BUG_ON(atomic_long_read( & refcount) <= 0) | 
| 149 | If atomic_long_dec_and_test( & refcount) Then | 
| 154 | Else free_ioc = true | 
| 159 | If free_ioc Then kmem_cache_free(For io context allocations, ioc) | 
| Name | Describe | 
|---|---|
| put_io_context_active | put_io_context_active - put active reference on ioc*@ioc: ioc of interest* Undo get_io_context_active(). If active reference reaches zero after* put, @ioc can never issue further IOs and ioscheds are notified. | 
| blk_mq_free_request | |
| set_task_ioprio | 
| 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  |