Lines Matching refs:module
42 struct module;
47 struct module *mod;
59 void (*setup)(struct module *, const char *);
60 int (*test)(struct module *);
61 void (*free)(struct module *);
320 struct module *source, *target;
331 struct module *mod;
414 struct module { struct
622 static inline bool module_is_live(struct module *mod) in module_is_live()
627 static inline bool module_is_coming(struct module *mod) in module_is_coming()
632 struct module *__module_text_address(unsigned long addr);
633 struct module *__module_address(unsigned long addr);
640 const struct module *mod, in within_module_mem_type()
651 const struct module *mod) in within_module_core()
661 const struct module *mod) in within_module_init()
670 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
676 struct module *find_module(const char *name);
678 extern void __noreturn __module_put_and_kthread_exit(struct module *mod,
683 int module_refcount(struct module *mod);
690 extern void __module_get(struct module *module);
722 extern bool try_module_get(struct module *module);
732 extern void module_put(struct module *module);
735 static inline bool try_module_get(struct module *module) in try_module_get() argument
737 return !module || module_is_live(module); in try_module_get()
739 static inline void module_put(struct module *module) in module_put() argument
742 static inline void __module_get(struct module *module) in __module_get() argument
753 struct module *__mod = (mod); \
758 void *dereference_module_function_descriptor(struct module *mod, void *ptr);
765 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
767 return module && module->async_probe_requested; in module_requested_async_probing()
770 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
781 void module_for_each_mod(int(*func)(struct module *mod, void *data), void *data);
785 static inline struct module *__module_address(unsigned long addr) in __module_address()
790 static inline struct module *__module_text_address(unsigned long addr) in __module_text_address()
816 const struct module *mod) in within_module_core()
822 const struct module *mod) in within_module_init()
827 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
837 static inline void __module_get(struct module *module) in __module_get() argument
841 static inline bool try_module_get(struct module *module) in try_module_get() argument
846 static inline void module_put(struct module *module) in module_put() argument
869 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
881 void *dereference_module_function_descriptor(struct module *mod, void *ptr) in dereference_module_function_descriptor()
886 static inline bool module_is_coming(struct module *mod) in module_is_coming()
891 static inline void module_for_each_mod(int(*func)(struct module *mod, void *data), void *data) in module_for_each_mod()
909 struct module *);
910 void module_bug_cleanup(struct module *);
916 struct module *mod) in module_bug_finalize()
919 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup()
934 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
936 return module->sig_ok; in module_sig_ok()
944 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
980 unsigned long find_kallsyms_symbol_value(struct module *mod, const char *name);
1019 static inline unsigned long find_kallsyms_symbol_value(struct module *mod, in find_kallsyms_symbol_value()