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:Attempt to initiate a splice from pipe to file.

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

Type:long

Parameter:

TypeParameterName
struct pipe_inode_info *pipe
struct file *out
loff_t *ppos
size_tlen
unsigned intflags
855  ssize_t( * splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t, unsigned int)
858  If splice_write Then splice_write = splice_write
860  Else splice_write = default_file_splice_write
863  Return splice_write(pipe, out, ppos, len, flags)
Caller
NameDescribe
direct_splice_actor
do_spliceDetermine where to splice to/from.