Lines Matching defs:mod

140 		unsigned int sym, str, mod, vers, info, pcpu;  member
146 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get()
156 static inline void add_taint_module(struct module *mod, unsigned flag) in add_taint_module()
166 void __module_put_and_exit(struct module *mod, long code) in __module_put_and_exit()
257 struct module *mod; in each_symbol_section() local
415 struct module *mod; in find_module() local
427 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
432 static int percpu_modalloc(struct module *mod, in percpu_modalloc()
452 static void percpu_modfree(struct module *mod) in percpu_modfree()
462 static void percpu_modcopy(struct module *mod, in percpu_modcopy()
482 struct module *mod; in is_module_percpu_address() local
507 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
511 static inline int percpu_modalloc(struct module *mod, in percpu_modalloc()
516 static inline void percpu_modfree(struct module *mod) in percpu_modfree()
523 static inline void percpu_modcopy(struct module *mod, in percpu_modcopy()
573 static int module_unload_init(struct module *mod) in module_unload_init()
653 static void module_unload_free(struct module *mod) in module_unload_free()
688 struct module *mod; member
709 static int try_stop_module(struct module *mod, int flags, int *forced) in try_stop_module()
723 unsigned long module_refcount(struct module *mod) in module_refcount()
753 static void wait_for_zero_refcount(struct module *mod) in wait_for_zero_refcount()
771 struct module *mod; in SYSCALL_DEFINE2() local
846 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
954 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
960 static inline void module_unload_free(struct module *mod) in module_unload_free()
970 static inline int module_unload_init(struct module *mod) in module_unload_init()
976 static size_t module_flags_taint(struct module *mod, char *buf) in module_flags_taint()
1079 static int try_to_force_load(struct module *mod, const char *reason) in try_to_force_load()
1107 struct module *mod, in check_version()
1149 struct module *mod) in check_modstruct_version()
1176 struct module *mod, in check_version()
1185 struct module *mod) in check_modstruct_version()
1198 static const struct kernel_symbol *resolve_symbol(struct module *mod, in resolve_symbol()
1235 resolve_symbol_wait(struct module *mod, in resolve_symbol_wait()
1295 static void add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs()
1349 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs()
1394 static void add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs()
1453 static void remove_notes_attrs(struct module *mod) in remove_notes_attrs()
1461 static inline void add_sect_attrs(struct module *mod, in add_sect_attrs()
1466 static inline void remove_sect_attrs(struct module *mod) in remove_sect_attrs()
1470 static inline void add_notes_attrs(struct module *mod, in add_notes_attrs()
1475 static inline void remove_notes_attrs(struct module *mod) in remove_notes_attrs()
1480 static void add_usage_links(struct module *mod) in add_usage_links()
1495 static void del_usage_links(struct module *mod) in del_usage_links()
1507 static int module_add_modinfo_attrs(struct module *mod) in module_add_modinfo_attrs()
1533 static void module_remove_modinfo_attrs(struct module *mod) in module_remove_modinfo_attrs()
1549 static int mod_sysfs_init(struct module *mod) in mod_sysfs_init()
1583 static int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup()
1625 static void mod_sysfs_fini(struct module *mod) in mod_sysfs_fini()
1634 static int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup()
1642 static void mod_sysfs_fini(struct module *mod) in mod_sysfs_fini()
1646 static void module_remove_modinfo_attrs(struct module *mod) in module_remove_modinfo_attrs()
1650 static void del_usage_links(struct module *mod) in del_usage_links()
1656 static void mod_sysfs_teardown(struct module *mod) in mod_sysfs_teardown()
1672 struct module *mod = _mod; in __unlink_module() local
1722 static void unset_module_core_ro_nx(struct module *mod) in unset_module_core_ro_nx()
1732 static void unset_module_init_ro_nx(struct module *mod) in unset_module_init_ro_nx()
1745 struct module *mod; in set_all_modules_text_rw() local
1766 struct module *mod; in set_all_modules_text_ro() local
1785 static void unset_module_core_ro_nx(struct module *mod) { } in unset_module_core_ro_nx()
1786 static void unset_module_init_ro_nx(struct module *mod) { } in unset_module_init_ro_nx()
1789 void __weak module_free(struct module *mod, void *module_region) in module_free()
1794 void __weak module_arch_cleanup(struct module *mod) in module_arch_cleanup()
1799 static void free_module(struct module *mod) in free_module()
1860 static int verify_export_symbols(struct module *mod) in verify_export_symbols()
1893 static int simplify_symbols(struct module *mod, const struct load_info *info) in simplify_symbols()
1972 static int apply_relocations(struct module *mod, const struct load_info *info) in apply_relocations()
2002 unsigned int __weak arch_mod_section_prepend(struct module *mod, in arch_mod_section_prepend()
2010 static long get_offset(struct module *mod, unsigned int *size, in get_offset()
2025 static void layout_sections(struct module *mod, struct load_info *info) in layout_sections()
2101 static void set_license(struct module *mod, const char *license) in set_license()
2147 static void setup_modinfo(struct module *mod, struct load_info *info) in setup_modinfo()
2158 static void free_modinfo(struct module *mod) in free_modinfo()
2181 const struct module *mod) in is_exported()
2260 static void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab()
2300 static void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms()
2333 static inline void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab()
2337 static void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms()
2381 static void kmemleak_load_module(const struct module *mod, in kmemleak_load_module()
2401 static inline void kmemleak_load_module(const struct module *mod, in kmemleak_load_module()
2503 struct module *mod; in setup_load_info() local
2548 static int check_modinfo(struct module *mod, struct load_info *info) in check_modinfo()
2580 static void find_module_sections(struct module *mod, struct load_info *info) in find_module_sections()
2663 static int move_module(struct module *mod, struct load_info *info) in move_module()
2723 static int check_module_license_and_versions(struct module *mod) in check_module_license_and_versions()
2757 static void flush_module_icache(const struct module *mod) in flush_module_icache()
2783 struct module *mod) in module_frob_arch_sections()
2791 struct module *mod; in layout_and_allocate() local
2842 static void module_deallocate(struct module *mod, struct load_info *info) in module_deallocate()
2856 static int post_relocation(struct module *mod, const struct load_info *info) in post_relocation()
2879 struct module *mod; in load_module() local
3010 static void do_mod_ctors(struct module *mod) in do_mod_ctors()
3024 struct module *mod; in SYSCALL_DEFINE3() local
3121 static const char *get_ksymbol(struct module *mod, in get_ksymbol()
3173 struct module *mod; in module_address_lookup() local
3197 struct module *mod; in lookup_module_symbol_name() local
3221 struct module *mod; in lookup_module_symbol_attrs() local
3248 struct module *mod; in module_get_kallsym() local
3268 static unsigned long mod_find_symname(struct module *mod, const char *name) in mod_find_symname()
3282 struct module *mod; in module_kallsyms_lookup_name() local
3306 struct module *mod; in module_kallsyms_on_each_symbol() local
3322 static char *module_flags(struct module *mod, char *buf) in module_flags()
3364 struct module *mod = list_entry(p, struct module, list); in m_show() local
3423 struct module *mod; in search_module_extables() local
3470 struct module *mod; in __module_address() local
3511 struct module *mod = __module_address(addr); in __module_text_address() local
3525 struct module *mod; in print_modules() local
3542 void module_layout(struct module *mod, in module_layout()