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: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:

Proto:ssize_t splice_from_pipe(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags, splice_actor *actor)

Type:ssize_t

Parameter:

TypeParameterName
struct pipe_inode_info *pipe
struct file *out
loff_t *ppos
size_tlen
unsigned intflags
splice_actor *actor
663  struct splice_desc sd = {maining length = len, splice flags = flags, le position = * ppos, le to read/write = out, }
670  pipe_lock(pipe)
671  ret = __splice_from_pipe - splice data from a pipe to given actor*@pipe: pipe to splice from*@sd: information to @actor*@actor: handler that splices the data* Description:* This function does little more than loop over the pipe and call*@actor to do the actual
672  pipe_unlock(pipe)
674  Return ret
Caller
NameDescribe
default_file_splice_write
generic_splice_sendpagegeneric_splice_sendpage - splice data from a pipe to a socket*@pipe: pipe to splice from*@out: socket to write to*@ppos: position in @out*@len: number of bytes to splice*@flags: splice modifier flags* Description: