Function report |
Source Code:fs\io-wq.c |
Create Date:2022-07-28 20:22:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_wq_can_queue
Proto:static bool io_wq_can_queue(struct io_wqe *wqe, struct io_wqe_acct *acct, struct io_wq_work *work)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_wqe * | wqe | |
| struct io_wqe_acct * | acct | |
| struct io_wq_work * | work |
| 718 | If Not (flags & IO_WQ_WORK_UNBOUND) Then Return true |
| 720 | If atomic_read( & nr_running) Then Return true |
| 724 | free_worker = Not hlist_nulls_empty( & free_list) |
| 726 | If free_worker Then Return true |
| 729 | If atomic_read( & processes) >= max_workers && Not (Check operation authority || Check operation authority) Then Return false |
| 733 | Return true |
| Name | Describe |
|---|---|
| io_wqe_enqueue |
| 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 |