Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\main.c Create Date:2022-07-28 13:53:09
Last Modify:2022-05-23 13:07:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Anything after -- gets handed straight to init.

Proto:static int __init set_init_arg(char *param, char *val, const char *unused, void *arg)

Type:int

Parameter:

TypeParameterName
char *param
char *val
const char *unused
void *arg
272  If panic_later Then Return 0
275  Change NUL term back to "=", to make "param" the whole string.
277  When argv_init[i] cycle
278  If i == Boot command-line arguments Then
279  panic_later = "init"
280  panic_param = param
281  Return 0
284  argv_init[i] = param
285  Return 0