Function report | 
Source Code:fs\io_uring.c | 
Create Date:2022-07-28 20:22:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:io_iopoll_check
Proto:static int io_iopoll_check(struct io_ring_ctx *ctx, unsigned *nr_events, long min)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct io_ring_ctx * | ctx | |
| unsigned * | nr_events | |
| long | min | 
| 1299 | mutex_lock( & uring_lock) | 
| 1300 | Do | 
| 1301 | tmin = 0 | 
| 1308 | If io_cqring_events(ctx, false) Then Break | 
| 1321 | If Not (++iters & 7) Then | 
| 1323 | mutex_lock( & uring_lock) | 
| 1330 | If ret <= 0 Then Break | 
| 1332 | ret = 0 | 
| 1333 | When min && Not nr_events && Not need_resched() cycle | 
| 1336 | Return ret | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE6 | 
| 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  |