函数逻辑报告 |
Source Code:kernel\kthread.c |
Create Date:2022-07-27 10:30:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kthread_flush_work - flush a kthread_work*@work: work to flush* If @work is queued or executing, wait for it to finish execution.
函数原型:void kthread_flush_work(struct kthread_work *work)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kthread_work * | work |
953 | struct kthread_flush_work fwork = {KTHREAD_WORK_INIT(work, kthread_flush_work_fn), COMPLETION_INITIALIZER_ONSTACK(done), } |
958 | bool noop = false |
961 | 如果非worker则返回 |
966 | WARN_ON_ONCE(worker != worker) |
973 | 否则noop = true |
976 | raw_spin_unlock_irq( & lock) |
978 | 如果非noop则wait_for_completion( & done) |
名称 | 描述 |
---|---|
__kthread_cancel_work_sync |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |