Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:default_file_splice_write

Proto:static ssize_t default_file_splice_write(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags)

Type:ssize_t

Parameter:

TypeParameterName
struct pipe_inode_info *pipe
struct file *out
loff_t *ppos
size_tlen
unsigned intflags
821  ret = splice_from_pipe - splice data from a pipe to a file*@pipe: pipe to splice from*@out: file to splice to*@ppos: position in @out*@len: how many bytes to splice*@flags: splice modifier flags*@actor: handler that splices the data* Description:
822  If ret > 0 Then ppos += ret
825  Return ret