Lines Matching refs:module
43 struct module;
48 struct module *mod;
60 void (*setup)(struct module *, const char *);
61 int (*test)(struct module *);
62 void (*free)(struct module *);
310 struct module *source, *target;
321 struct module *mod;
403 struct module { struct
610 static inline bool module_is_live(struct module *mod) in module_is_live()
615 struct module *__module_text_address(unsigned long addr);
616 struct module *__module_address(unsigned long addr);
623 const struct module *mod, in within_module_mem_type()
634 const struct module *mod) in within_module_core()
644 const struct module *mod) in within_module_init()
653 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
659 struct module *find_module(const char *name);
661 extern void __noreturn __module_put_and_kthread_exit(struct module *mod,
666 int module_refcount(struct module *mod);
673 extern void __module_get(struct module *module);
705 extern bool try_module_get(struct module *module);
715 extern void module_put(struct module *module);
718 static inline bool try_module_get(struct module *module) in try_module_get() argument
720 return !module || module_is_live(module); in try_module_get()
722 static inline void module_put(struct module *module) in module_put() argument
725 static inline void __module_get(struct module *module) in __module_get() argument
736 struct module *__mod = (mod); \
741 void *dereference_module_function_descriptor(struct module *mod, void *ptr);
748 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
750 return module && module->async_probe_requested; in module_requested_async_probing()
753 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
766 static inline struct module *__module_address(unsigned long addr) in __module_address()
771 static inline struct module *__module_text_address(unsigned long addr) in __module_text_address()
797 const struct module *mod) in within_module_core()
803 const struct module *mod) in within_module_init()
808 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
818 static inline void __module_get(struct module *module) in __module_get() argument
822 static inline bool try_module_get(struct module *module) in try_module_get() argument
827 static inline void module_put(struct module *module) in module_put() argument
850 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
862 void *dereference_module_function_descriptor(struct module *mod, void *ptr) in dereference_module_function_descriptor()
882 struct module *);
883 void module_bug_cleanup(struct module *);
889 struct module *mod) in module_bug_finalize()
892 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup()
907 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
909 return module->sig_ok; in module_sig_ok()
917 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
953 unsigned long find_kallsyms_symbol_value(struct module *mod, const char *name);
992 static inline unsigned long find_kallsyms_symbol_value(struct module *mod, in find_kallsyms_symbol_value()