函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\pipe.c Create Date:2022-07-29 10:34:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:int generic_pipe_buf_steal(struct pipe_inode_info *pipe, struct pipe_buffer *buf)

返回类型:int

参数:

类型参数名称
struct pipe_inode_info *pipe
struct pipe_buffer *buf
168  page等于page
175  如果page_count(page)恒等于1则
176  lock_page may only be called if we have the page's inode pinned.
177  返回:0
180  返回:1
调用者
名称描述
user_page_pipe_buf_steal