Lines Matching defs:mod

177 static void mod_tree_insert(struct module *mod)  in mod_tree_insert()
187 static void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init()
193 static void mod_tree_remove(struct module *mod) in mod_tree_remove()
214 static void mod_tree_insert(struct module *mod) { } in mod_tree_insert()
215 static void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init()
216 static void mod_tree_remove(struct module *mod) { } in mod_tree_remove()
220 struct module *mod; in mod_find() local
248 static void mod_update_bounds(struct module *mod) in mod_update_bounds()
318 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get()
329 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module()
340 void __noreturn __module_put_and_exit(struct module *mod, long code) in __module_put_and_exit()
526 struct module *mod; in find_symbol() local
564 struct module *mod; in find_module_all() local
585 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
590 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
614 static void percpu_modfree(struct module *mod) in percpu_modfree()
624 static void percpu_modcopy(struct module *mod, in percpu_modcopy()
635 struct module *mod; in __is_module_percpu_address() local
681 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
685 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
692 static inline void percpu_modfree(struct module *mod) in percpu_modfree()
699 static inline void percpu_modcopy(struct module *mod, in percpu_modcopy()
757 static int module_unload_init(struct module *mod) in module_unload_init()
834 static void module_unload_free(struct module *mod) in module_unload_free()
866 static int try_release_module_ref(struct module *mod) in try_release_module_ref()
880 static int try_stop_module(struct module *mod, int flags, int *forced) in try_stop_module()
903 int module_refcount(struct module *mod) in module_refcount()
915 struct module *mod; in SYSCALL_DEFINE2() local
989 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
1103 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
1109 static inline void module_unload_free(struct module *mod) in module_unload_free()
1118 static inline int module_unload_init(struct module *mod) in module_unload_init()
1124 static size_t module_flags_taint(struct module *mod, char *buf) in module_flags_taint()
1221 static int try_to_force_load(struct module *mod, const char *reason) in try_to_force_load()
1242 struct module *mod, in check_version()
1290 struct module *mod) in check_modstruct_version()
1323 struct module *mod, in check_version()
1330 struct module *mod) in check_modstruct_version()
1348 struct module *mod) in verify_namespace_is_imported()
1376 static bool inherit_taint(struct module *mod, struct module *owner) in inherit_taint()
1396 static const struct kernel_symbol *resolve_symbol(struct module *mod, in resolve_symbol()
1452 resolve_symbol_wait(struct module *mod, in resolve_symbol_wait()
1533 static void add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs()
1585 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs()
1632 static void add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs()
1690 static void remove_notes_attrs(struct module *mod) in remove_notes_attrs()
1698 static inline void add_sect_attrs(struct module *mod, in add_sect_attrs()
1703 static inline void remove_sect_attrs(struct module *mod) in remove_sect_attrs()
1707 static inline void add_notes_attrs(struct module *mod, in add_notes_attrs()
1712 static inline void remove_notes_attrs(struct module *mod) in remove_notes_attrs()
1717 static void del_usage_links(struct module *mod) in del_usage_links()
1729 static int add_usage_links(struct module *mod) in add_usage_links()
1751 static int module_add_modinfo_attrs(struct module *mod) in module_add_modinfo_attrs()
1787 static void module_remove_modinfo_attrs(struct module *mod, int end) in module_remove_modinfo_attrs()
1805 static void mod_kobject_put(struct module *mod) in mod_kobject_put()
1813 static int mod_sysfs_init(struct module *mod) in mod_sysfs_init()
1845 static int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup()
1891 static void mod_sysfs_fini(struct module *mod) in mod_sysfs_fini()
1898 static void init_param_lock(struct module *mod) in init_param_lock()
1904 static int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup()
1912 static void mod_sysfs_fini(struct module *mod) in mod_sysfs_fini()
1916 static void module_remove_modinfo_attrs(struct module *mod, int end) in module_remove_modinfo_attrs()
1920 static void del_usage_links(struct module *mod) in del_usage_links()
1924 static void init_param_lock(struct module *mod) in init_param_lock()
1929 static void mod_sysfs_teardown(struct module *mod) in mod_sysfs_teardown()
1969 static void module_enable_x(const struct module *mod) in module_enable_x()
1975 static void module_enable_x(const struct module *mod) { } in module_enable_x()
2009 static void module_enable_ro(const struct module *mod, bool after_init) in module_enable_ro()
2026 static void module_enable_nx(const struct module *mod) in module_enable_nx()
2036 char *secstrings, struct module *mod) in module_enforce_rwx_sections()
2053 static void module_enable_nx(const struct module *mod) { } in module_enable_nx()
2054 static void module_enable_ro(const struct module *mod, bool after_init) {} in module_enable_ro()
2056 char *secstrings, struct module *mod) in module_enforce_rwx_sections()
2068 static int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
2120 static void free_module_elf(struct module *mod) in free_module_elf()
2127 static int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
2132 static void free_module_elf(struct module *mod) in free_module_elf()
2147 void __weak module_arch_cleanup(struct module *mod) in module_arch_cleanup()
2151 void __weak module_arch_freeing_init(struct module *mod) in module_arch_freeing_init()
2158 static void free_module(struct module *mod) in free_module()
2238 static int verify_exported_symbols(struct module *mod) in verify_exported_symbols()
2284 static int simplify_symbols(struct module *mod, const struct load_info *info) in simplify_symbols()
2355 static int apply_relocations(struct module *mod, const struct load_info *info) in apply_relocations()
2391 unsigned int __weak arch_mod_section_prepend(struct module *mod, in arch_mod_section_prepend()
2399 static long get_offset(struct module *mod, unsigned int *size, in get_offset()
2425 static void layout_sections(struct module *mod, struct load_info *info) in layout_sections()
2515 static void set_license(struct module *mod, const char *license) in set_license()
2579 static void setup_modinfo(struct module *mod, struct load_info *info) in setup_modinfo()
2590 static void free_modinfo(struct module *mod) in free_modinfo()
2613 const struct module *mod) in is_exported()
2698 static void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab()
2753 static void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms()
2794 static inline void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab()
2798 static void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms()
2804 static void init_build_id(struct module *mod, const struct load_info *info) in init_build_id()
2818 static void init_build_id(struct module *mod, const struct load_info *info) in init_build_id()
2823 static void dynamic_debug_setup(struct module *mod, struct _ddebug *debug, unsigned int num) in dynamic_debug_setup()
2830 static void dynamic_debug_remove(struct module *mod, struct _ddebug *debug) in dynamic_debug_remove()
2854 static void kmemleak_load_module(const struct module *mod, in kmemleak_load_module()
2874 static inline void kmemleak_load_module(const struct module *mod, in kmemleak_load_module()
2886 const void *mod = info->hdr; in module_sig_check() local
3111 static int check_modinfo_livepatch(struct module *mod, struct load_info *info) in check_modinfo_livepatch()
3123 static int check_modinfo_livepatch(struct module *mod, struct load_info *info) in check_modinfo_livepatch()
3135 static void check_modinfo_retpoline(struct module *mod, struct load_info *info) in check_modinfo_retpoline()
3267 static int check_modinfo(struct module *mod, struct load_info *info, int flags) in check_modinfo()
3311 static int find_module_sections(struct module *mod, struct load_info *info) in find_module_sections()
3419 static int move_module(struct module *mod, struct load_info *info) in move_module()
3482 static int check_module_license_and_versions(struct module *mod) in check_module_license_and_versions()
3517 static void flush_module_icache(const struct module *mod) in flush_module_icache()
3535 struct module *mod) in module_frob_arch_sections()
3563 struct module *mod; in layout_and_allocate() local
3623 static void module_deallocate(struct module *mod, struct load_info *info) in module_deallocate()
3638 static int post_relocation(struct module *mod, const struct load_info *info) in post_relocation()
3657 struct module *mod; in finished_loading() local
3675 static void do_mod_ctors(struct module *mod) in do_mod_ctors()
3713 static noinline int do_init_module(struct module *mod) in do_init_module()
3846 static int add_unformed_module(struct module *mod) in add_unformed_module()
3880 static int complete_formation(struct module *mod, struct load_info *info) in complete_formation()
3912 static int prepare_coming_module(struct module *mod) in prepare_coming_module()
3933 struct module *mod = arg; in unknown_module_param_cb() local
3957 struct module *mod; in load_module() local
4254 static const char *find_kallsyms_symbol(struct module *mod, in find_kallsyms_symbol()
4309 void * __weak dereference_module_function_descriptor(struct module *mod, in dereference_module_function_descriptor()
4327 struct module *mod; in module_address_lookup() local
4356 struct module *mod; in lookup_module_symbol_name() local
4382 struct module *mod; in lookup_module_symbol_attrs() local
4410 struct module *mod; in module_get_kallsym() local
4437 static unsigned long find_kallsyms_symbol_value(struct module *mod, const char *name) in find_kallsyms_symbol_value()
4455 struct module *mod; in module_kallsyms_lookup_name() local
4481 struct module *mod; in module_kallsyms_on_each_symbol() local
4511 static void cfi_init(struct module *mod) in cfi_init()
4538 static void cfi_cleanup(struct module *mod) in cfi_cleanup()
4549 static char *module_flags(struct module *mod, char *buf) in module_flags()
4592 struct module *mod = list_entry(p, struct module, list); in m_show() local
4673 struct module *mod; in search_module_extables() local
4723 struct module *mod; in __module_address() local
4767 struct module *mod = __module_address(addr); in __module_text_address() local
4780 struct module *mod; in print_modules() local
4802 void module_layout(struct module *mod, in module_layout()