函数逻辑报告 |
Source Code:kernel\stop_machine.c |
Create Date:2022-07-27 12:23:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:set_state
函数原型:static void set_state(struct multi_stop_data *msdata, enum multi_stop_state newstate)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct multi_stop_data * | msdata | |
enum multi_stop_state | newstate |
170 | smp_wmb() |
171 | WRITE_ONCE(state, newstate) |
名称 | 描述 |
---|---|
ack_state | Last one to ack a state moves to the next state. |
stop_two_cpus | stop_two_cpus - stops two cpus*@cpu1: the cpu to stop*@cpu2: the other cpu to stop*@fn: function to execute*@arg: argument to @fn* Stops both the current and specified CPU and runs @fn on one of them.* returns when both are completed. |
stop_machine_cpuslocked | |
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 插件可实现:逻辑报告 代码生成和批量转换代码 |