Function report |
Source Code:kernel\kthread.c |
Create Date:2022-07-28 09:30:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kthread_queue_delayed_work - queue the associated kthread work* after a delay
Proto:bool kthread_queue_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 |
919 | bool ret = false |
921 | raw_spin_lock_irqsave( & lock, flags) |
925 | ret = true |
928 | raw_spin_unlock_irqrestore( & lock, flags) |
929 | Return ret |
Name | Describe |
---|---|
psi_schedule_poll_work | Schedule polling if it's not already scheduled. It's safe to call even from* hotpath because even though kthread_queue_delayed_work takes worker->lock* spinlock that spinlock is never contended due to poll_scheduled atomic* preventing such competition. |
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 |