Lines Matching refs:module

45 struct module;
50 struct module *mod;
62 void (*setup)(struct module *, const char *);
63 int (*test)(struct module *);
64 void (*free)(struct module *);
312 struct module *source, *target;
323 struct module *mod;
367 struct module { struct
571 static inline bool module_is_live(struct module *mod) in module_is_live()
576 struct module *__module_text_address(unsigned long addr);
577 struct module *__module_address(unsigned long addr);
584 const struct module *mod) in within_module_core()
591 const struct module *mod) in within_module_init()
597 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
603 struct module *find_module(const char *name);
625 struct module *, unsigned long),
628 extern void __noreturn __module_put_and_exit(struct module *mod,
633 int module_refcount(struct module *mod);
640 extern void __module_get(struct module *module);
644 extern bool try_module_get(struct module *module);
646 extern void module_put(struct module *module);
649 static inline bool try_module_get(struct module *module) in try_module_get() argument
651 return !module || module_is_live(module); in try_module_get()
653 static inline void module_put(struct module *module) in module_put() argument
656 static inline void __module_get(struct module *module) in __module_get() argument
667 struct module *__mod = (mod); \
672 void *dereference_module_function_descriptor(struct module *mod, void *ptr);
690 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
692 return module && module->async_probe_requested; in module_requested_async_probing()
696 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
701 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
712 static inline struct module *__module_address(unsigned long addr) in __module_address()
717 static inline struct module *__module_text_address(unsigned long addr) in __module_text_address()
743 const struct module *mod) in within_module_core()
749 const struct module *mod) in within_module_init()
754 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
764 static inline void __module_get(struct module *module) in __module_get() argument
768 static inline bool try_module_get(struct module *module) in try_module_get() argument
773 static inline void module_put(struct module *module) in module_put() argument
812 struct module *, in module_kallsyms_on_each_symbol() argument
836 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
852 void *dereference_module_function_descriptor(struct module *mod, void *ptr) in dereference_module_function_descriptor()
873 struct module *);
874 void module_bug_cleanup(struct module *);
880 struct module *mod) in module_bug_finalize()
883 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup()
896 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
898 return module->sig_ok; in module_sig_ok()
901 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument