函数逻辑报告 |
Source Code:kernel\cpu.c |
Create Date:2022-07-27 10:00:28 |
Last Modify:2020-03-18 13:00:59 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cpuhp_store_callbacks
函数原型:static int cpuhp_store_callbacks(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu), bool multi_instance)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
enum cpuhp_state | state | |
const char * | name | |
int (* | startup | |
int (* | teardown | |
bool | multi_instance |
1582 | ret等于0 |
1593 | 如果name且state恒等于CPUHP_AP_ONLINE_DYN或state恒等于CPUHP_BP_PREPARE_DYN的值则 |
1600 | sp等于cpuhp_get_step(state) |
1607 | multi_instance等于multi_instance |
1608 | INIT_HLIST_HEAD( & list) |
1609 | 返回:ret |
名称 | 描述 |
---|---|
__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_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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |