• Home
  • Raw
  • Download

Lines Matching defs:mod

176 static void mod_tree_insert(struct module *mod)  in mod_tree_insert()
186 static void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init()
192 static void mod_tree_remove(struct module *mod) in mod_tree_remove()
213 static void mod_tree_insert(struct module *mod) { } in mod_tree_insert()
214 static void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init()
215 static void mod_tree_remove(struct module *mod) { } in mod_tree_remove()
219 struct module *mod; in mod_find() local
246 static void mod_update_bounds(struct module *mod) in mod_update_bounds()
312 unsigned int sym, str, mod, vers, info, pcpu; member
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()
431 struct module *mod; in each_symbol_section() local
593 struct module *mod; in find_module_all() local
615 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
620 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
644 static void percpu_modfree(struct module *mod) in percpu_modfree()
654 static void percpu_modcopy(struct module *mod, in percpu_modcopy()
674 struct module *mod; in is_module_percpu_address() local
701 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
705 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
712 static inline void percpu_modfree(struct module *mod) in percpu_modfree()
719 static inline void percpu_modcopy(struct module *mod, in percpu_modcopy()
772 static int module_unload_init(struct module *mod) in module_unload_init()
852 static void module_unload_free(struct module *mod) in module_unload_free()
884 static int try_release_module_ref(struct module *mod) in try_release_module_ref()
898 static int try_stop_module(struct module *mod, int flags, int *forced) in try_stop_module()
922 int module_refcount(struct module *mod) in module_refcount()
934 struct module *mod; in SYSCALL_DEFINE2() local
1004 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
1116 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
1122 static inline void module_unload_free(struct module *mod) in module_unload_free()
1132 static inline int module_unload_init(struct module *mod) in module_unload_init()
1138 static size_t module_flags_taint(struct module *mod, char *buf) in module_flags_taint()
1247 static int try_to_force_load(struct module *mod, const char *reason) in try_to_force_load()
1274 struct module *mod, in check_version()
1316 struct module *mod) in check_modstruct_version()
1350 struct module *mod, in check_version()
1359 struct module *mod) in check_modstruct_version()
1372 static const struct kernel_symbol *resolve_symbol(struct module *mod, in resolve_symbol()
1415 resolve_symbol_wait(struct module *mod, in resolve_symbol_wait()
1473 static void add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs()
1527 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs()
1572 static void add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs()
1631 static void remove_notes_attrs(struct module *mod) in remove_notes_attrs()
1639 static inline void add_sect_attrs(struct module *mod, in add_sect_attrs()
1644 static inline void remove_sect_attrs(struct module *mod) in remove_sect_attrs()
1648 static inline void add_notes_attrs(struct module *mod, in add_notes_attrs()
1653 static inline void remove_notes_attrs(struct module *mod) in remove_notes_attrs()
1658 static void add_usage_links(struct module *mod) in add_usage_links()
1673 static void del_usage_links(struct module *mod) in del_usage_links()
1685 static int module_add_modinfo_attrs(struct module *mod) in module_add_modinfo_attrs()
1711 static void module_remove_modinfo_attrs(struct module *mod) in module_remove_modinfo_attrs()
1727 static void mod_kobject_put(struct module *mod) in mod_kobject_put()
1735 static int mod_sysfs_init(struct module *mod) in mod_sysfs_init()
1768 static int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup()
1810 static void mod_sysfs_fini(struct module *mod) in mod_sysfs_fini()
1817 static void init_param_lock(struct module *mod) in init_param_lock()
1823 static int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup()
1831 static void mod_sysfs_fini(struct module *mod) in mod_sysfs_fini()
1835 static void module_remove_modinfo_attrs(struct module *mod) in module_remove_modinfo_attrs()
1839 static void del_usage_links(struct module *mod) in del_usage_links()
1843 static void init_param_lock(struct module *mod) in init_param_lock()
1848 static void mod_sysfs_teardown(struct module *mod) in mod_sysfs_teardown()
1912 void module_disable_ro(const struct module *mod) in module_disable_ro()
1924 void module_enable_ro(const struct module *mod, bool after_init) in module_enable_ro()
1938 static void module_enable_nx(const struct module *mod) in module_enable_nx()
1947 static void module_disable_nx(const struct module *mod) in module_disable_nx()
1959 struct module *mod; in set_all_modules_text_rw() local
1978 struct module *mod; in set_all_modules_text_ro() local
2008 static void module_enable_nx(const struct module *mod) { } in module_enable_nx()
2009 static void module_disable_nx(const struct module *mod) { } in module_disable_nx()
2018 static int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
2072 static void free_module_elf(struct module *mod) in free_module_elf()
2079 static int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
2084 static void free_module_elf(struct module *mod) in free_module_elf()
2094 void __weak module_arch_cleanup(struct module *mod) in module_arch_cleanup()
2098 void __weak module_arch_freeing_init(struct module *mod) in module_arch_freeing_init()
2105 static void free_module(struct module *mod) in free_module()
2187 static int verify_export_symbols(struct module *mod) in verify_export_symbols()
2219 static int simplify_symbols(struct module *mod, const struct load_info *info) in simplify_symbols()
2286 static int apply_relocations(struct module *mod, const struct load_info *info) in apply_relocations()
2320 unsigned int __weak arch_mod_section_prepend(struct module *mod, in arch_mod_section_prepend()
2328 static long get_offset(struct module *mod, unsigned int *size, in get_offset()
2343 static void layout_sections(struct module *mod, struct load_info *info) in layout_sections()
2431 static void set_license(struct module *mod, const char *license) in set_license()
2478 static void setup_modinfo(struct module *mod, struct load_info *info) in setup_modinfo()
2489 static void free_modinfo(struct module *mod) in free_modinfo()
2512 const struct module *mod) in is_exported()
2596 static void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab()
2647 static void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms()
2685 static inline void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab()
2689 static void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms()
2717 static void kmemleak_load_module(const struct module *mod, in kmemleak_load_module()
2737 static inline void kmemleak_load_module(const struct module *mod, in kmemleak_load_module()
2748 const void *mod = info->hdr; in module_sig_check() local
2818 static int check_modinfo_livepatch(struct module *mod, struct load_info *info) in check_modinfo_livepatch()
2828 static int check_modinfo_livepatch(struct module *mod, struct load_info *info) in check_modinfo_livepatch()
2840 static void check_modinfo_retpoline(struct module *mod, struct load_info *info) in check_modinfo_retpoline()
2931 struct module *mod; in setup_load_info() local
2975 static int check_modinfo(struct module *mod, struct load_info *info, int flags) in check_modinfo()
3019 static int find_module_sections(struct module *mod, struct load_info *info) in find_module_sections()
3105 static int move_module(struct module *mod, struct load_info *info) in move_module()
3168 static int check_module_license_and_versions(struct module *mod) in check_module_license_and_versions()
3209 static void flush_module_icache(const struct module *mod) in flush_module_icache()
3235 struct module *mod) in module_frob_arch_sections()
3264 struct module *mod; in layout_and_allocate() local
3315 static void module_deallocate(struct module *mod, struct load_info *info) in module_deallocate()
3332 static int post_relocation(struct module *mod, const struct load_info *info) in post_relocation()
3354 struct module *mod; in finished_loading() local
3373 static void do_mod_ctors(struct module *mod) in do_mod_ctors()
3402 static noinline int do_init_module(struct module *mod) in do_init_module()
3518 static int add_unformed_module(struct module *mod) in add_unformed_module()
3553 static int complete_formation(struct module *mod, struct load_info *info) in complete_formation()
3582 static int prepare_coming_module(struct module *mod) in prepare_coming_module()
3599 struct module *mod = arg; in unknown_module_param_cb() local
3619 struct module *mod; in load_module() local
3866 static const char *get_ksymbol(struct module *mod, in get_ksymbol()
3920 struct module *mod; in module_address_lookup() local
3941 struct module *mod; in lookup_module_symbol_name() local
3966 struct module *mod; in lookup_module_symbol_attrs() local
3994 struct module *mod; in module_get_kallsym() local
4018 static unsigned long mod_find_symname(struct module *mod, const char *name) in mod_find_symname()
4033 struct module *mod; in module_kallsyms_lookup_name() local
4058 struct module *mod; in module_kallsyms_on_each_symbol() local
4081 static void cfi_init(struct module *mod) in cfi_init()
4090 static void cfi_cleanup(struct module *mod) in cfi_cleanup()
4097 static char *module_flags(struct module *mod, char *buf) in module_flags()
4140 struct module *mod = list_entry(p, struct module, list); in m_show() local
4203 struct module *mod; in search_module_extables() local
4252 struct module *mod; in __module_address() local
4297 struct module *mod = __module_address(addr); in __module_text_address() local
4311 struct module *mod; in print_modules() local
4331 void module_layout(struct module *mod, in module_layout()