Function report |
Source Code:kernel\cpu.c |
Create Date:2022-07-28 09:00:50 |
| Last Modify:2020-03-18 13:00:59 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Sanity check for callbacks
Proto:static int cpuhp_cb_check(enum cpuhp_state state)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| enum cpuhp_state | state |
| 1539 | If state <= CPUHP_OFFLINE || state >= CPUHP_ONLINE Then Return -EINVAL |
| 1541 | Return 0 |
| Name | Describe |
|---|---|
| __cpuhp_setup_state_cpuslocked | __cpuhp_setup_state_cpuslocked - Setup the callbacks for an hotplug machine state*@state: The state to setup*@invoke: If true, the startup function is invoked for cpus where* cpu state >= @state*@startup: startup callback function*@teardown: teardown |
| __cpuhp_state_remove_instance | |
| __cpuhp_remove_state_cpuslocked | __cpuhp_remove_state_cpuslocked - Remove the callbacks for an hotplug machine state*@state: The state to remove*@invoke: If true, the teardown function is invoked for cpus where* cpu state >= @state |
| 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 |