Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io_uring.c Create Date:2022-07-28 20:22:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:io_sync_file_range_finish

Proto:static void io_sync_file_range_finish(struct io_wq_work **workptr)

Type:void

Parameter:

TypeParameterName
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  If io_req_cancelled(req) Then Return
2131  ret = sync_file_range(file, off, len, flags)
2133  If ret < 0 Then 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  If nxt Then io_wq_assign_next(workptr, nxt)
Caller
NameDescribe
io_sync_file_range