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:Check head of free list for an available worker. If one isn't available,* caller must wake up the wq manager to create one.
Proto:static bool io_wqe_activate_free_worker(struct io_wqe *wqe)__must_hold(RCU)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_wqe * | wqe |
| 259 | If ptr_is_a_nulls - Test if a ptr is a nulls*@ptr: ptr to be tested Then Return false |
| 262 | worker = hlist_nulls_entry(n, structio_worker, nulls_node) |
| 263 | If io_worker_get(worker) Then |
| 265 | io_worker_release(worker) |
| 266 | Return true |
| 269 | Return false |
| Name | Describe |
|---|---|
| io_wqe_wake_worker | We need a worker. If we find a free one, we're good. If not, and we're* below the max number of workers, wake up the manager to create one. |
| 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 |