Function report |
Source Code:kernel\kthread.c |
Create Date:2022-07-28 09:30:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This function removes the work from the worker queue
Proto:static bool __kthread_cancel_work(struct kthread_work *work, bool is_dwork, unsigned long *flags)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct kthread_work * | work | |
bool | is_dwork | |
unsigned long * | flags |
997 | If is_dwork Then |
1009 | raw_spin_unlock_irqrestore( & lock, * flags) |
1010 | del_timer_sync( & timer) |
1011 | raw_spin_lock_irqsave( & lock, * flags) |
1019 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then |
1021 | Return true |
1024 | Return false |
Name | Describe |
---|---|
kthread_mod_delayed_work | 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() |
__kthread_cancel_work_sync |
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 |