Function report |
Source Code:fs\io-wq.c |
Create Date:2022-07-28 20:22:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_worker_exit
Proto:static void io_worker_exit(struct io_worker *worker)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct io_worker * | worker |
199 | acct = io_wqe_get_acct(wqe, worker) |
212 | flags &= ~Task is an IO worker |
213 | If flags & IO_WORKER_F_RUNNING Then atomic_dec( & nr_running) |
215 | If Not (flags & IO_WORKER_F_BOUND) Then atomic_dec( & processes) |
217 | flags = 0 |
218 | preempt_enable() |
220 | spin_lock_irq( & lock) |
225 | spin_lock_irq( & lock) |
227 | nr_workers-- |
228 | nr_workers = nr_workers + nr_workers |
230 | spin_unlock_irq( & lock) |
Name | Describe |
---|---|
io_wqe_worker |
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 |