Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:kiocb_set_rw_flags

Proto:static inline int kiocb_set_rw_flags(struct kiocb *ki, rwf_t flags)

Type:int

Parameter:

TypeParameterName
struct kiocb *ki
rwf_tflags
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
Caller
NameDescribe
do_iter_readv_writev
aio_prep_rw
io_prep_rw