Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:26:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__queue_delayed_work
Proto:static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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) |
| 1632 | If Not delay Then |
| 1633 | __queue_work(cpu, wq, & work) |
| 1634 | Return |
| 1641 | If Value for the false possibility is greater at compile time(cpu != WORK_CPU_UNBOUND) Then add_timer_on(timer, cpu) |
| Name | Describe |
|---|---|
| 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 |
| 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 |