函数逻辑报告 |
Source Code:fs\io-wq.c |
Create Date:2022-07-29 10:55:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:io_wqe_cancel_cb_work
函数原型:static enum io_wq_cancel io_wqe_cancel_cb_work(struct io_wqe *wqe, work_cancel_fn *cancel, void *cancel_data)
返回类型:enum io_wq_cancel
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果cancel(work, cancel_data)则 |
882 | spin_unlock_irqrestore( & lock, flags) |
884 | 如果found则 |
891 | found等于Iterate the passed in list and call the specific function for each* worker that isn't exiting |
893 | 返回:如果found则 found, running, and attempted cancelled 否则 work not found |
名称 | 描述 |
---|---|
io_wq_cancel_cb |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |