函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-29 10:54:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:io_rw_done

函数原型:static inline void io_rw_done(struct kiocb *kiocb, ssize_t ret)

返回类型:void

参数:

类型参数名称
struct kiocb *kiocb
ssize_tret
1562  :ret恒等于负cb queued, will get completion event
1563  退出
1564  :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  :ret恒等于负ERESTARTNOINTR
1566  :ret恒等于负start if no handler..
1567  :ret恒等于负start by calling sys_restart_syscall
1573  ret等于负EINTR
1575  默认
1576  ki_complete(kiocb, ret, 0)
调用者
名称描述
kiocb_done