函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:iomap_file_buffered_write

函数原型:ssize_t iomap_file_buffered_write(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)

返回类型:ssize_t

参数:

类型参数名称
struct kiocb *iocb
struct iov_iter *iter
const struct iomap_ops *ops
882  inode等于host
883  pos等于文件偏移, ret等于0, written等于0
885 iov_iter_count(iter)循环
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  如果ret小于等于0则退出
890  pos加等于ret
891  written加等于ret
894  返回:如果writtenwritten否则ret