函数逻辑报告 |
Source Code:fs\io-wq.c |
Create Date:2022-07-29 10:55:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:We need a worker. If we find a free one, we're good. If not, and we're* below the max number of workers, wake up the manager to create one.
函数原型:static void io_wqe_wake_worker(struct io_wqe *wqe, struct io_wqe_acct *acct)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct io_wqe * | wqe | |
struct io_wqe_acct * | acct |
284 | WARN_ON_ONCE(!max_workers) |
287 | ret等于Check head of free list for an available worker. If one isn't available,* caller must wake up the wq manager to create one. |
290 | 如果非ret且nr_workers小于max_workers则唤醒中断线程 |
名称 | 描述 |
---|---|
io_wqe_dec_running | |
io_wqe_enqueue |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |