函数逻辑报告 |
Source Code:fs\splice.c |
Create Date:2022-07-29 10:42:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Link contents of ipipe to opipe.
函数原型:static int link_pipe(struct pipe_inode_info *ipipe, struct pipe_inode_info *opipe, size_t len, unsigned int flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct pipe_inode_info * | ipipe | |
| struct pipe_inode_info * | opipe | |
| size_t | len | |
| unsigned int | flags |
| 1682 | ret等于0 |
| 1689 | pipe_double_lock(ipipe, opipe) |
| 1696 | 循环 |
| 1697 | 如果非readers则 |
| 1734 | flags与等于page is a gift 的反 |
| 1743 | o_head自加 |
| 1745 | i_tail自加 |
| 1748 | pipe_unlock(ipipe) |
| 1749 | pipe_unlock(opipe) |
| 1754 | 如果ret大于0则wakeup_pipe_readers(opipe) |
| 1757 | 返回:ret |
| 名称 | 描述 |
|---|---|
| do_tee | This is a tee(1) implementation that works on pipes. It doesn't copy* any data, it simply references the 'in' pages on the 'out' pipe.* The 'flags' used are the SPLICE_F_* variants, currently the only* applicable one is SPLICE_F_NONBLOCK. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |