函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mce\amd.c |
Create Date:2022-07-27 09:04:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:reate dir/files for all valid threshold banks
函数原型:int mce_threshold_create_device(unsigned int cpu)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | cpu |
| 1459 | err等于0 |
| 1461 | bp等于per_cpu(threshold_banks, cpu) |
| 1462 | 如果bp则返回:0 |
| 1470 | per_cpu(threshold_banks, cpu)等于bp |
| 1472 | 以bank小于per_cpu(mce_num_banks, cpu)循环 |
| 1475 | err等于threshold_create_bank(cpu, bank) |
| 1479 | 返回:err |
| 1480 | err : |
| 1482 | 返回:err |
| 名称 | 描述 |
|---|---|
| threshold_init_device |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |