| Function report | 
| Source Code: block\blk-ioc.c | Create Date:2022-07-28 17:04:15 | 
| Last Modify:2020-03-17 23:16:06 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Slow path for ioc release in put_io_context(). Performs double-lock* dancing to unlink all icq's and then frees ioc.
Proto:static void ioc_release_fn(struct work_struct *work)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct work_struct * | work | 
| 108 | When Not hlist_empty( & icq_list) cycle | 
| 109 | icq = hlist_entry(first, structio_cq, ioc_node) | 
| 113 | If spin_trylock( & queue_lock) Then | 
| 114 | Release an icq. Called with ioc locked for blk-mq, and with both ioc* and queue locked for legacy. | 
| 115 | spin_unlock( & queue_lock) | 
| 116 | Else | 
| 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 |