函数逻辑报告

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_deferred_req

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

返回类型:struct io_kiocb

参数:

类型参数名称
struct io_ring_ctx *ctx
580  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.( & defer_list, structio_kiocb, list)
581  如果req且非req_need_defer(req)则
582  删除链表项并重新初始化
583  返回:req
586  返回:NULL
调用者
名称描述
io_commit_cqring