函数逻辑报告 |
Source Code:fs\io-wq.c |
Create Date:2022-07-29 10:55:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:io_wqe_worker
函数原型:static int io_wqe_worker(void *data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | data |
525 | io_worker_start(wqe, worker) |
527 | did_work = false |
529 | set_current_state(睡眠态) |
530 | loop : |
531 | 如果did_work则io_worker_spin_for_work(wqe) |
533 | spin_lock_irq( & lock) |
534 | 如果io_wqe_run_queue(wqe)则 |
537 | did_work = true |
538 | 转到:loop |
540 | did_work = false |
546 | spin_unlock_irq( & lock) |
558 | spin_lock_irq( & lock) |
559 | 如果非wq_list_empty( & work_list)则io_worker_handle_work(worker) |
561 | 否则spin_unlock_irq( & lock) |
565 | io_worker_exit(worker) |
566 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |