Function report |
Source Code:fs\io_uring.c |
Create Date:2022-07-28 20:22:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:io_submit_sqe
Proto:static bool io_submit_sqe(struct io_kiocb *req, const struct io_uring_sqe *sqe, struct io_submit_state *state, struct io_kiocb **link)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct io_kiocb * | req | |
const struct io_uring_sqe * | sqe | |
struct io_submit_state * | state | |
struct io_kiocb ** | link |
3636 | ret = io_req_set_file(state, req, sqe) |
3651 | If link Then |
3654 | If IOSQE_ flags & ssue after inflight IO Then flags |= link should be fully drained | drain existing IO first |
3657 | If IOSQE_ flags & like LINK, but stronger Then flags |= doesn't sever on completion < 0 |
3660 | If io_alloc_async_ctx(req) Then |
3665 | ret = io_req_defer_prep(req, sqe) |
3666 | If ret Then |
3668 | flags |= ail rest of links |
3669 | Go to err_req |
3673 | Else if IOSQE_ flags & (links next sqe | like LINK, but stronger ) Then |
3674 | flags |= linked sqes |
3675 | If IOSQE_ flags & like LINK, but stronger Then flags |= doesn't sever on completion < 0 |
3679 | ret = io_req_defer_prep(req, sqe) |
3680 | If ret Then flags |= ail rest of links |
3683 | Else |
3684 | io_queue_sqe(req, sqe) |
3687 | Return true |
Name | Describe |
---|---|
io_submit_sqes |
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 |