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_prep_fsync

Proto:static int io_prep_fsync(struct io_kiocb *req, const struct io_uring_sqe *sqe)

Type:int

Parameter:

TypeParameterName
struct io_kiocb *req
const struct io_uring_sqe *sqe
2011  ctx = ctx
2013  If Not file Then Return -EBADF
2016  If Value for the false possibility is greater at compile time(flags & _context is polled ) Then Return -EINVAL
2018  If Value for the false possibility is greater at compile time(pointer to buffer or iovecs || prio for the request || dex into fixed buffers, if used ) Then Return -EINVAL
2021  flags = READ_ONCE(fsync_flags)
2022  If Value for the false possibility is greater at compile time(flags & ~sqe->fsync_flags) Then Return -EINVAL
2025  off = READ_ONCE(ffset into file )
2026  len = READ_ONCE(uffer size or number of iovecs )
2027  Return 0
Caller
NameDescribe
io_req_defer_prep
io_issue_sqe