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

Proto:int generic_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
168  page = page
175  If page_count(page) == 1 Then
176  lock_page may only be called if we have the page's inode pinned.
177  Return 0
180  Return 1
Caller
NameDescribe
user_page_pipe_buf_steal