Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_do_iopoll
Proto:static int io_do_iopoll(struct io_ring_ctx *ctx, unsigned int *nr_events, long min)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct io_ring_ctx * | ctx | |
| unsigned int * | nr_events | |
| long | min |
| 1211 | spin = Not poll_multi_file && nr_events < min |
| 1213 | ret = 0 |
| 1222 | If flags & polled IO has completed Then |
| 1224 | Continue |
| 1226 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then Break |
| 1230 | If ret < 0 Then Break |
| 1235 | ret = 0 |
| 1238 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then Find and free completed poll iocbs |
| 1241 | Return ret |
| Name | Describe |
|---|---|
| io_iopoll_getevents | Poll for a minimum of 'min' events. Note that if min == 0 we consider that a* non-spinning poll check - we'll still enter the driver poll loop, but only* as a non-spinning completion check. |
| 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 |