Function report |
Source Code:init\main.c |
Create Date:2022-07-28 13:53:51 |
Last Modify:2022-05-23 13:07:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kernel_init
Proto:static int __ref kernel_init(void *unused)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | unused |
1110 | kernel_init_freeable() |
1113 | ftrace_free_init_mem() |
1114 | free_initmem() |
1115 | mark_readonly() |
1121 | pti_finalize() |
1123 | system_state = SYSTEM_RUNNING |
1124 | numa_default_policy() |
1128 | If ramdisk_execute_command Then |
1130 | If Not ret Then Return 0 |
1132 | pr_err("Failed to execute %s (error %d)\n", ramdisk_execute_command, ret) |
1142 | If execute_command Then |
1143 | ret = run_init_process(execute_command) |
1144 | If Not ret Then Return 0 |
1149 | If Not try_to_run_init_process("/sbin/init") || Not try_to_run_init_process("/etc/init") || Not try_to_run_init_process("/bin/init") || Not try_to_run_init_process("/bin/sh") Then Return 0 |
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 |