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 *);
306 struct module *source, *target;
317 struct module *mod;
361 struct module { struct
554 static inline bool module_is_live(struct module *mod) in module_is_live()
559 struct module *__module_text_address(unsigned long addr);
560 struct module *__module_address(unsigned long addr);
567 const struct module *mod) in within_module_core()
574 const struct module *mod) in within_module_init()
580 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
586 struct module *find_module(const char *name);
608 struct module *, unsigned long),
611 extern void __noreturn __module_put_and_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()
679 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
684 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
695 static inline struct module *__module_address(unsigned long addr) in __module_address()
700 static inline struct module *__module_text_address(unsigned long addr) in __module_text_address()
726 const struct module *mod) in within_module_core()
732 const struct module *mod) in within_module_init()
737 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
747 static inline void __module_get(struct module *module) in __module_get() argument
751 static inline bool try_module_get(struct module *module) in try_module_get() argument
756 static inline void module_put(struct module *module) in module_put() argument
795 struct module *, in module_kallsyms_on_each_symbol() argument
819 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
835 void *dereference_module_function_descriptor(struct module *mod, void *ptr) in dereference_module_function_descriptor()
856 struct module *);
857 void module_bug_cleanup(struct module *);
863 struct module *mod) in module_bug_finalize()
866 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup()
879 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
881 return module->sig_ok; in module_sig_ok()
884 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument