函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_get_timeout_req

函数原型:static struct io_kiocb *io_get_timeout_req(struct io_ring_ctx *ctx)

返回类型:struct io_kiocb

参数:

类型参数名称
struct io_ring_ctx *ctx
593  req等于list_first_entry_or_null - 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.( & timeout_list, structio_kiocb, list)
594  如果req
595  如果flags按位与 timeout sequence 则返回:NULL
597  如果非__req_need_defer(req)则
599  返回:req
603  返回:NULL
调用者
名称描述
io_commit_cqring