Lines Matching refs:m
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()
29 seq_printf(m, "%s,", use->source->name); in print_unload_info()
34 seq_puts(m, "[permanent],"); in print_unload_info()
38 seq_puts(m, "-"); in print_unload_info()
41 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info() argument
44 seq_puts(m, " - -"); in print_unload_info()
49 static void *m_start(struct seq_file *m, loff_t *pos) in m_start() argument
55 static void *m_next(struct seq_file *m, void *p, loff_t *pos) in m_next() argument
60 static void m_stop(struct seq_file *m, void *p) in m_stop() argument
74 static int m_show(struct seq_file *m, void *p) in m_show() argument
86 seq_printf(m, "%s %u", mod->name, size); in m_show()
87 print_unload_info(m, mod); in m_show()
90 seq_printf(m, " %s", in m_show()
95 value = m->private ? NULL : mod->mem[MOD_TEXT].base; in m_show()
96 seq_printf(m, " 0x%px", value); in m_show()
100 seq_printf(m, " %s", module_flags(mod, buf, true)); in m_show()
102 seq_puts(m, "\n"); in m_show()
131 struct seq_file *m = file->private_data; in modules_open() local
133 m->private = kallsyms_show_value(file->f_cred) ? NULL : (void *)8ul; in modules_open()