函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:26:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__queue_delayed_work
函数原型:static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int | cpu | |
struct workqueue_struct * | wq | |
struct delayed_work * | dwork | |
unsigned long | delay |
1621 | WARN_ON_ONCE(!wq) |
1622 | WARN_ON_ONCE(function != delayed_work_timer_fn) |
1624 | WARN_ON_ONCE(!链表为空) |
1632 | 如果非delay则 |
1633 | __queue_work(cpu, wq, & work) |
1634 | 返回 |
1641 | 如果此条件成立可能性小(为编译器优化)(cpu != WORK_CPU_UNBOUND)则add_timer_on(timer, cpu) |
名称 | 描述 |
---|---|
queue_delayed_work_on | queue_delayed_work_on - queue work on specific CPU after delay*@cpu: CPU number to execute work on*@wq: workqueue to use*@dwork: work to queue*@delay: number of jiffies to wait before queueing |
mod_delayed_work_on | mod_delayed_work_on - modify delay of or queue a delayed work on specific CPU*@cpu: CPU number to execute work on*@wq: workqueue to use*@dwork: work to queue*@delay: number of jiffies to wait before queueing* If @dwork is idle, equivalent to |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |