Function report |
Source Code:kernel\params.c |
Create Date:2022-07-28 09:29:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parse_one
Proto:static int parse_one(char *param, char *val, const char *doing, const struct kernel_param *params, unsigned num_params, s16 min_level, s16 max_level, void *arg, int (*handle_unknown)(char *param, char *val, const char *doing, void *arg))
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | param | |
char * | val | |
const char * | doing | |
const struct kernel_param * | params | |
unsigned | num_params | |
s16 | min_level | |
s16 | max_level | |
void * | arg | |
int (* | handle_unknown |
130 | When i < num_params cycle |
136 | If Not val && Not (flags & KERNEL_PARAM_OPS_FL_NOARG) Then Return -EINVAL |
141 | kernel_param_lock(mod) |
146 | kernel_param_unlock(mod) |
147 | Return err |
151 | If handle_unknown Then |
153 | Return handle_unknown(param, val, doing, arg) |
157 | Return -ENOENT |
Name | Describe |
---|---|
parse_args | Args looks like "foo=bar,bar2 baz=fuz wiz". |
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 |