Function report |
Source Code:kernel\stop_machine.c |
Create Date:2022-07-28 11:21:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:queue_stop_cpus_work
Proto:static bool queue_stop_cpus_work(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg, struct cpu_stop_done *done)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct cpumask * | cpumask | |
| cpu_stop_fn_t | fn | |
| void * | arg | |
| struct cpu_stop_done * | done |
| 380 | bool queued = false |
| 388 | stop_cpus_in_progress = true |
| 395 | If queue @work to @stopper. if offline, @work is completed immediately Then queued = true |
| 399 | stop_cpus_in_progress = false |
| 400 | preempt_enable() |
| 402 | Return queued |
| Name | Describe |
|---|---|
| __stop_cpus | |
| 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 |
| 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 |