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, struct iocb __user *user_iocb, bool compat)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kioctx * | ctx | |
struct iocb __user * | user_iocb | |
bool | compat |
1855 | If Value for the false possibility is greater at compile time(copy_from_user( & iocb, user_iocb, size of iocb )) Then Return -EFAULT |
1865 | If Value for the false possibility is greater at compile time((aio_buf != (unsignedlong)aio_buf) || (aio_nbytes != (size_t)aio_nbytes) || ((ssize_t)aio_nbytes < 0)) Then |
1875 | If Value for the false possibility is greater at compile time(!req) Then Return -EAGAIN |
1889 | iocb_destroy(req) |
1890 | put_reqs_available(ctx, 1) |
1892 | Return err |
Name | Describe |
---|---|
SYSCALL_DEFINE3 | sys_io_submit:* Queue the nr iocbs pointed to by iocbpp for processing |
COMPAT_SYSCALL_DEFINE3 |
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 |