Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:user_page_pipe_buf_steal

Proto:static int user_page_pipe_buf_steal(struct pipe_inode_info *pipe, struct pipe_buffer *buf)

Type:int

Parameter:

TypeParameterName
struct pipe_inode_info *pipe
struct pipe_buffer *buf
151  If Not (flags & page is a gift ) Then Return 1
154  flags |= page is on the LRU
155  Return generic_pipe_buf_steal - attempt to take ownership of a &pipe_buffer*@pipe: the pipe that the buffer belongs to*@buf: the buffer to attempt to steal* Description:* This function attempts to steal the &struct page attached to*@buf