函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-27 07:19:48
Last Modify:2022-05-21 11:43:54 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iov_iter_bvec

函数原型:void iov_iter_bvec(struct iov_iter *i, unsigned int direction, const struct bio_vec *bvec, unsigned long nr_segs, size_t count)

返回类型:void

参数:

类型参数名称
struct iov_iter *i
unsigned intdirection
const struct bio_vec *bvec
unsigned longnr_segs
size_tcount
1181  WARN_ON(direction & ~(generic data direction definitions | WRITE))
1182  * Bit 0 is the read/write bit, set if we're writing. * Bit 1 is the BVEC_FLAG_NO_REF bit, set if type is a bvec and * the caller isn't expecting to drop a page reference when done.等于ITER_BVEC按位或direction按位与generic data direction definitions 按位或WRITE的值
1183  bvec等于bvec
1184  nr_segs等于nr_segs
1185  iov_offset等于0
1186  count等于count
调用者
名称描述
io_import_fixed
__swap_writepage
iter_file_splice_writer_file_splice_write - splice data from a pipe to a file*@pipe: pipe info*@out: file to write to*@ppos: position in @out*@len: number of bytes to splice*@flags: splice modifier flags* Description:* Will either move or copy pages (determined by @flags