Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_req_find_next

Proto:static void io_req_find_next(struct io_kiocb *req, struct io_kiocb **nxt)

Type:void

Parameter:

TypeParameterName
struct io_kiocb *req
struct io_kiocb **nxt
1055  If Value is more likely to compile time(!(flags & linked sqes )) Then Return
1064  If flags & ail rest of links Then
1065  Called if REQ_F_LINK is set, and we fail the head request
1066  Else if (flags & (has linked timeout | completion under lock )) == has linked timeout Then
1068  ctx = ctx
1076  spin_lock_irqsave( & completion_lock, flags)
1077  io_req_link_next(req, nxt)
1078  spin_unlock_irqrestore( & completion_lock, flags)
1079  Else
1080  io_req_link_next(req, nxt)
Caller
NameDescribe
io_free_req
io_put_req_find_nextDrop reference to request, return next in chain (if there is one) if this* was the last reference to this request.