Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aio_rw_done

Proto:static inline void aio_rw_done(struct kiocb *req, ssize_t ret)

Type:void

Parameter:

TypeParameterName
struct kiocb *req
ssize_tret
1503  Case ret == -cb queued, will get completion event
1504  Break
1505  Case ret == -These should never be seen by user programs. To return one of ERESTART** codes, signal_pending() MUST be set. Note that ptrace can observe these* at syscall exit tracing, but they will never be left for the debugged user* process to see.
1506  Case ret == -ERESTARTNOINTR
1507  Case ret == -start if no handler..
1508  Case ret == -start by calling sys_restart_syscall
1513  ret = -EINTR
1515  Default
1516  ki_complete(req, ret, 0)
Caller
NameDescribe
aio_read
aio_write