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 *);
276 struct module *source, *target;
287 struct module *mod;
330 struct module { struct
495 static inline bool module_is_live(struct module *mod) in module_is_live()
500 struct module *__module_text_address(unsigned long addr);
501 struct module *__module_address(unsigned long addr);
508 const struct module *mod) in within_module_core()
515 const struct module *mod) in within_module_init()
521 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
527 struct module *find_module(const char *name);
546 struct module **owner,
557 struct module *owner,
569 struct module *, unsigned long),
572 extern void __noreturn __module_put_and_exit(struct module *mod,
577 int module_refcount(struct module *mod);
584 extern void __module_get(struct module *module);
588 extern bool try_module_get(struct module *module);
590 extern void module_put(struct module *module);
593 static inline bool try_module_get(struct module *module) in try_module_get() argument
595 return !module || module_is_live(module); in try_module_get()
597 static inline void module_put(struct module *module) in module_put() argument
600 static inline void __module_get(struct module *module) in __module_get() argument
607 int ref_module(struct module *a, struct module *b);
612 struct module *__mod = (mod); \
617 void *dereference_module_function_descriptor(struct module *mod, void *ptr);
635 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
637 return module && module->async_probe_requested; in module_requested_async_probing()
641 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
646 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
656 static inline struct module *__module_address(unsigned long addr) in __module_address()
661 static inline struct module *__module_text_address(unsigned long addr) in __module_text_address()
691 static inline void __module_get(struct module *module) in __module_get() argument
695 static inline bool try_module_get(struct module *module) in try_module_get() argument
700 static inline void module_put(struct module *module) in module_put() argument
739 struct module *, in module_kallsyms_on_each_symbol() argument
763 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
775 void *dereference_module_function_descriptor(struct module *mod, void *ptr) in dereference_module_function_descriptor()
797 extern void module_enable_ro(const struct module *mod, bool after_init);
798 extern void module_disable_ro(const struct module *mod);
802 static inline void module_enable_ro(const struct module *mod, bool after_init) { } in module_enable_ro()
803 static inline void module_disable_ro(const struct module *mod) { } in module_disable_ro()
808 struct module *);
809 void module_bug_cleanup(struct module *);
815 struct module *mod) in module_bug_finalize()
818 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup()
831 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
833 return module->sig_ok; in module_sig_ok()
836 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument