函数逻辑报告 |
Source Code:kernel\locking\locktorture.c |
Create Date:2022-07-27 10:54:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Forward reference.
函数原型:static void lock_torture_cleanup(void)
返回类型:void
参数:无
789 | 如果Clean up torture module则返回 |
798 | 如果非 writer statistics 且非 reader statistics 则转到:end |
801 | 如果writer_tasks则 |
802 | 以i小于nrealwriters_stress循环torture_stop_kthread(Lock torture writer kthread. Repeatedly acquires and releases* the lock, checking for duplicate acquisitions., writer_tasks[i]) |
805 | 释放内存 |
806 | writer_tasks = NULL |
809 | 如果reader_tasks则 |
810 | 以i小于nrealreaders_stress循环torture_stop_kthread(Lock torture reader kthread. Repeatedly acquires and releases* the reader lock., reader_tasks[i]) |
813 | 释放内存 |
814 | reader_tasks = NULL |
820 | 如果atomic_read( & n_lock_torture_errors)则lock_torture_print_module_parms(cur_ops, "End of test: FAILURE") |
823 | 否则如果torture_onoff_failures()则lock_torture_print_module_parms(cur_ops, "End of test: LOCK_HOTPLUG") |
826 | 否则lock_torture_print_module_parms(cur_ops, "End of test: SUCCESS") |
830 | 释放内存 |
831 | writer statistics = NULL |
832 | 释放内存 |
833 | reader statistics = NULL |
835 | end : |
836 | torture_cleanup_end() |
名称 | 描述 |
---|---|
lock_torture_init |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |