• Home
  • Raw
  • Download

Lines Matching refs:mod

46 	struct module *mod;  member
289 struct module *mod; member
496 static inline int module_is_live(struct module *mod) in module_is_live() argument
498 return mod->state != MODULE_STATE_GOING; in module_is_live()
508 const struct module *mod) in within_module_core() argument
510 return (unsigned long)mod->core_layout.base <= addr && in within_module_core()
511 addr < (unsigned long)mod->core_layout.base + mod->core_layout.size; in within_module_core()
515 const struct module *mod) in within_module_init() argument
517 return (unsigned long)mod->init_layout.base <= addr && in within_module_init()
518 addr < (unsigned long)mod->init_layout.base + mod->init_layout.size; in within_module_init()
521 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module() argument
523 return within_module_init(addr, mod) || within_module_core(addr, mod); in within_module()
572 extern void __noreturn __module_put_and_exit(struct module *mod,
577 int module_refcount(struct module *mod);
610 #define module_name(mod) \ argument
612 struct module *__mod = (mod); \
638 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module() argument
640 return mod->klp; in is_livepatch_module()
643 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module() argument
694 #define module_name(mod) "kernel" argument
775 extern void module_enable_ro(const struct module *mod, bool after_init);
776 extern void module_disable_ro(const struct module *mod);
780 static inline void module_enable_ro(const struct module *mod, bool after_init) { } in module_enable_ro() argument
781 static inline void module_disable_ro(const struct module *mod) { } in module_disable_ro() argument
793 struct module *mod) in module_bug_finalize() argument
796 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup() argument