Lines Matching refs:mod
16 static inline void print_unload_info(struct seq_file *m, struct module *mod)
21 seq_printf(m, " %i ", module_refcount(mod));
27 list_for_each_entry(use, &mod->source_list, source_list) {
32 if (mod->init && !mod->exit) {
41 static inline void print_unload_info(struct seq_file *m, struct module *mod)
65 static unsigned int module_total_size(struct module *mod)
70 size += mod->mem[type].size;
76 struct module *mod = list_entry(p, struct module, list);
82 if (mod->state == MODULE_STATE_UNFORMED)
85 size = module_total_size(mod);
86 seq_printf(m, "%s %u", mod->name, size);
87 print_unload_info(m, mod);
91 mod->state == MODULE_STATE_GOING ? "Unloading" :
92 mod->state == MODULE_STATE_COMING ? "Loading" :
95 value = m->private ? NULL : mod->mem[MOD_TEXT].base;
99 if (mod->taints)
100 seq_printf(m, " %s", module_flags(mod, buf, true));