Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\pipe.c Create Date:2022-07-28 20:04:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pipe_unlock

Proto:void pipe_unlock(struct pipe_inode_info *pipe)

Type:void

Parameter:

TypeParameterName
struct pipe_inode_info *pipe
79  If files Then mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
pipe_waitDrop the inode semaphore and wait for a pipe event, atomically
splice_from_pipesplice_from_pipe - splice data from a pipe to a file*@pipe: pipe to splice from*@out: file to splice to*@ppos: position in @out*@len: how many bytes to splice*@flags: splice modifier flags*@actor: handler that splices the data* Description:
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
do_spliceDetermine where to splice to/from.
vmsplice_to_userFor lack of a better implementation, implement vmsplice() to userspace* as a simple copy of the pipes pages to the user iov.
vmsplice_to_pipevmsplice splices a user address range into a pipe. It can be thought of* as splice-from-memory, where the regular splice is splice-from-file (or* to file). In both cases the output is a pipe, naturally.
ipipe_prepMake sure there's data to read. Wait for input if we can, otherwise* return an appropriate error.
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.
wait_for_dump_helpers