Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:26:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | cpu | |
| struct workqueue_struct * | wq | |
| struct delayed_work * | dwork | |
| unsigned long | delay |
| 1702 | Do |
| 1704 | When Value for the false possibility is greater at compile time(ret == - EAGAIN) cycle |
| 1706 | If Value is more likely to compile time(ret >= 0) Then |
| 1707 | __queue_delayed_work(cpu, wq, dwork, delay) |
| 1708 | local_irq_restore(flags) |
| 1712 | Return ret |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |