函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_req_find_next

函数原型:static void io_req_find_next(struct io_kiocb *req, struct io_kiocb **nxt)

返回类型:void

参数:

类型参数名称
struct io_kiocb *req
struct io_kiocb **nxt
1055  如果此条件成立可能性大(为编译器优化)(!(flags & linked sqes ))则返回
1064  如果flags按位与ail rest of links
1065  Called if REQ_F_LINK is set, and we fail the head request
1066  否则如果flags按位与has linked timeout 按位或completion under lock 的值的值恒等于has linked timeout
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  否则
1080  io_req_link_next(req, nxt)
调用者
名称描述
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.