Lines Matching refs:module

464 int delete_module(const char *module, unsigned int flags);
2811 struct new_module *module; in new_init_module() local
2821 module = (struct new_module *) sec->contents; in new_init_module()
2824 module->size_of_struct = sizeof(*module); in new_init_module()
2825 module->size = m_size; in new_init_module()
2826 module->flags = flag_autoclean ? NEW_MOD_AUTOCLEAN : 0; in new_init_module()
2830 module->syms = sec->header.sh_addr; in new_init_module()
2831 module->nsyms = sec->header.sh_size / (2 * tgt_sizeof_char_p); in new_init_module()
2836 module->deps = sec->header.sh_addr; in new_init_module()
2837 module->ndeps = n_ext_modules_used; in new_init_module()
2840 module->init = obj_symbol_final_value(f, obj_find_symbol(f, SPFX "init_module")); in new_init_module()
2841 module->cleanup = obj_symbol_final_value(f, obj_find_symbol(f, SPFX "cleanup_module")); in new_init_module()
2845 module->ex_table_start = sec->header.sh_addr; in new_init_module()
2846 module->ex_table_end = sec->header.sh_addr + sec->header.sh_size; in new_init_module()
2851 module->runsize = sec->header.sh_addr - m_addr; in new_init_module()
2855 if (!module->runsize in new_init_module()
2856 || module->runsize > sec->header.sh_addr - m_addr in new_init_module()
2858 module->runsize = sec->header.sh_addr - m_addr; in new_init_module()
2863 module->archdata_start = (void*)sec->header.sh_addr; in new_init_module()
2864 module->archdata_end = module->archdata_start + sec->header.sh_size; in new_init_module()
2868 module->kallsyms_start = (void*)sec->header.sh_addr; in new_init_module()
2869 module->kallsyms_end = module->kallsyms_start + sec->header.sh_size; in new_init_module()