Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_req_needs_file

Proto:static int io_req_needs_file(struct io_kiocb *req)

Type:int

Parameter:

TypeParameterName
struct io_kiocb *req
3372  Case opcode == IORING_OP_NOP
3373  Case opcode == IORING_OP_POLL_REMOVE
3374  Case opcode == IORING_OP_TIMEOUT
3375  Case opcode == IORING_OP_TIMEOUT_REMOVE
3376  Case opcode == IORING_OP_ASYNC_CANCEL
3377  Case opcode == IORING_OP_LINK_TIMEOUT
3378  Return 0
3379  Default
3380  If io_req_op_valid(opcode) Then Return 1
3382  Return -EINVAL
Caller
NameDescribe
io_req_set_file