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_complete_rw_common

Proto:static void io_complete_rw_common(struct kiocb *kiocb, long res)

Type:void

Parameter:

TypeParameterName
struct kiocb *kiocb
longres
1361  req = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(kiocb, structio_kiocb, kiocb)
1363  If ki_flags & IOCB_WRITE Then kiocb_end_write(req)
1366  If res != result Then req_set_fail_links(req)
1368  io_cqring_add_event(req, res)
Caller
NameDescribe
io_complete_rw
__io_complete_rw