函数逻辑报告

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

返回类型:bool

参数:

类型参数名称
const struct pipe_inode_info *pipe
422  head等于READ_ONCE(head)
423  tail等于READ_ONCE(tail)
424  max_usage等于READ_ONCE(max_usage)
426  返回:非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.或非READ_ONCE(readers)
调用者
名称描述
pipe_write