函数逻辑报告 |
Source Code:fs\splice.c |
Create Date:2022-07-29 10:42:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:default_file_splice_read
函数原型:static ssize_t default_file_splice_read(struct file *in, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | in | |
loff_t * | ppos | |
struct pipe_inode_info * | pipe | |
size_t | len | |
unsigned int | flags |
380 | copied等于0 |
384 | 如果pipe_full - Return true if the pipe is full*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer*@limit: The maximum amount of slots available.则返回:负EAGAIN |
393 | iov_iter_pipe( & to, generic data direction definitions , pipe, len + offset) |
399 | nr_pages等于DIV_ROUND_UP(res + base, PAGE_SIZE) |
402 | 如果nr_pages大于PIPE_DEF_BUFFERS则 |
415 | this_len等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(size_t, len, PAGE_SIZE - offset) |
419 | offset等于0 |
423 | 如果res大于0则 |
430 | out : |
431 | 以i小于nr_pages循环Perform a free_page(), also freeing any swap cache associated with* this page if it is the last user of the page. |
434 | iov_iter_advance( & to, copied) |
435 | 返回:res |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |