Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE6
Proto:SYSCALL_DEFINE6(io_uring_enter, unsigned int, fd, unsigned int, to_submit, unsigned int, min_complete, unsigned int, flags, const sigset_t __user *, sig, size_t, sigsz)
Type:
Parameter:Nothing
| 5154 | submitted = 0 |
| 5157 | If flags & ~(_uring_enter(2) flags | IORING_ENTER_SQ_WAKEUP) Then Return -EINVAL |
| 5164 | ret = -EOPNOTSUPP |
| 5165 | If f_op != io_uring_fops Then Go to out_fput |
| 5178 | ret = 0 |
| 5179 | If flags & SQ poll thread Then |
| 5182 | If flags & IORING_ENTER_SQ_WAKEUP Then wake_up( & sqo_wait) |
| 5185 | Else if to_submit Then |
| 5188 | to_submit = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(to_submit, sq_entries) |
| 5189 | mutex_lock( & uring_lock) |
| 5199 | If flags & _uring_enter(2) flags Then |
| 5200 | nr_events = 0 |
| 5202 | min_complete = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(min_complete, cq_entries) |
| 5204 | If flags & _context is polled Then |
| 5205 | ret = io_iopoll_check(ctx, & nr_events, min_complete) |
| 5206 | Else |
| 5211 | out : |
| 5213 | out_fput : |
| 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 |