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

Proto:static int anon_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
143  page = page
145  If page_count(page) == 1 Then
146  memcg_kmem_uncharge(page, 0)
147  __SetPageLocked(page)
148  Return 0
150  Return 1