Function report |
Source Code:fs\aio.c |
Create Date:2022-07-28 20:21: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_submit_one
Proto:static int __io_submit_one(struct kioctx *ctx, const struct iocb *iocb, struct iocb __user *user_iocb, struct aio_kiocb *req, bool compat)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kioctx * | ctx | |
| const struct iocb * | iocb | |
| struct iocb __user * | user_iocb | |
| struct aio_kiocb * | req | |
| bool | compat |
| 1798 | ki_filp = fget(aio_fildes) |
| 1799 | If Value for the false possibility is greater at compile time(!ki_filp) Then Return -EBADF |
| 1824 | sult code for this event = 0 |
| 1825 | secondary result = 0 |
| 1828 | Case see IOCB_CMD_ above == IOCB_CMD_PREAD |
| 1830 | Case see IOCB_CMD_ above == IOCB_CMD_PWRITE |
| 1832 | Case see IOCB_CMD_ above == IOCB_CMD_PREADV |
| 1834 | Case see IOCB_CMD_ above == IOCB_CMD_PWRITEV |
| 1836 | Case see IOCB_CMD_ above == IOCB_CMD_FSYNC |
| 1838 | Case see IOCB_CMD_ above == IOCB_CMD_FDSYNC |
| 1840 | Case see IOCB_CMD_ above == IOCB_CMD_POLL |
| 1842 | Default |
| 1843 | pr_debug("invalid aio operation %d\n", see IOCB_CMD_ above ) |
| 1844 | Return -EINVAL |
| Name | Describe |
|---|---|
| io_submit_one |
| 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 |