Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_sq_thread
Proto:static int io_sq_thread(void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | data |
| 3859 | DEFINE_WAIT(wait) |
| 3874 | If inflight Then |
| 3875 | nr_events = 0 |
| 3877 | If flags & _context is polled Then |
| 3886 | mutex_lock( & uring_lock) |
| 3889 | Else inflight = 0 |
| 3892 | Else |
| 3901 | If Not inflight Then timeout = jiffies + sq_thread_idle |
| 3905 | to_submit = io_sqring_entries(ctx) |
| 3918 | If cur_mm Then |
| 3921 | cur_mm = NULL |
| 3934 | cond_resched() |
| 3935 | Continue |
| 3944 | smp_mb() |
| 3946 | to_submit = io_sqring_entries(ctx) |
| 3965 | to_submit = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(to_submit, sq_entries) |
| 3966 | mutex_lock( & uring_lock) |
| 3974 | If cur_mm Then |
| 3980 | kthread_parkme() |
| 3982 | Return 0 |
| 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 |