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
65 static unsigned int module_total_size(struct module *mod) in module_total_size() argument
70 size += mod->mem[type].size; in module_total_size()
76 struct module *mod = list_entry(p, struct module, list); in m_show() local
82 if (mod->state == MODULE_STATE_UNFORMED) in m_show()
85 size = module_total_size(mod); in m_show()
86 seq_printf(m, "%s %u", mod->name, size); in m_show()
87 print_unload_info(m, mod); in m_show()
91 mod->state == MODULE_STATE_GOING ? "Unloading" : in m_show()
92 mod->state == MODULE_STATE_COMING ? "Loading" : in m_show()
95 value = m->private ? NULL : mod->mem[MOD_TEXT].base; in m_show()
99 if (mod->taints) in m_show()
100 seq_printf(m, " %s", module_flags(mod, buf, true)); in m_show()