Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Done while waiting without holding the pipe lock - thus the READ_ONCE()

Proto:static inline bool pipe_readable(const struct pipe_inode_info *pipe)

Type:bool

Parameter:

TypeParameterName
const struct pipe_inode_info *pipe
276  head = READ_ONCE(head)
277  tail = READ_ONCE(tail)
278  writers = READ_ONCE(writers)
280  Return Not pipe_empty - Return true if the pipe is empty*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer || Not writers
Caller
NameDescribe
pipe_read