函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pipe_double_lock

函数原型:void pipe_double_lock(struct pipe_inode_info *pipe1, struct pipe_inode_info *pipe2)

返回类型:void

参数:

类型参数名称
struct pipe_inode_info *pipe1
struct pipe_inode_info *pipe2
97  BUG_ON(pipe1 == pipe2)
99  如果pipe1小于pipe2
100  We use head and tail indices that aren't masked off, except at the point of* dereference, but rather they're allowed to wrap naturally. This means there* isn't a dead spot in the buffer, but the ring has to be a power of two and* <= 2^31.
101  We use head and tail indices that aren't masked off, except at the point of* dereference, but rather they're allowed to wrap naturally. This means there* isn't a dead spot in the buffer, but the ring has to be a power of two and* <= 2^31.
102  否则
103  We use head and tail indices that aren't masked off, except at the point of* dereference, but rather they're allowed to wrap naturally. This means there* isn't a dead spot in the buffer, but the ring has to be a power of two and* <= 2^31.
104  We use head and tail indices that aren't masked off, except at the point of* dereference, but rather they're allowed to wrap naturally. This means there* isn't a dead spot in the buffer, but the ring has to be a power of two and* <= 2^31.
调用者
名称描述
splice_pipe_to_pipe
link_pipeLink contents of ipipe to opipe.