函数逻辑报告

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

函数名称:Done while waiting without holding the pipe lock - thus the READ_ONCE()

函数原型:static inline bool pipe_readable(const struct pipe_inode_info *pipe)

返回类型:bool

参数:

类型参数名称
const struct pipe_inode_info *pipe
276  head等于READ_ONCE(head)
277  tail等于READ_ONCE(tail)
278  writers等于READ_ONCE(writers)
280  返回:非pipe_empty - Return true if the pipe is empty*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer或非writers
调用者
名称描述
pipe_read