Lines Matching defs:mod
118 static void mod_update_bounds(struct module *mod) in mod_update_bounds()
154 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get()
165 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module()
176 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) in __module_put_and_kthread_exit()
345 struct module *mod; in find_symbol() local
381 struct module *mod; in find_module_all() local
400 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
405 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
429 static void percpu_modfree(struct module *mod) in percpu_modfree()
439 static void percpu_modcopy(struct module *mod, in percpu_modcopy()
450 struct module *mod; in __is_module_percpu_address() local
492 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
496 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
503 static inline void percpu_modfree(struct module *mod) in percpu_modfree()
510 static inline void percpu_modcopy(struct module *mod, in percpu_modcopy()
571 static int module_unload_init(struct module *mod) in module_unload_init()
646 static void module_unload_free(struct module *mod) in module_unload_free()
678 static int try_release_module_ref(struct module *mod) in try_release_module_ref()
692 static int try_stop_module(struct module *mod, int flags, int *forced) in try_stop_module()
715 int module_refcount(struct module *mod) in module_refcount()
727 struct module *mod; in SYSCALL_DEFINE2() local
882 static inline void module_unload_free(struct module *mod) in module_unload_free()
891 static inline int module_unload_init(struct module *mod) in module_unload_init()
1024 int try_to_force_load(struct module *mod, const char *reason) in try_to_force_load()
1088 struct module *mod) in verify_namespace_is_imported()
1113 static bool inherit_taint(struct module *mod, struct module *owner, const char *name) in inherit_taint()
1133 static const struct kernel_symbol *resolve_symbol(struct module *mod, in resolve_symbol()
1189 resolve_symbol_wait(struct module *mod, in resolve_symbol_wait()
1206 void __weak module_arch_cleanup(struct module *mod) in module_arch_cleanup()
1210 void __weak module_arch_freeing_init(struct module *mod) in module_arch_freeing_init()
1214 static int module_memory_alloc(struct module *mod, enum mod_mem_type type) in module_memory_alloc()
1262 static void module_memory_restore_rox(struct module *mod) in module_memory_restore_rox()
1272 static void module_memory_free(struct module *mod, enum mod_mem_type type) in module_memory_free()
1279 static void free_mod_mem(struct module *mod) in free_mod_mem()
1299 static void free_module(struct module *mod) in free_module()
1378 static int verify_exported_symbols(struct module *mod) in verify_exported_symbols()
1424 static int simplify_symbols(struct module *mod, const struct load_info *info) in simplify_symbols()
1495 static int apply_relocations(struct module *mod, const struct load_info *info) in apply_relocations()
1531 unsigned int __weak arch_mod_section_prepend(struct module *mod, in arch_mod_section_prepend()
1538 long module_get_offset_and_type(struct module *mod, enum mod_mem_type type, in module_get_offset_and_type()
1561 static void __layout_sections(struct module *mod, struct load_info *info, bool is_init) in __layout_sections()
1634 static void layout_sections(struct module *mod, struct load_info *info) in layout_sections()
1648 static void module_license_taint_check(struct module *mod, const char *license) in module_license_taint_check()
1662 static void setup_modinfo(struct module *mod, struct load_info *info) in setup_modinfo()
1673 static void free_modinfo(struct module *mod) in free_modinfo()
2298 static int check_modinfo_livepatch(struct module *mod, struct load_info *info) in check_modinfo_livepatch()
2312 static void check_modinfo_retpoline(struct module *mod, struct load_info *info) in check_modinfo_retpoline()
2401 static void module_augment_kernel_taints(struct module *mod, struct load_info *info) in module_augment_kernel_taints()
2464 static int check_modinfo(struct module *mod, struct load_info *info, int flags) in check_modinfo()
2490 static int find_module_sections(struct module *mod, struct load_info *info) in find_module_sections()
2615 static int move_module(struct module *mod, struct load_info *info) in move_module()
2705 static int check_export_symbol_versions(struct module *mod) in check_export_symbol_versions()
2717 static void flush_module_icache(const struct module *mod) in flush_module_icache()
2742 struct module *mod) in module_frob_arch_sections()
2770 struct module *mod; in layout_and_allocate() local
2828 static void module_deallocate(struct module *mod, struct load_info *info) in module_deallocate()
2844 static int post_relocation(struct module *mod, const struct load_info *info) in post_relocation()
2861 static void do_mod_ctors(struct module *mod) in do_mod_ctors()
2914 static noinline int do_init_module(struct module *mod) in do_init_module()
3056 struct module *mod; in finished_loading() local
3119 static int add_unformed_module(struct module *mod) in add_unformed_module()
3140 static int complete_formation(struct module *mod, struct load_info *info) in complete_formation()
3181 static int prepare_coming_module(struct module *mod) in prepare_coming_module()
3202 struct module *mod = arg; in unknown_module_param_cb() local
3258 struct module *mod; in load_module() local
3642 char *module_flags(struct module *mod, char *buf, bool show_state) in module_flags()
3671 struct module *mod; in search_module_extables() local
3712 struct module *mod; in __module_address() local
3748 void module_for_each_mod(int(*func)(struct module *mod, void *data), void *data) in module_for_each_mod()
3750 struct module *mod; in module_for_each_mod() local
3770 struct module *mod = __module_address(addr); in __module_text_address() local
3783 struct module *mod; in print_modules() local