函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\relay.c Create Date:2022-07-27 12:52:23
Last Modify:2020-03-17 19:20:22 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:relay_consume_bytes

函数原型:static void relay_consume_bytes(struct rchan_buf *rbuf, int bytes_consumed)

返回类型:void

参数:

类型参数名称
struct rchan_buf *rbuf
intbytes_consumed
1162  ytes consumed in cur read subbuf 加等于bytes_consumed
1164  如果ytes consumed in cur read subbuf 大于等于 sub-buffer size
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
调用者
名称描述
relay_pipe_buf_release