Function report |
Source Code:kernel\events\ring_buffer.c |
Create Date:2022-07-28 13:42:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ring_buffer_has_space
Proto:static __always_inline bool ring_buffer_has_space(unsigned long head, unsigned long tail, unsigned long data_size, unsigned int size, bool backward)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | head | |
| unsigned long | tail | |
| unsigned long | data_size | |
| unsigned int | size | |
| bool | backward |
| 144 | Else Return 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 |
| Name | Describe |
|---|---|
| __perf_output_begin |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |