函数逻辑报告 |
Source Code:fs\splice.c |
Create Date:2022-07-29 10:42:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Attempt to initiate a splice from a file to a pipe.
函数原型:static long do_splice_to(struct file *in, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | in | |
loff_t * | ppos | |
struct pipe_inode_info * | pipe | |
size_t | len | |
unsigned int | flags |
873 | ssize_t( * splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t, unsigned int) |
877 | 如果此条件成立可能性小(为编译器优化)(!(f_mode & le is open for reading ))则返回:负EBADF |
880 | ret等于rw_verify_area(generic data direction definitions , in, ppos, len) |
881 | 如果此条件成立可能性小(为编译器优化)(ret < 0)则返回:ret |
884 | 如果此条件成立可能性小(为编译器优化)(len > MAX_RW_COUNT)则len等于MAX_RW_COUNT |
887 | 如果splice_read则splice_read等于splice_read |
名称 | 描述 |
---|---|
splice_direct_to_actor | splice_direct_to_actor - splices data directly between two non-pipes*@in: file to splice from*@sd: actor information on where to splice to*@actor: handles the data splicing* Description:* This is a special case helper to splice directly between two |
do_splice | Determine where to splice to/from. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |