Function report |
Source Code:kernel\kthread.c |
Create Date:2022-07-28 09:30:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kthread_mod_delayed_work - modify delay of or queue a kthread delayed work*@worker: kthread worker to use*@dwork: kthread delayed work to queue*@delay: number of jiffies to wait before queuing* If @dwork is idle, equivalent to kthread_queue_delayed_work()
Proto:bool kthread_mod_delayed_work(struct kthread_worker *worker, struct kthread_delayed_work *dwork, unsigned long delay)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct kthread_worker * | worker | |
struct kthread_delayed_work * | dwork | |
unsigned long | delay |
1056 | int ret = false |
1058 | raw_spin_lock_irqsave( & lock, flags) |
1061 | If Not worker Then Go to fast_queue |
1065 | WARN_ON_ONCE(worker != worker) |
1068 | If Number of canceling calls that are running at the moment. Then Go to out |
1072 | fast_queue : |
1073 | __kthread_queue_delayed_work(worker, dwork, delay) |
1074 | out : |
1075 | raw_spin_unlock_irqrestore( & lock, flags) |
1076 | 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 |