Function report |
Source Code:include\linux\fs.h |
Create Date:2022-07-28 05:43:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kiocb_set_rw_flags
Proto:static inline int kiocb_set_rw_flags(struct kiocb *ki, rwf_t flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kiocb * | ki | |
rwf_t | flags |
3405 | If Value for the false possibility is greater at compile time(flags & ~mask of flags supported by the kernel ) Then Return -EOPNOTSUPP |
3408 | If flags & per-IO, return -EAGAIN if operation would block Then |
3409 | If Not (f_mode & File is capable of returning -EAGAIN if I/O will block ) Then Return -EOPNOTSUPP |
3411 | ki_flags |= IOCB_NOWAIT |
3413 | If flags & high priority request, poll if possible Then ki_flags |= IOCB_HIPRI |
3415 | If flags & per-IO O_DSYNC Then ki_flags |= IOCB_DSYNC |
3417 | If flags & per-IO O_SYNC Then ki_flags |= IOCB_DSYNC | IOCB_SYNC |
3419 | If flags & per-IO O_APPEND Then ki_flags |= IOCB_APPEND |
3421 | Return 0 |
Name | Describe |
---|---|
do_iter_readv_writev | |
aio_prep_rw | |
io_prep_rw |
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 |