函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_fsync_finish

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

返回类型:void

参数:

类型参数名称
struct io_wq_work **workptr
2066  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)
2067  end等于offlen
2068  struct io_kiocb * nxt = NULL
2071  如果io_req_cancelled(req)则返回
2074  ret等于vfs_fsync_range - helper to sync a range of data & metadata to disk*@file: file to sync*@start: offset in bytes of the beginning of data range to sync*@end: offset in bytes of the end of data range (inclusive)*@datasync: perform only datasync
2077  如果ret小于0则req_set_fail_links(req)
2079  io_cqring_add_event(req, ret)
2080  Drop reference to request, return next in chain (if there is one) if this* was the last reference to this request.
2081  如果nxtio_wq_assign_next(workptr, nxt)
调用者
名称描述
io_fsync