函数逻辑报告 |
Source Code:kernel\stop_machine.c |
Create Date:2022-07-27 12:23:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This is the cpu_stop function which stops the CPU.
函数原型:static int multi_cpu_stop(void *data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | data |
190 | curstate等于MULTI_STOP_NONE |
200 | local_save_flags(flags) |
202 | 如果非active_cpus则 |
205 | 否则 |
206 | cpumask等于active_cpus |
211 | 循环 |
218 | 当:curstate恒等于MULTI_STOP_DISABLE_IRQ |
222 | 当:curstate恒等于MULTI_STOP_RUN |
226 | 默认 |
227 | 退出 |
230 | 否则如果curstate大于MULTI_STOP_PREPARE则 |
239 | 当curstate不等于MULTI_STOP_EXIT循环 |
241 | local_irq_restore(flags) |
242 | 返回:err |
名称 | 描述 |
---|---|
stop_machine_from_inactive_cpu | stop_machine_from_inactive_cpu - stop_machine() from inactive CPU*@fn: the function to run*@data: the data ptr for the @fn()*@cpus: the cpus to run the @fn() on (NULL = any online cpu)* This is identical to stop_machine() but can be called from a CPU which |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |