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_iopoll

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

Type:void

Parameter:

TypeParameterName
struct kiocb *kiocb
longres
longres2
1392  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)
1394  If ki_flags & IOCB_WRITE Then kiocb_end_write(req)
1397  If res != result Then req_set_fail_links(req)
1399  result = res
1400  If res != -EAGAIN Then flags |= polled IO has completed