Function report |
Source Code:kernel\module.c |
Create Date:2022-07-28 10:59:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:layout_and_allocate
Proto:static struct module *layout_and_allocate(struct load_info *info, int flags)
Type:struct module
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct load_info * | info | |
| int | flags |
| 3414 | err = check_modinfo( pointer to module in temporary copy, freed at end of load_module() , info, flags) |
| 3419 | err = module_frob_arch_sections(hdr, sechdrs, secstrings, pointer to module in temporary copy, freed at end of load_module() ) |
| 3433 | If ndx Then sh_flags |= SHF_RO_AFTER_INIT |
| 3442 | If ndx Then sh_flags |= SHF_RO_AFTER_INIT |
| 3458 | kmemleak_load_module(mod, info) |
| 3459 | Return mod |
| 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 |