函数逻辑报告 |
Source Code:kernel\stop_machine.c |
Create Date:2022-07-27 12:24:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:stop_machine_cpuslocked
函数原型:int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| cpu_stop_fn_t | fn | |
| void * | data | |
| const struct cpumask * | cpus |
| 599 | struct multi_stop_data msdata = {fn = fn, data = data, Like num_online_cpus(), but hotplug cpu uses us, so we need this. = num_online_cpus(), active_cpus = cpus, } |
| 606 | lockdep_assert_cpus_held() |
| 608 | 如果非stop_machine_initialized则 |
| 628 | set_state( & msdata, MULTI_STOP_PREPARE) |
| 名称 | 描述 |
|---|---|
| microcode_reload_late | Reload microcode late on all CPUs. Wait for a sec until they* all gather together. |
| stop_machine |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |