Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_uring_cancel_files
Proto:static void io_uring_cancel_files(struct io_ring_ctx *ctx, struct files_struct *files)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_ring_ctx * | ctx | |
| struct files_struct * | files |
| 5039 | DEFINE_WAIT(wait) |
| 5042 | struct io_kiocb * cancel_req = NULL |
| 5044 | spin_lock_irq( & inflight_lock) |
| 5051 | cancel_req = req |
| 5052 | Break |
| 5057 | spin_unlock_irq( & inflight_lock) |
| 5060 | If Not cancel_req Then Break |
| 5063 | io_wq_cancel_work( IO offload , & work) |
| 5064 | io_put_req(cancel_req) |
| 5065 | schedule() |
| Name | Describe |
|---|---|
| io_uring_flush |
| 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 |