Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
intcpu
struct workqueue_struct *wq
struct delayed_work *dwork
unsigned longdelay
1702  Do
1703  ret = ry_to_grab_pending - steal work item from worklist and disable irq*@work: work item to steal*@is_dwork: @work is a delayed_work*@flags: place to store irq state* Try to grab PENDING bit of @work. This function can handle @work in any
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