| Function report | 
| Source Code: kernel\module.c | Create Date:2022-07-28 10:59:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:We try to place it in the list now to make sure it's unique before* we dedicate too many resources. In particular, temporary percpu* memory exhaustion.
Proto:static int add_unformed_module(struct module *mod)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct module * | mod | 
| 3692 | state = Still setting it up. | 
| 3694 | again : | 
| 3696 | old = Search for module by name: must hold module_mutex (or preempt disabled* for read-only access). | 
| 3697 | If (old != NULL) Then | 
| 3698 | If state != Normal state. Then | 
| 3703 | If err Then Go to out_unlocked | 
| 3705 | Go to again | 
| 3708 | Go to out | 
| 3710 | mod_update_bounds(mod) | 
| 3712 | mod_tree_insert(mod) | 
| 3713 | err = 0 | 
| 3715 | out : | 
| 3717 | out_unlocked : | 
| 3718 | 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. | 
| 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 |