函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:58:39 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rb_head_page_set
函数原型: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)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果ret按位与RB_FLAG_MASK的反的值不等于val则返回:PAGE_MOVED is not part of the mask |
968 | 返回:ret按位与RB_FLAG_MASK |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |