函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\pipe_fs_i.h Create Date:2022-07-27 06:51:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline bool pipe_full(unsigned int head, unsigned int tail, unsigned int limit)

返回类型:bool

参数:

类型参数名称
unsigned inthead
unsigned inttail
unsigned intlimit
138  返回:pipe_occupancy - Return number of slots used in the pipe*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer大于等于limit
调用者
名称描述
copy_page_to_iter_pipe
push_pipe
iov_iter_pipe
pipe_read
pipe_writableDone while waiting without holding the pipe lock - thus the READ_ONCE()
pipe_write
pipe_pollNo kernel lock held - fine
splice_to_pipesplice_to_pipe - fill passed data into a pipe*@pipe: pipe to fill*@spd: data to fill* Description:*@spd contains a map of pages and len/offset tuples, along with* the struct pipe_buf_operations associated with these pages. This
add_to_pipe
default_file_splice_read
wait_for_space
opipe_prepMake sure there's writeable room. Wait for room if we can, otherwise* return an appropriate error.
splice_pipe_to_pipe
link_pipeLink contents of ipipe to opipe.