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_prep_rw
Proto:static int aio_prep_rw(struct kiocb *req, const struct iocb *iocb)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kiocb * | req | |
const struct iocb * | iocb |
1449 | ki_complete = aio_complete_rw |
1450 | private = NULL |
1452 | ki_flags = iocb_flags(ki_filp) |
1453 | If lags for the "struct iocb" & Valid flags for the"aio_flags" member of the"struct iocb" Then ki_flags |= IOCB_EVENTFD |
1455 | ki_hint = ki_hint_validate(file_write_hint(ki_filp)) |
1456 | If lags for the "struct iocb" & IOCB_FLAG_IOPRIO Then |
1469 | Else See linux/ioprio.h = If the calling process has set an I/O priority, use that. Otherwise, return* the default I/O priority. |
1472 | ret = kiocb_set_rw_flags(req, RWF_* flags ) |
1473 | If Value for the false possibility is greater at compile time(ret) Then Return ret |
1476 | ki_flags &= ~IOCB_HIPRI |
1477 | Return 0 |
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 |