函数逻辑报告 |
Source Code:fs\splice.c |
Create Date:2022-07-29 10:42:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:splice_from_pipe_feed - feed available data from a pipe to a file*@pipe: pipe to splice from*@sd: information to @actor*@actor: handler that splices the data* Description:* This function loops over the pipe and calls @actor to do the* actual moving of a
函数原型:static int splice_from_pipe_feed(struct pipe_inode_info *pipe, struct splice_desc *sd, splice_actor *actor)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pipe_inode_info * | pipe | |
struct splice_desc * | sd | |
splice_actor * | actor |
501 | current length 等于len |
502 | 如果current length 大于maining length 则current length 等于maining length |
505 | ret等于pipe_buf_confirm - verify contents of the pipe buffer*@pipe: the pipe that the buffer belongs to*@buf: the buffer to confirm |
506 | 如果此条件成立可能性小(为编译器优化)(ret)则 |
520 | current length 减等于ret |
521 | le position 加等于ret |
522 | maining length 减等于ret |
524 | 如果非len则 |
526 | tail自加 |
528 | 如果files则d to wake up writer = true |
532 | 如果非maining length 则返回:0 |
536 | 返回:1 |
名称 | 描述 |
---|---|
__splice_from_pipe | __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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |