函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:58:47 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_tail_page_update - move the tail page forward
函数原型:static void rb_tail_page_update(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page *tail_page, struct buffer_page *next_page)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer_per_cpu * | cpu_buffer | |
struct buffer_page * | tail_page | |
struct buffer_page * | next_page |
1079 | old_entries等于返回和 |
1081 | local_inc( & pages_touched) |
1093 | 如果tail_page恒等于READ_ONCE(write to tail )则 |
1108 | local_cmpxchg( & dex for next write , old_write, val) |
1109 | local_cmpxchg( & ries on this page , old_entries, eval) |
1116 | local_set( & write committed index , 0) |
1119 | cmpxchg( & write to tail , tail_page, next_page) |
名称 | 描述 |
---|---|
rb_move_tail | This is the slow path, force gcc not to inline it. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |