Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-28 20:22:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:io_rw_done

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

Type:void

Parameter:

TypeParameterName
struct kiocb *kiocb
ssize_tret
1562  Case ret == -cb queued, will get completion event
1563  Break
1564  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.
1565  Case ret == -ERESTARTNOINTR
1566  Case ret == -start if no handler..
1567  Case ret == -start by calling sys_restart_syscall
1573  ret = -EINTR
1575  Default
1576  ki_complete(kiocb, ret, 0)
Caller
NameDescribe
kiocb_done