Lines Matching refs:module
37 struct module;
41 struct module *mod;
53 void (*setup)(struct module *, const char *);
54 int (*test)(struct module *);
55 void (*free)(struct module *);
83 void trim_init_extable(struct module *m);
203 struct module *source, *target;
219 struct module { struct
381 static inline int module_is_live(struct module *mod) in module_is_live()
386 struct module *__module_text_address(unsigned long addr);
387 struct module *__module_address(unsigned long addr);
393 const struct module *mod) in within_module_core()
400 const struct module *mod) in within_module_init()
406 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module()
412 struct module *find_module(const char *name);
427 struct module **owner,
434 struct module *owner,
446 struct module *, unsigned long),
449 extern void __module_put_and_exit(struct module *mod, long code)
454 int module_refcount(struct module *mod);
461 extern void __module_get(struct module *module);
465 extern bool try_module_get(struct module *module);
467 extern void module_put(struct module *module);
470 static inline int try_module_get(struct module *module) in try_module_get() argument
472 return !module || module_is_live(module); in try_module_get()
474 static inline void module_put(struct module *module) in module_put() argument
477 static inline void __module_get(struct module *module) in __module_get() argument
484 int ref_module(struct module *a, struct module *b);
489 struct module *__mod = (mod); \
521 static inline struct module *__module_address(unsigned long addr) in __module_address()
526 static inline struct module *__module_text_address(unsigned long addr) in __module_text_address()
551 static inline void __module_get(struct module *module) in __module_get() argument
555 static inline int try_module_get(struct module *module) in try_module_get() argument
560 static inline void module_put(struct module *module) in module_put() argument
599 struct module *, in module_kallsyms_on_each_symbol() argument
646 struct module *);
647 void module_bug_cleanup(struct module *);
653 struct module *mod) in module_bug_finalize()
656 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup()