Function report |
Source Code:fs\io-wq.c |
Create Date:2022-07-28 20:22:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_wqe_cancel_cb_work
Proto:static enum io_wq_cancel io_wqe_cancel_cb_work(struct io_wqe *wqe, work_cancel_fn *cancel, void *cancel_data)
Type:enum io_wq_cancel
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_wqe * | wqe | |
| work_cancel_fn * | cancel | |
| void * | cancel_data |
| 862 | struct io_cb_cancel_data data = {wqe = wqe, cancel = cancel, caller_data = cancel_data, } |
| 870 | bool found = false |
| 872 | spin_lock_irqsave( & lock, flags) |
| 876 | If cancel(work, cancel_data) Then |
| 882 | spin_unlock_irqrestore( & lock, flags) |
| 884 | If found Then |
| 891 | found = Iterate the passed in list and call the specific function for each* worker that isn't exiting |
| 893 | Return If found Then found, running, and attempted cancelled Else work not found |
| Name | Describe |
|---|---|
| io_wq_cancel_cb |
| 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 |