函数逻辑报告 |
Source Code:kernel\cpu.c |
Create Date:2022-07-27 10:00:27 |
| Last Modify:2020-03-18 13:00:59 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Returns a free for dynamic slot assignment of the Online state. The states* are protected by the cpuhp_slot_states mutex and an empty slot is identified* by having no name assigned.
函数原型:static int cpuhp_reserve_state(enum cpuhp_state state)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| enum cpuhp_state | state |
| 1555 | 当:state恒等于CPUHP_AP_ONLINE_DYN |
| 1559 | 当:state恒等于CPUHP_BP_PREPARE_DYN |
| 1563 | 默认 |
| 1564 | 返回:负EINVAL |
| 1571 | WARN(1, "No more dynamic states available for CPU hotplug\n") |
| 1572 | 返回:负ENOSPC |
| 名称 | 描述 |
|---|---|
| cpuhp_store_callbacks |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |