Function report |
Source Code:kernel\reboot.c |
Create Date:2022-07-28 09:32:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kernel_restart_prepare
Proto:void kernel_restart_prepare(char *cmd)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | cmd |
| 73 | blocking_notifier_call_chain( & Notifier list for kernel code which wants to be called* at shutdown. This is used to stop any idling DMA operations* and the like., SYS_RESTART, cmd) |
| 74 | Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE. = SYSTEM_RESTART |
| 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_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 |