Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\pipe_fs_i.h Create Date:2022-07-28 05:52:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static inline bool pipe_full(unsigned int head, unsigned int tail, unsigned int limit)

Type:bool

Parameter:

TypeParameterName
unsigned inthead
unsigned inttail
unsigned intlimit
138  Return pipe_occupancy - Return number of slots used in the pipe*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer >= limit
Caller
NameDescribe
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.