函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:58:35 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_is_head_page - test if the given page is the head page* Because the reader may move the head_page pointer, we can* not trust what the head page is (it may be pointing to* the reader page). But if the next page is a header page,
函数原型:static inline int rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page *page, struct list_head *list)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
struct buffer_page * | page | |
struct list_head * | list |
876 | 如果((val & ~RB_FLAG_MASK) != (unsigned long) & list of buffer pages )则返回:PAGE_MOVED is not part of the mask |
879 | 返回:val按位与RB_FLAG_MASK |
名称 | 描述 |
---|---|
rb_set_head_page | |
rb_move_tail | This is the slow path, force gcc not to inline it. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |