Function report |
Source Code:kernel\params.c |
Create Date:2022-07-28 09:29:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Args looks like "foo=bar,bar2 baz=fuz wiz".
Proto:char *parse_args(const char *doing, char *args, const struct kernel_param *params, unsigned num, s16 min_level, s16 max_level, void *arg, int (*unknown)(char *param, char *val, const char *doing, void *arg))
Type:char
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | doing | |
char * | args | |
const struct kernel_param * | params | |
unsigned | num | |
s16 | min_level | |
s16 | max_level | |
void * | arg | |
int (* | unknown |
174 | args = skip_spaces - Removes leading whitespace from @str.*@str: The string to be stripped.* Returns a pointer to the first non-whitespace character in @str. |
183 | args = Parse a string to get a param value pair.* You can use " around spaces, but can't escape ".* Hyphens and underscores equivalent in parameter names. |
187 | irq_was_disabled = Some architectures don't define arch_irqs_disabled(), so even if either* definition would be fine we need to use different ones for the time being* to avoid build issues.() |
190 | If irq_was_disabled && Not Some architectures don't define arch_irqs_disabled(), so even if either* definition would be fine we need to use different ones for the time being* to avoid build issues.() Then pr_warn("%s: option '%s' enabled irq's!\n", doing, param) |
195 | Case ret == 0 |
196 | Continue |
204 | Default |
213 | Return err |
Name | Describe |
---|---|
load_module | Allocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections. |
start_kernel | |
do_initcall_level | |
dynamic_debug_init |
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 |