Function report |
Source Code:fs\aio.c |
Create Date:2022-07-28 20:21:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aio_read
Proto:static int aio_read(struct kiocb *req, const struct iocb *iocb, bool vectored, bool compat)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kiocb * | req | |
const struct iocb * | iocb | |
bool | vectored | |
bool | compat |
1523 | iovec = inline_vecs |
1528 | ret = aio_prep_rw(req, iocb) |
1532 | If Value for the false possibility is greater at compile time(!(f_mode & le is open for reading )) Then Return -EBADF |
1535 | If Value for the false possibility is greater at compile time(!read_iter) Then Return -EINVAL |
1538 | ret = aio_setup_rw(generic data direction definitions , iocb, & iovec, vectored, compat, & iter) |
1541 | ret = rw_verify_area(generic data direction definitions , file, & The 'ki_filp' pointer is shared in a union for aio , iov_iter_count( & iter)) |
1542 | If Not ret Then aio_rw_done(req, call_read_iter(file, req, & iter)) |
1545 | Return ret |
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 |