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_writable(const struct pipe_inode_info *pipe)

Type:bool

Parameter:

TypeParameterName
const struct pipe_inode_info *pipe
422  head = READ_ONCE(head)
423  tail = READ_ONCE(tail)
424  max_usage = READ_ONCE(max_usage)
426  Return Not 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. || Not READ_ONCE(readers)
Caller
NameDescribe
pipe_write