Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\pipe.c Create Date:2022-07-28 20:04:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pipe_double_lock

Proto:void pipe_double_lock(struct pipe_inode_info *pipe1, struct pipe_inode_info *pipe2)

Type:void

Parameter:

TypeParameterName
struct pipe_inode_info *pipe1
struct pipe_inode_info *pipe2
97  BUG_ON(pipe1 == pipe2)
99  If pipe1 < pipe2 Then
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  Else
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.
Caller
NameDescribe
splice_pipe_to_pipe
link_pipeLink contents of ipipe to opipe.