Lines Matching refs:mod
16 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info() argument
21 seq_printf(m, " %i ", module_refcount(mod)); in print_unload_info()
27 list_for_each_entry(use, &mod->source_list, source_list) { in print_unload_info()
32 if (mod->init && !mod->exit) { in print_unload_info()
41 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info() argument
67 struct module *mod = list_entry(p, struct module, list); in m_show() local
73 if (mod->state == MODULE_STATE_UNFORMED) in m_show()
76 size = mod->init_layout.size + mod->core_layout.size; in m_show()
78 size += mod->data_layout.size; in m_show()
80 seq_printf(m, "%s %u", mod->name, size); in m_show()
81 print_unload_info(m, mod); in m_show()
85 mod->state == MODULE_STATE_GOING ? "Unloading" : in m_show()
86 mod->state == MODULE_STATE_COMING ? "Loading" : in m_show()
89 value = m->private ? NULL : mod->core_layout.base; in m_show()
93 if (mod->taints) in m_show()
94 seq_printf(m, " %s", module_flags(mod, buf, true)); in m_show()