Function report |
Source Code:kernel\params.c |
Create Date:2022-07-28 09:29:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We break the rule and mangle the string.
Proto:static int param_array(struct module *mod, const char *name, const char *val, unsigned int min, unsigned int max, void *elem, int elemsize, int (*set)(const char *, const struct kernel_param *kp), s16 level, unsigned int *num)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct module * | mod | |
const char * | name | |
const char * | val | |
unsigned int | min | |
unsigned int | max | |
void * | elem | |
int | elemsize | |
int (* | set | |
s16 | level | |
unsigned int * | num |
412 | num = 0 |
414 | Do |
421 | len = strcspn - Calculate the length of the initial substring of @s which does not contain letters in @reject*@s: The string to be searched*@reject: The string to avoid |
425 | ) = '\0' |
426 | check_kparam_locked(mod) |
433 | num++ |
440 | Return 0 |
Name | Describe |
---|---|
param_array_set |
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 |