函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\main.c Create Date:2022-07-27 15:15:20
Last Modify:2022-05-23 13:07:03 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Anything after -- gets handed straight to init.

函数原型:static int __init set_init_arg(char *param, char *val, const char *unused, void *arg)

返回类型:int

参数:

类型参数名称
char *param
char *val
const char *unused
void *arg
272  如果panic_later则返回:0
275  Change NUL term back to "=", to make "param" the whole string.
277 argv_init[i]循环
278  如果i恒等于Boot command-line arguments
279  panic_later等于"init"
280  panic_param等于param
281  返回:0
284  argv_init[i]等于param
285  返回:0