Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:relay_consume_bytes

Proto:static void relay_consume_bytes(struct rchan_buf *rbuf, int bytes_consumed)

Type:void

Parameter:

TypeParameterName
struct rchan_buf *rbuf
intbytes_consumed
1162  ytes consumed in cur read subbuf += bytes_consumed
1164  If ytes consumed in cur read subbuf >= sub-buffer size Then
1165  lay_subbufs_consumed - update the buffer's sub-buffers-consumed count*@chan: the channel*@cpu: the cpu associated with the channel buffer to update*@subbufs_consumed: number of sub-buffers to add to current buf's count
1166  ytes consumed in cur read subbuf %= sub-buffer size
Caller
NameDescribe
relay_pipe_buf_release