Function report |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-28 11:53:19 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rb_head_page_set
Proto:static int rb_head_page_set(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page *head, struct buffer_page *prev, int old_flag, int new_flag)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
struct buffer_page * | head | |
struct buffer_page * | prev | |
int | old_flag | |
int | new_flag |
954 | unsigned long val = (unsigned long) & list of buffer pages |
957 | list = list of buffer pages |
959 | val &= ~RB_FLAG_MASK |
965 | If (ret & ~RB_FLAG_MASK) != val Then Return PAGE_MOVED is not part of the mask |
968 | Return ret & RB_FLAG_MASK |
Name | Describe |
---|---|
rb_head_page_set_update | |
rb_head_page_set_head | |
rb_head_page_set_normal |
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 |