Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:23:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:worker_clr_flags - clear worker flags and adjust nr_running accordingly*@worker: self*@flags: flags to clear* Clear @flags in @worker->flags and adjust nr_running accordingly.* CONTEXT:* spin_lock_irq(pool->lock)
Proto:static inline void worker_clr_flags(struct worker *worker, unsigned int flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct worker * | worker | |
| unsigned int | flags |
| 972 | pool = A: the associated pool |
| 984 | If flags & WORKER_NOT_RUNNING && oflags & WORKER_NOT_RUNNING Then If Not (X: flags & WORKER_NOT_RUNNING) Then |
| 986 | atomic_inc( & The current concurrency level. As it's likely to be accessed* from other CPUs during try_to_wake_up(), put it in a separate* cacheline.) |
| Name | Describe |
|---|---|
| worker_leave_idle | worker_leave_idle - leave idle state*@worker: worker which is leaving idle state*@worker is leaving idle state. Update stats.* LOCKING:* spin_lock_irq(pool->lock). |
| process_one_work | process_one_work - process single work*@worker: self*@work: work to process* Process @work |
| worker_thread |
| 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 |