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_async_find_and_cancel
Proto:static void io_async_find_and_cancel(struct io_ring_ctx *ctx, struct io_kiocb *req, __u64 sqe_addr, struct io_kiocb **nxt, int success_ret)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct io_ring_ctx * | ctx | |
| struct io_kiocb * | req | |
| __u64 | sqe_addr | |
| struct io_kiocb ** | nxt | |
| int | success_ret | 
| 3046 | ret = io_async_cancel_one(ctx, (void * )(unsignedlong)sqe_addr) | 
| 3048 | spin_lock_irqsave( & completion_lock, flags) | 
| 3049 | Go to done | 
| 3052 | spin_lock_irqsave( & completion_lock, flags) | 
| 3053 | ret = io_timeout_cancel(ctx, sqe_addr) | 
| 3056 | ret = io_poll_cancel(ctx, sqe_addr) | 
| 3057 | done : | 
| 3058 | If Not ret Then ret = success_ret | 
| 3060 | io_cqring_fill_event(req, ret) | 
| 3061 | io_commit_cqring(ctx) | 
| 3062 | spin_unlock_irqrestore( & completion_lock, flags) | 
| 3063 | io_cqring_ev_posted(ctx) | 
| 3065 | If ret < 0 Then req_set_fail_links(req) | 
| Name | Describe | 
|---|---|
| io_async_cancel | |
| io_link_timeout_fn | 
| 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  |