函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_sync_file_range_finish

函数原型:static void io_sync_file_range_finish(struct io_wq_work **workptr)

返回类型:void

参数:

类型参数名称
struct io_wq_work **workptr
2124  req等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.( * workptr, structio_kiocb, work)
2125  struct io_kiocb * nxt = NULL
2128  如果io_req_cancelled(req)则返回
2131  ret等于sync_file_range(file, off, len, flags)
2133  如果ret小于0则req_set_fail_links(req)
2135  io_cqring_add_event(req, ret)
2136  Drop reference to request, return next in chain (if there is one) if this* was the last reference to this request.
2137  如果nxtio_wq_assign_next(workptr, nxt)
调用者
名称描述
io_sync_file_range