函数逻辑报告 |
Source Code:kernel\rcu\rcutorture.c |
Create Date:2022-07-27 11:22:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Initialize RCU barrier testing.
函数原型:static int rcu_torture_barrier_init(void)
返回类型:int
参数:无
2103 | 如果n_barrier_cbs小于等于0则返回:0 |
2105 | 如果(call == NULL || cb_barrier == NULL)则 |
2106 | 打印警报信息("%s"TORTURE_FLAG" Call or barrier ops missing for %s,\n", torture_type, name) |
2109 | 打印警报信息("%s"TORTURE_FLAG" RCU barrier testing omitted from run.\n", torture_type) |
2112 | 返回:0 |
2114 | atomic_set( & Barrier callbacks registered. , 0) |
2115 | atomic_set( & Barrier callbacks invoked. , 0) |
2116 | barrier_cbs_tasks等于分配数组内存并置零 |
2121 | 如果barrier_cbs_tasks恒等于NULL或非Coordinate barrier testing. 则返回:负ENOMEM |
2123 | 以i小于n_barrier_cbs循环 |
2124 | init_waitqueue_head( & Coordinate barrier testing. [i]) |
2125 | ret等于torture_create_kthread(kthread function to register callbacks used to test RCU barriers. , (void * )(long)i, barrier_cbs_tasks[i]) |
2131 | 返回:torture_create_kthread(kthread function to drive and coordinate RCU barrier testing. , NULL, barrier_task) |
名称 | 描述 |
---|---|
rcu_torture_init |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |