Function report | 
Source Code:kernel\cpu.c | 
Create Date:2022-07-28 09:01:00 | 
| Last Modify:2020-03-18 13:00:59 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__cpuhp_state_remove_instance
Proto:int __cpuhp_state_remove_instance(enum cpuhp_state state, struct hlist_node *node, bool invoke)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| enum cpuhp_state | state | |
| struct hlist_node * | node | |
| bool | invoke | 
| 1826 | sp = cpuhp_get_step(state) | 
| 1829 | BUG_ON(Sanity check for callbacks ) | 
| 1831 | If Not multi_instance Then Return -EINVAL | 
| 1834 | cpus_read_lock() | 
| 1835 | mutex_lock( & cpuhp_state_mutex) | 
| 1837 | If Not invoke || Not cpuhp_get_teardown_cb(state) Then Go to remove | 
| 1844 | for_each_present_cpu(cpu) | 
| 1845 | st = per_cpu_ptr( & cpuhp_state, cpu) | 
| 1852 | remove : | 
| 1854 | mutex_unlock( & cpuhp_state_mutex) | 
| 1855 | cpus_read_unlock() | 
| 1857 | Return 0 | 
| Name | Describe | 
|---|---|
| cpuhp_state_remove_instance | puhp_state_remove_instance - Remove hotplug instance from state and invoke* the teardown callback*@state: The state from which the instance is removed*@node: The node for this individual state | 
| cpuhp_state_remove_instance_nocalls | puhp_state_remove_instance_nocalls - Remove hotplug instance from state* without invoking the reatdown callback*@state: The state from which the instance is removed*@node: The node for this individual 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  |