函数逻辑报告 |
Source Code:arch\x86\kernel\cpuid.c |
Create Date:2022-07-27 09:19:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:cpuid_init
函数原型:static int __init cpuid_init(void)
返回类型:int
参数:无
| 152 | 如果__register_chrdev(CPUID_MAJOR, 0, CPU数量, "cpu/cpuid", & File operations we support)则 |
| 154 | printk(r conditions "cpuid: unable to get major %d for cpuid\n", CPUID_MAJOR) |
| 156 | 返回:负EBUSY |
| 158 | cpuid_class等于This is a #define to keep the compiler from merging different* instances of the __key variable (THIS_MODULE, "cpuid") |
| 159 | 如果是错误则 |
| 161 | 转到:out_chrdev |
| 163 | devnode等于cpuid_devnode |
| 170 | cpuhp_cpuid_state等于err |
| 171 | 返回:0 |
| 173 | out_class : |
| 174 | class_destroy(cpuid_class) |
| 175 | out_chrdev : |
| 176 | __unregister_chrdev(CPUID_MAJOR, 0, CPU数量, "cpu/cpuid") |
| 177 | 返回:err |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |