Function report |
Source Code:kernel\cpu.c |
Create Date:2022-07-28 09:00:51 |
| Last Modify:2020-03-18 13:00:59 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static int cpuhp_reserve_state(enum cpuhp_state state)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| enum cpuhp_state | state |
| 1555 | Case state == CPUHP_AP_ONLINE_DYN |
| 1559 | Case state == CPUHP_BP_PREPARE_DYN |
| 1563 | Default |
| 1564 | Return -EINVAL |
| 1571 | WARN(1, "No more dynamic states available for CPU hotplug\n") |
| 1572 | Return -ENOSPC |
| Name | Describe |
|---|---|
| cpuhp_store_callbacks |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |