Lines Matching refs:module

41 struct module;
46 struct module *mod;
58 void (*setup)(struct module *, const char *);
59 int (*test)(struct module *);
60 void (*free)(struct module *);
308 struct module *source, *target;
319 struct module *mod;
363 struct module { struct
564 static inline bool module_is_live(struct module *mod) in module_is_live()
569 struct module *__module_text_address(unsigned long addr);
570 struct module *__module_address(unsigned long addr);
577 const struct module *mod) in within_module_core()
589 const struct module *mod) in within_module_init()
595 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
601 struct module *find_module(const char *name);
611 extern void __noreturn __module_put_and_kthread_exit(struct module *mod,
616 int module_refcount(struct module *mod);
623 extern void __module_get(struct module *module);
627 extern bool try_module_get(struct module *module);
629 extern void module_put(struct module *module);
632 static inline bool try_module_get(struct module *module) in try_module_get() argument
634 return !module || module_is_live(module); in try_module_get()
636 static inline void module_put(struct module *module) in module_put() argument
639 static inline void __module_get(struct module *module) in __module_get() argument
650 struct module *__mod = (mod); \
655 void *dereference_module_function_descriptor(struct module *mod, void *ptr);
673 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
675 return module && module->async_probe_requested; in module_requested_async_probing()
678 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
691 static inline struct module *__module_address(unsigned long addr) in __module_address()
696 static inline struct module *__module_text_address(unsigned long addr) in __module_text_address()
722 const struct module *mod) in within_module_core()
728 const struct module *mod) in within_module_init()
733 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
743 static inline void __module_get(struct module *module) in __module_get() argument
747 static inline bool try_module_get(struct module *module) in try_module_get() argument
752 static inline void module_put(struct module *module) in module_put() argument
808 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
820 void *dereference_module_function_descriptor(struct module *mod, void *ptr) in dereference_module_function_descriptor()
841 struct module *);
842 void module_bug_cleanup(struct module *);
848 struct module *mod) in module_bug_finalize()
851 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup()
866 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
868 return module->sig_ok; in module_sig_ok()
876 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
883 struct module *, unsigned long),