Function report |
Source Code:kernel\reboot.c |
Create Date:2022-07-28 09:32:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:migrate_to_reboot_cpu
Proto:void migrate_to_reboot_cpu(void)
Type:void
Parameter:Nothing
| 221 | cpu = reboot_cpu |
| 223 | cpu_hotplug_disable() |
| 226 | If Not cpu_online(cpu) Then cpu = Uniprocessor. Assume all masks are "1". |
| 233 | set_cpus_allowed_ptr(current process, cpumask_of - the cpumask containing just a given cpu*@cpu: the cpu (<= nr_cpu_ids)(cpu)) |
| Name | Describe |
|---|---|
| kernel_restart | kernel_restart - reboot the system*@cmd: pointer to buffer containing command to execute for restart* or %NULL* Shutdown everything and perform a clean reboot.* This is not safe to call in interrupt context. |
| kernel_halt | kernel_halt - halt the system* Shutdown everything and perform a clean system halt. |
| kernel_power_off | kernel_power_off - power_off the system* Shutdown everything and perform a clean system power_off. |
| kernel_kexec | Move into place and start executing a preloaded standalone* executable. If nothing was preloaded return an error. |
| 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 |