函数逻辑报告 | 
Source Code:kernel\rcu\rcutorture.c | 
Create Date:2022-07-27 11:22:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Do a randomly selected number of extensions of an existing RCU read-side* critical section.
函数原型:static struct rt_read_seg *rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, struct rt_read_seg *rtrsp)
返回类型:struct rt_read_seg
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int * | readstate | |
| struct torture_random_state * | trsp | |
| struct rt_read_seg * | rtrsp | 
| 1243 | WARN_ON_ONCE(! * readstate) | 
| 1247 | i等于torture_random(trsp)右移3位 | 
| 1248 | i等于i按位或i右移3位的值按位与Maximum reader extensions. 的值加1 | 
| 名称 | 描述 | 
|---|---|
| rcu_torture_one_read | Do one read-side critical section, returning false if there was* no data to read. Can be invoked both from process context and* from a timer handler. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |