Lines Matching refs:module
39 struct module;
43 struct module *mod;
55 void (*setup)(struct module *, const char *);
56 int (*test)(struct module *);
57 void (*free)(struct module *);
168 void trim_init_extable(struct module *m);
288 struct module *source, *target;
298 struct module;
301 struct module *mod;
311 struct module { struct
495 static inline int 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);
507 const struct module *mod) in within_module_core()
514 const struct module *mod) in within_module_init()
520 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
526 struct module *find_module(const char *name);
545 struct module **owner,
556 struct module *owner,
568 struct module *, unsigned long),
571 extern void __module_put_and_exit(struct module *mod, long code)
576 int module_refcount(struct module *mod);
583 extern void __module_get(struct module *module);
587 extern bool try_module_get(struct module *module);
589 extern void module_put(struct module *module);
592 static inline int try_module_get(struct module *module) in try_module_get() argument
594 return !module || module_is_live(module); in try_module_get()
596 static inline void module_put(struct module *module) in module_put() argument
599 static inline void __module_get(struct module *module) in __module_get() argument
606 int ref_module(struct module *a, struct module *b);
611 struct module *__mod = (mod); \
634 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
636 return module && module->async_probe_requested; in module_requested_async_probing()
648 static inline struct module *__module_address(unsigned long addr) in __module_address()
653 static inline struct module *__module_text_address(unsigned long addr) in __module_text_address()
678 static inline void __module_get(struct module *module) in __module_get() argument
682 static inline int try_module_get(struct module *module) in try_module_get() argument
687 static inline void module_put(struct module *module) in module_put() argument
726 struct module *, in module_kallsyms_on_each_symbol() argument
750 static inline bool module_requested_async_probing(struct module *module) in module_requested_async_probing() argument
779 struct module *);
780 void module_bug_cleanup(struct module *);
786 struct module *mod) in module_bug_finalize()
789 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup()
793 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument
795 return module->sig_ok; in module_sig_ok()
798 static inline bool module_sig_ok(struct module *module) in module_sig_ok() argument