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_empty - Return true if the pipe is empty*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer

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

Type:bool

Parameter:

TypeParameterName
unsigned inthead
unsigned inttail
116  Return head == tail
Caller
NameDescribe
pipe_truncate
pipe_readableDone while waiting without holding the pipe lock - thus the READ_ONCE()
pipe_read
pipe_write
pipe_pollNo kernel lock held - fine
splice_from_pipe_feedsplice_from_pipe_feed - feed available data from a pipe to a file*@pipe: pipe to splice from*@sd: information to @actor*@actor: handler that splices the data* Description:* This function loops over the pipe and calls @actor to do the* actual moving of a
splice_from_pipe_nextsplice_from_pipe_next - wait for some data to splice from*@pipe: pipe to splice from*@sd: information about the splice operation* Description:* This function will wait for some data and return a positive* value (one) if pipe buffers are available
iter_file_splice_writer_file_splice_write - splice data from a pipe to a file*@pipe: pipe info*@out: file to write to*@ppos: position in @out*@len: number of bytes to splice*@flags: splice modifier flags* Description:* Will either move or copy pages (determined by @flags
splice_direct_to_actorsplice_direct_to_actor - splices data directly between two non-pipes*@in: file to splice from*@sd: actor information on where to splice to*@actor: handles the data splicing* Description:* This is a special case helper to splice directly between two
ipipe_prepMake sure there's data to read. Wait for input if we can, otherwise* return an appropriate error.
splice_pipe_to_pipe
link_pipeLink contents of ipipe to opipe.