函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:user_page_pipe_buf_steal

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

返回类型:int

参数:

类型参数名称
struct pipe_inode_info *pipe
struct pipe_buffer *buf
151  如果非flags按位与page is a gift 的值则返回:1
154  flags或等于page is on the LRU
155  返回: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