函数逻辑报告 |
Source Code:lib\test_kmod.c |
Create Date:2022-07-27 07:32:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:trigger_config_run_type
函数原型:static int trigger_config_run_type(struct kmod_test_device *test_dev, enum kmod_test_case test_case, const char *test_str)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kmod_test_device * | test_dev | |
| enum kmod_test_case | test_case | |
| const char * | test_str |
| 734 | copied等于0 |
| 737 | mutex_lock( & config_mutex) |
| 740 | 当:test_case恒等于TEST_KMOD_DRIVER |
| 742 | test_driver = NULL |
| 745 | 退出 |
| 746 | 当:test_case恒等于TEST_KMOD_FS_TYPE |
| 748 | test_driver = NULL |
| 751 | 退出 |
| 752 | 默认 |
| 753 | mutex_unlock( & config_mutex) |
| 754 | 返回:负EINVAL |
| 759 | mutex_unlock( & config_mutex) |
| 762 | test_is_oom = true |
| 763 | 返回:负ENOMEM |
| 766 | test_is_oom = false |
| 768 | 返回:trigger_config_run(test_dev) |
| 名称 | 描述 |
|---|---|
| test_kmod_init |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |