函数逻辑报告 |
Source Code:kernel\relay.c |
Create Date:2022-07-27 12:51:40 |
Last Modify:2020-03-17 19:20:22 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__relay_reset - reset a channel buffer*@buf: the channel buffer*@init: 1 if this is a first-time initialization* See relay_reset() for description of effect.
函数原型:static void __relay_reset(struct rchan_buf *buf, unsigned int init)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rchan_buf * | buf | |
unsigned int | init |
355 | 如果init则 |
356 | init_waitqueue_head( & ader wait queue ) |
357 | 初始化对象 |
359 | 否则 |
360 | irq_work_sync( & ader wakeup ) |
363 | count of sub-buffers produced 等于0 |
364 | count of sub-buffers consumed 等于0 |
365 | ytes consumed in cur read subbuf 等于0 |
366 | uffer has been finalized 等于0 |
368 | current offset into sub-buffer 等于0 |
373 | subbuf_start(buf, start of current sub-buffer , NULL, 0) |
名称 | 描述 |
---|---|
relay_reset | lay_reset - reset the channel*@chan: the channel* This has the effect of erasing all data from all channel buffers* and restarting the channel in its initial state. The buffers* are not freed, so any mappings are still in effect.* NOTE |
relay_open_buf | lay_open_buf - create a new relay channel buffer* used by relay_open() and CPU hotplug. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |