Home | History | Annotate | Download | only in linux

Lines Matching refs:mod

61 	struct module *mod;
353 static inline int module_is_live(struct module *mod)
355 return mod->state != MODULE_STATE_GOING;
371 int is_exported(const char *name, const struct module *mod);
373 extern void __module_put_and_exit(struct module *mod, long code)
378 unsigned int module_refcount(struct module *mod);
438 #define module_name(mod) \
440 struct module *__mod = (mod); \
444 #define __unsafe(mod) \
446 if (mod && !(mod)->unsafe) { \
449 " %s:%u\n", (mod)->name, __FILE__, __LINE__); \
450 (mod)->unsafe = 1; \
521 #define module_name(mod) "kernel"
523 #define __unsafe(mod)
547 static inline int is_exported(const char *name, const struct module *mod)