Lines Matching +full:keep +full:- +full:a +full:- +full:live
1 // SPDX-License-Identifier: GPL-2.0-or-later
24 * Always include a trailing , so userspace can differentiate in print_unload_info()
25 * between this and the old multi-field proc format. in print_unload_info()
27 list_for_each_entry(use, &mod->source_list, source_list) { in print_unload_info()
29 seq_printf(m, "%s,", use->source->name); in print_unload_info()
32 if (mod->init && !mod->exit) { in print_unload_info()
38 seq_puts(m, "-"); in print_unload_info()
44 seq_puts(m, " - -"); in print_unload_info()
48 /* Called by the /proc file system to return a list of modules. */
70 size += mod->mem[type].size; in module_total_size()
82 if (mod->state == MODULE_STATE_UNFORMED) in m_show()
86 seq_printf(m, "%s %u", mod->name, size); in m_show()
91 mod->state == MODULE_STATE_GOING ? "Unloading" : in m_show()
92 mod->state == MODULE_STATE_COMING ? "Loading" : in m_show()
93 "Live"); in m_show()
95 value = m->private ? NULL : mod->mem[MOD_TEXT].base; in m_show()
99 if (mod->taints) in m_show()
109 * Where refcount is a number or -, and deps is a comma-separated list
110 * of depends or -.
120 * This also sets the "private" pointer to non-NULL if the
122 * "m->private" to see if you should keep the values private).
131 struct seq_file *m = file->private_data; in modules_open()
133 m->private = kallsyms_show_value(file->f_cred) ? NULL : (void *)8ul; in modules_open()