| Function report | 
| Source Code: fs\io_uring.c | Create Date:2022-07-28 20:22:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:io_req_defer
Proto:static int io_req_defer(struct io_kiocb *req, const struct io_uring_sqe *sqe)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct io_kiocb * | req | |
| const struct io_uring_sqe * | sqe | 
| 3159 | If Not req_need_defer(req) && list_empty - tests whether a list is empty*@head: the list to test. Then Return 0 | 
| 3162 | If Not io && io_alloc_async_ctx(req) Then Return -EAGAIN | 
| 3165 | ret = io_req_defer_prep(req, sqe) | 
| 3169 | spin_lock_irq( & completion_lock) | 
| 3170 | If Not req_need_defer(req) && list_empty - tests whether a list is empty*@head: the list to test. Then | 
| 3171 | spin_unlock_irq( & completion_lock) | 
| 3172 | Return 0 | 
| 3177 | spin_unlock_irq( & completion_lock) | 
| 3178 | Return -cb queued, will get completion event | 
| Name | Describe | 
|---|---|
| io_queue_sqe | 
| 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 |