Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\relay.c Create Date:2022-07-28 11:46:50
Last Modify:2020-03-17 19:20:22 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lay_buf_empty - boolean, is the channel buffer empty?*@buf: channel buffer* Returns 1 if the buffer is empty, 0 otherwise.

Proto:static int relay_buf_empty(struct rchan_buf *buf)

Type:int

Parameter:

TypeParameterName
struct rchan_buf *buf
246  Return If count of sub-buffers produced - count of sub-buffers consumed Then 0 Else 1
Caller
NameDescribe
relay_file_polllay_file_poll - poll file op for relay files*@filp: the file*@wait: poll table* Poll implemention.