函数逻辑报告

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_pipe

函数原型:void iov_iter_pipe(struct iov_iter *i, unsigned int direction, struct pipe_inode_info *pipe, size_t count)

返回类型:void

参数:

类型参数名称
struct iov_iter *i
unsigned intdirection
struct pipe_inode_info *pipe
size_tcount
1194  BUG_ON(direction != generic data direction definitions )
1195  WARN_ON(pipe_full - Return true if the pipe is full*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer*@limit: The maximum amount of slots available.)
1196  * 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_PIPE按位或generic data direction definitions
1197  pipe等于pipe
1198  head等于head
1199  iov_offset等于0
1200  count等于count
1201  start_head等于head
调用者
名称描述
default_file_splice_read
generic_file_splice_readgeneric_file_splice_read - splice data from file to a pipe*@in: file to splice from*@ppos: position in @in*@pipe: pipe to splice to*@len: number of bytes to splice*@flags: splice modifier flags* Description: