Function report |
Source Code:kernel\kmod.c |
Create Date:2022-07-28 09:34:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:call_modprobe
Proto:static int call_modprobe(char *module_name, int wait)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | module_name | |
int | wait |
80 | argv = Allocation memory |
84 | module_name = kstrdup(module_name, GFP_KERNEL) |
85 | If Not module_name Then Go to free_argv |
89 | argv[1] = "-q" |
90 | argv[2] = "--" |
91 | argv[3] = module_name |
92 | argv[4] = NULL |
96 | If Not info Then Go to free_module_name |
101 | free_module_name : |
103 | free_argv : |
105 | out : |
106 | Return -ENOMEM |
Name | Describe |
---|---|
__request_module | __request_module - try to load a kernel module*@wait: wait (or not) for the operation to complete*@fmt: printf style format string for the name of the module*@...: arguments as specified in the format string |
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 |