Lines Matching refs:seq
40 static int current_css_set_read(struct seq_file *seq, void *v) in current_css_set_read() argument
42 struct kernfs_open_file *of = seq->private; in current_css_set_read()
55 seq_printf(seq, "css_set %pK %d", cset, refcnt); in current_css_set_read()
57 seq_printf(seq, " +%d", refcnt - cset->nr_tasks); in current_css_set_read()
58 seq_puts(seq, "\n"); in current_css_set_read()
67 seq_printf(seq, "%2d: %-4s\t- %p[%d]\n", ss->id, ss->name, in current_css_set_read()
87 static int current_css_set_cg_links_read(struct seq_file *seq, void *v) in current_css_set_cg_links_read() argument
104 seq_printf(seq, "Root %d group %s\n", in current_css_set_cg_links_read()
114 static int cgroup_css_links_read(struct seq_file *seq, void *v) in cgroup_css_links_read() argument
116 struct cgroup_subsys_state *css = seq_css(seq); in cgroup_css_links_read()
132 seq_printf(seq, "css_set %pK", cset); in cgroup_css_links_read()
135 seq_printf(seq, "=>%pK", cset->dom_cset); in cgroup_css_links_read()
143 seq_puts(seq, idx ? "," : "<="); in cgroup_css_links_read()
144 seq_printf(seq, "%pK", tcset); in cgroup_css_links_read()
148 seq_printf(seq, " %d", refcnt); in cgroup_css_links_read()
152 seq_printf(seq, " +%d", extra); in cgroup_css_links_read()
162 seq_puts(seq, "\n"); in cgroup_css_links_read()
166 seq_printf(seq, " task %d\n", in cgroup_css_links_read()
172 seq_printf(seq, " task %d\n", in cgroup_css_links_read()
177 seq_printf(seq, " ... (%d)\n", in cgroup_css_links_read()
181 seq_puts(seq, " [dead]\n"); in cgroup_css_links_read()
192 seq_puts(seq, "\n"); in cgroup_css_links_read()
194 seq_printf(seq, "threaded css_sets = %d\n", threaded_csets); in cgroup_css_links_read()
196 seq_printf(seq, "extra references = %d\n", extra_refs); in cgroup_css_links_read()
198 seq_printf(seq, "dead css_sets = %d\n", dead_cnt); in cgroup_css_links_read()
203 static int cgroup_subsys_states_read(struct seq_file *seq, void *v) in cgroup_subsys_states_read() argument
205 struct kernfs_open_file *of = seq->private; in cgroup_subsys_states_read()
227 seq_printf(seq, "%2d: %-4s\t- %p[%d] %d%s\n", ss->id, ss->name, in cgroup_subsys_states_read()
236 static void cgroup_masks_read_one(struct seq_file *seq, const char *name, in cgroup_masks_read_one() argument
243 seq_printf(seq, "%-17s: ", name); in cgroup_masks_read_one()
248 seq_puts(seq, ", "); in cgroup_masks_read_one()
249 seq_puts(seq, ss->name); in cgroup_masks_read_one()
252 seq_putc(seq, '\n'); in cgroup_masks_read_one()
255 static int cgroup_masks_read(struct seq_file *seq, void *v) in cgroup_masks_read() argument
257 struct kernfs_open_file *of = seq->private; in cgroup_masks_read()
264 cgroup_masks_read_one(seq, "subtree_control", cgrp->subtree_control); in cgroup_masks_read()
265 cgroup_masks_read_one(seq, "subtree_ss_mask", cgrp->subtree_ss_mask); in cgroup_masks_read()