函数逻辑报告 |
Source Code:kernel\cpu.c |
Create Date:2022-07-27 10:00:36 |
| Last Modify:2020-03-18 13:00:59 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__cpuhp_state_remove_instance
函数原型:int __cpuhp_state_remove_instance(enum cpuhp_state state, struct hlist_node *node, bool invoke)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| enum cpuhp_state | state | |
| struct hlist_node * | node | |
| bool | invoke |
| 1826 | sp等于cpuhp_get_step(state) |
| 1829 | BUG_ON(Sanity check for callbacks ) |
| 1831 | 如果非multi_instance则返回:负EINVAL |
| 1834 | cpus_read_lock() |
| 1835 | mutex_lock( & cpuhp_state_mutex) |
| 1837 | 如果非invoke或非cpuhp_get_teardown_cb(state)则转到:remove |
| 1845 | st等于per_cpu_ptr( & cpuhp_state, cpu) |
| 1852 | remove : |
| 1854 | mutex_unlock( & cpuhp_state_mutex) |
| 1855 | cpus_read_unlock() |
| 1857 | 返回:0 |
| 名称 | 描述 |
|---|---|
| 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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |