Lines Matching refs:module

42 struct module;
47 struct module *mod;
59 void (*setup)(struct module *, const char *);
60 int (*test)(struct module *);
61 void (*free)(struct module *);
309 struct module *source, *target;
320 struct module *mod;
364 struct module { struct
556 static inline bool module_is_live(struct module *mod) in module_is_live()
561 struct module *__module_text_address(unsigned long addr);
562 struct module *__module_address(unsigned long addr);
569 const struct module *mod) in within_module_core()
576 const struct module *mod) in within_module_init()
582 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
588 struct module *find_module(const char *name);
598 extern void __noreturn __module_put_and_exit(struct module *mod,
603 int module_refcount(struct module *mod);
610 extern void __module_get(struct module *module);
614 extern bool try_module_get(struct module *module);
616 extern void module_put(struct module *module);
619 static inline bool try_module_get(struct module *module) in try_module_get() argument
621 return !module || module_is_live(module); in try_module_get()
623 static inline void module_put(struct module *module) in module_put() argument
626 static inline void __module_get(struct module *module) in __module_get() argument
637 struct module *__mod = (mod); \
642 void *dereference_module_function_descriptor(struct module *mod, void *ptr);
660 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
662 return module && module->async_probe_requested; in module_requested_async_probing()
666 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
671 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module()
682 static inline struct module *__module_address(unsigned long addr) in __module_address()
687 static inline struct module *__module_text_address(unsigned long addr) in __module_text_address()
713 const struct module *mod) in within_module_core()
719 const struct module *mod) in within_module_init()
724 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
734 static inline void __module_get(struct module *module) in __module_get() argument
738 static inline bool try_module_get(struct module *module) in try_module_get() argument
743 static inline void module_put(struct module *module) in module_put() argument
799 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
815 void *dereference_module_function_descriptor(struct module *mod, void *ptr) in dereference_module_function_descriptor()
836 struct module *);
837 void module_bug_cleanup(struct module *);
843 struct module *mod) in module_bug_finalize()
846 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup()
859 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
861 return module->sig_ok; in module_sig_ok()
864 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
871 struct module *, unsigned long),