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_occupancy - Return number of slots used in the pipe*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer

Proto:static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail)

Type:unsigned int

Parameter:

TypeParameterName
unsigned inthead
unsigned inttail
126  Return head - tail
Caller
NameDescribe
sanity
pipe_set_sizeAllocate a new array of pipe buffers and copy the info over. Returns the* pipe size if successful, or return -ERROR on error.
pipe_to_sendpageSend 'sd->len' bytes to socket from 'sd->file' at position 'sd->pos'* using sendpage(). Return the number of bytes sent.
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
do_spliceDetermine where to splice to/from.