H A D | modpost.c | 165 struct module *mod; in find_module() local 167 list_for_each_entry(mod, &modules, list) { in find_module() 168 if (strcmp(mod->name, modname) == 0) in find_module() 169 return mod; in find_module() 176 struct module *mod; in new_module() local 178 mod = NOFAIL(malloc(sizeof(*mod) + namelen + 1)); in new_module() 179 memset(mod, 0, sizeof(*mod)); in new_module() 181 INIT_LIST_HEAD(&mod in new_module() 260 sym_add_unresolved(const char * name,struct module * mod,bool weak) sym_add_unresolved() argument 270 sym_find_with_module(const char * name,struct module * mod) sym_find_with_module() argument 361 sym_add_exported(const char * name,struct module * mod,bool gpl_only,const char * namespace) sym_add_exported() argument 608 handle_symbol(struct module * mod,struct elf_info * info,const Elf_Sym * sym,const char * symname) handle_symbol() argument 1078 check_export_symbol(struct module * mod,struct elf_info * elf,Elf_Addr faddr,const char * secname,Elf_Sym * sym) check_export_symbol() argument 1148 check_section_mismatch(struct module * mod,struct elf_info * elf,Elf_Sym * sym,unsigned int fsecndx,const char * fromsec,Elf_Addr faddr,Elf_Addr taddr) check_section_mismatch() argument 1377 section_rela(struct module * mod,struct elf_info * elf,unsigned int fsecndx,const char * fromsec,const Elf_Rela * start,const Elf_Rela * stop) section_rela() argument 1419 section_rel(struct module * mod,struct elf_info * elf,unsigned int fsecndx,const char * fromsec,const Elf_Rel * start,const Elf_Rel * stop) section_rel() argument 1468 check_sec_ref(struct module * mod,struct elf_info * elf) check_sec_ref() argument 1517 extract_crcs_for_object(const char * object,struct module * mod) extract_crcs_for_object() argument 1585 mod_set_crcs(struct module * mod) mod_set_crcs() argument 1617 struct module *mod; read_symbols() local 1732 check_exports(struct module * mod) check_exports() argument 1793 check_modname_len(struct module * mod) check_modname_len() argument 1809 add_header(struct buffer * b,struct module * mod) add_header() argument 1862 add_exported_symbols(struct buffer * buf,struct module * mod) add_exported_symbols() argument 1900 add_versions(struct buffer * b,struct module * mod) add_versions() argument 1931 add_depends(struct buffer * b,struct module * mod) add_depends() argument 1964 add_srcversion(struct buffer * b,struct module * mod) add_srcversion() argument 2030 write_vmlinux_export_c_file(struct module * mod) write_vmlinux_export_c_file() argument 2043 write_mod_c_file(struct module * mod) write_mod_c_file() argument 2085 struct module *mod; read_dump() local 2133 struct module *mod; write_dump() local 2155 struct module *mod; write_namespace_deps_files() local 2183 struct module *mod; main() local [all...] |