Function report | 
Source Code:kernel\stop_machine.c | 
Create Date:2022-07-28 11:20:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:stop_one_cpu - stop a cpu*@cpu: cpu to stop*@fn: function to execute*@arg: argument to @fn* Execute @fn(@arg) on @cpu. @fn is run in a process context with* the highest priority preempting any task on the cpu and* monopolizing it
Proto:int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | cpu | |
| cpu_stop_fn_t | fn | |
| void * | arg | 
| 128 | cpu_stop_init_done( & done, 1) | 
| 129 | If Not queue @work to @stopper. if offline, @work is completed immediately Then Return -ENOENT | 
| 135 | cond_resched() | 
| 137 | Return collected return value | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |