函数逻辑报告 |
Source Code:kernel\events\ring_buffer.c |
Create Date:2022-07-27 15:02:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ring_buffer_has_space
函数原型:static __always_inline bool ring_buffer_has_space(unsigned long head, unsigned long tail, unsigned long data_size, unsigned int size, bool backward)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | head | |
| unsigned long | tail | |
| unsigned long | data_size | |
| unsigned int | size | |
| bool | backward |
| 142 | 如果非backward则返回:Return space available, 0..size-1. We always leave one free charas a completely full buffer has head == tail, which is the same asempty. (head, tail, data_size)大于等于size |
| 144 | 否则返回:Return space available, 0..size-1. We always leave one free charas a completely full buffer has head == tail, which is the same asempty. (tail, head, data_size)大于等于size |
| 名称 | 描述 |
|---|---|
| __perf_output_begin |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |