函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_req_link_next

函数原型:static void io_req_link_next(struct io_kiocb *req, struct io_kiocb **nxtptr)

返回类型:void

参数:

类型参数名称
struct io_kiocb *req
struct io_kiocb **nxtptr
985  ctx等于ctx
986  bool wake_ev = false
989  如果flags按位与already grabbed next link 则返回
997  当非链表为空循环
998  nxt等于list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & link_list, structio_kiocb, link_list)
1005  flags与等于has linked timeout 的反
1006  继续下一循环
1009  删除链表项并重新初始化
1010  如果非链表为空flags或等于linked sqes
1012  nxtptr等于nxt
1013  退出
1016  flags或等于already grabbed next link
1017  如果wake_evio_cqring_ev_posted(ctx)
调用者
名称描述
io_req_find_next