函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\splice.c Create Date:2022-07-29 10:42:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Attempt to initiate a splice from pipe to file.

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

返回类型:long

参数:

类型参数名称
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  如果splice_writesplice_write等于splice_write
860  否则splice_write等于default_file_splice_write
863  返回:splice_write(pipe, out, ppos, len, flags)
调用者
名称描述
direct_splice_actor
do_spliceDetermine where to splice to/from.