函数逻辑报告 |
Source Code:kernel\relay.c |
Create Date:2022-07-27 12:52:03 |
Last Modify:2020-03-17 19:20:22 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void relay_subbufs_consumed(struct rchan *chan, unsigned int cpu, size_t subbufs_consumed)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rchan * | chan | |
unsigned int | cpu | |
size_t | subbufs_consumed |
817 | buf等于per_cpu_ptr( per-cpu channel buffers , cpu) |
818 | 如果非buf或subbufs_consumed大于 number of sub-buffers per buffer 则返回 |
821 | 如果subbufs_consumed大于count of sub-buffers produced 减count of sub-buffers consumed 则count of sub-buffers consumed 等于count of sub-buffers produced |
名称 | 描述 |
---|---|
relay_file_read_consume | lay_file_read_consume - update the consumed count for the buffer |
relay_consume_bytes |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |