Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:iomap_file_buffered_write

Proto:ssize_t iomap_file_buffered_write(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)

Type:ssize_t

Parameter:

TypeParameterName
struct kiocb *iocb
struct iov_iter *iter
const struct iomap_ops *ops
882  inode = host
883  pos = The 'ki_filp' pointer is shared in a union for aio , ret = 0 , written = 0
885  When iov_iter_count(iter) cycle
886  ret = Execute a iomap write on a segment of the mapping that spans a* contiguous range of pages that have identical block mapping state
888  If ret <= 0 Then Break
890  pos += ret
891  written += ret
894  Return If written Then written Else ret