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
65 static int m_show(struct seq_file *m, void *p) in m_show() argument
80 seq_printf(m, "%s %u", mod->name, size); in m_show()
81 print_unload_info(m, mod); in m_show()
84 seq_printf(m, " %s", in m_show()
89 value = m->private ? NULL : mod->core_layout.base; in m_show()
90 seq_printf(m, " 0x%px", value); in m_show()
94 seq_printf(m, " %s", module_flags(mod, buf, true)); in m_show()
96 seq_puts(m, "\n"); in m_show()
125 struct seq_file *m = file->private_data; in modules_open() local
127 m->private = kallsyms_show_value(file->f_cred) ? NULL : (void *)8ul; in modules_open()