• Home
  • Raw
  • Download

Lines Matching refs:mod

48 	struct module *mod;  member
321 struct module *mod; member
564 static inline bool module_is_live(struct module *mod) in module_is_live() argument
566 return mod->state != MODULE_STATE_GOING; in module_is_live()
577 const struct module *mod) in within_module_core() argument
579 return (unsigned long)mod->core_layout.base <= addr && in within_module_core()
580 addr < (unsigned long)mod->core_layout.base + mod->core_layout.size; in within_module_core()
584 const struct module *mod) in within_module_init() argument
586 return (unsigned long)mod->init_layout.base <= addr && in within_module_init()
587 addr < (unsigned long)mod->init_layout.base + mod->init_layout.size; in within_module_init()
590 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module() argument
592 return within_module_init(addr, mod) || within_module_core(addr, mod); in within_module()
606 extern void __noreturn __module_put_and_exit(struct module *mod,
611 int module_refcount(struct module *mod);
643 #define module_name(mod) \ argument
645 struct module *__mod = (mod); \
650 void *dereference_module_function_descriptor(struct module *mod, void *ptr);
674 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module() argument
676 return mod->klp; in is_livepatch_module()
679 static inline bool is_livepatch_module(struct module *mod) in is_livepatch_module() argument
721 const struct module *mod) in within_module_core() argument
727 const struct module *mod) in within_module_init() argument
732 static inline bool within_module(unsigned long addr, const struct module *mod) in within_module() argument
755 #define module_name(mod) "kernel" argument
823 void *dereference_module_function_descriptor(struct module *mod, void *ptr) in dereference_module_function_descriptor() argument
851 struct module *mod) in module_bug_finalize() argument
854 static inline void module_bug_cleanup(struct module *mod) {} in module_bug_cleanup() argument