| /kernel/irq/ |
| A D | matrix.c | 55 if (!m) in irq_alloc_matrix() 58 m->system_map = &m->scratch_map[matrix_size]; in irq_alloc_matrix() 66 if (!m->maps) { in irq_alloc_matrix() 67 kfree(m); in irq_alloc_matrix() 77 return m; in irq_alloc_matrix() 97 m->online_maps++; in irq_matrix_online() 122 bitmap_or(m->scratch_map, cm->managed_map, m->system_map, end); in matrix_alloc_area() 123 bitmap_or(m->scratch_map, m->scratch_map, cm->alloc_map, end); in matrix_alloc_area() 193 BUG_ON(m->online_maps > 1 || (m->online_maps && !replace)); in irq_matrix_assign_system() 201 if (bit >= m->alloc_start && bit < m->alloc_end) in irq_matrix_assign_system() [all …]
|
| A D | debugfs.c | 19 seq_printf(m, "%*s%s\n", ind + 12, "", sd->name); in irq_debug_show_bits() 65 seq_printf(m, "chip: None\n"); in irq_debug_show_chip() 68 seq_printf(m, "%*schip: ", ind, ""); in irq_debug_show_chip() 70 chip->irq_print_chip(data, m); in irq_debug_show_chip() 72 seq_printf(m, "%s", chip->name); in irq_debug_show_chip() 81 seq_printf(m, "%*sdomain: %s\n", ind, "", in irq_debug_show_data() 84 irq_debug_show_chip(m, data, ind + 1); in irq_debug_show_data() 90 seq_printf(m, "%*sparent:\n", ind + 1, ""); in irq_debug_show_data() 160 struct irq_desc *desc = m->private; in irq_debug_show() 179 irq_debug_show_masks(m, desc); in irq_debug_show() [all …]
|
| A D | proc.c | 46 static int show_irq_affinity(int type, struct seq_file *m) in show_irq_affinity() argument 48 struct irq_desc *desc = irq_to_desc((long)m->private); in show_irq_affinity() 71 seq_printf(m, "%*pbl\n", cpumask_pr_args(mask)); in show_irq_affinity() 75 seq_printf(m, "%*pb\n", cpumask_pr_args(mask)); in show_irq_affinity() 83 struct irq_desc *desc = irq_to_desc((long)m->private); in irq_affinity_hint_proc_show() 94 seq_printf(m, "%*pb\n", cpumask_pr_args(mask)); in irq_affinity_hint_proc_show() 102 return show_irq_affinity(AFFINITY, m); in irq_affinity_proc_show() 107 return show_irq_affinity(AFFINITY_LIST, m); in irq_affinity_list_proc_show() 216 return show_irq_affinity(EFFECTIVE, m); in irq_effective_aff_proc_show() 221 return show_irq_affinity(EFFECTIVE_LIST, m); in irq_effective_aff_list_proc_show() [all …]
|
| A D | cpuhotplug.c | 22 const struct cpumask *m = irq_data_get_effective_affinity_mask(d); in irq_needs_fixup() local 31 if (cpumask_empty(m)) in irq_needs_fixup() 32 m = irq_data_get_affinity_mask(d); in irq_needs_fixup() 39 if (cpumask_any_but(m, cpu) < nr_cpu_ids && in irq_needs_fixup() 40 !cpumask_intersects(m, cpu_online_mask)) { in irq_needs_fixup() 46 cpumask_pr_args(m), d->irq, cpu); in irq_needs_fixup() 50 return cpumask_test_cpu(cpu, m); in irq_needs_fixup()
|
| /kernel/locking/ |
| A D | lockdep_proc.c | 102 seq_printf(m, ": "); in l_show() 104 seq_puts(m, "\n"); in l_show() 114 seq_puts(m, "\n"); in l_show() 178 seq_puts(m, "\n"); in lc_show() 180 seq_puts(m, "\n"); in lc_show() 384 seq_puts(m, "\n"); in lockdep_stats_show() 427 seq_puts(m, " "); in seq_line() 429 seq_putc(m, c); in seq_line() 430 seq_puts(m, "\n"); in seq_line() 627 seq_header(m); in ls_show() [all …]
|
| /kernel/time/ |
| A D | timer_list.c | 37 if (m) in SEQ_printf() 38 seq_vprintf(m, fmt, args); in SEQ_printf() 51 SEQ_printf(m, "\n"); in print_timer() 120 SEQ_printf(m, "cpu: %d\n", cpu); in print_cpu() 170 SEQ_printf(m, "jiffies: %Lu\n", in print_cpu() 177 SEQ_printf(m, "\n"); in print_cpu() 196 SEQ_printf(m, "<NULL>\n"); in print_tickdevice() 233 SEQ_printf(m, "\n"); in print_tickdevice() 243 SEQ_printf(m, "\n"); in print_tickdevice() 256 SEQ_printf(m, "\n"); in timer_list_show_tickdevices_header() [all …]
|
| /kernel/sched/ |
| A D | debug.c | 19 if (m) \ 20 seq_printf(m, x); \ 65 seq_puts(m, "NO_"); in sched_feat_show() 68 seq_puts(m, "\n"); in sched_feat_show() 256 seq_puts(m, "("); in sched_dynamic_show() 259 seq_puts(m, ")"); in sched_dynamic_show() 261 seq_puts(m, " "); in sched_dynamic_show() 264 seq_puts(m, "\n"); in sched_dynamic_show() 545 seq_puts(m, " "); in sd_flags_show() 547 seq_puts(m, "\n"); in sd_flags_show() [all …]
|
| A D | cpuacct.c | 211 static int __cpuacct_percpu_seq_show(struct seq_file *m, in __cpuacct_percpu_seq_show() argument 214 struct cpuacct *ca = css_ca(seq_css(m)); in __cpuacct_percpu_seq_show() 220 seq_printf(m, "%llu ", (unsigned long long) percpu); in __cpuacct_percpu_seq_show() 222 seq_printf(m, "\n"); in __cpuacct_percpu_seq_show() 243 struct cpuacct *ca = css_ca(seq_css(m)); in cpuacct_all_seq_show() 247 seq_puts(m, "cpu"); in cpuacct_all_seq_show() 249 seq_printf(m, " %s", cpuacct_stat_desc[index]); in cpuacct_all_seq_show() 250 seq_puts(m, "\n"); in cpuacct_all_seq_show() 253 seq_printf(m, "%d", cpu); in cpuacct_all_seq_show() 255 seq_printf(m, " %llu", in cpuacct_all_seq_show() [all …]
|
| /kernel/module/ |
| A D | procfs.c | 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() 44 seq_puts(m, " - -"); in print_unload_info() 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() 96 seq_printf(m, " 0x%px", value); in m_show() 102 seq_puts(m, "\n"); in m_show() [all …]
|
| A D | tracking.c | 67 static void *unloaded_tainted_modules_seq_start(struct seq_file *m, loff_t *pos) in unloaded_tainted_modules_seq_start() argument 74 static void *unloaded_tainted_modules_seq_next(struct seq_file *m, void *p, loff_t *pos) in unloaded_tainted_modules_seq_next() argument 79 static void unloaded_tainted_modules_seq_stop(struct seq_file *m, void *p) in unloaded_tainted_modules_seq_stop() argument 85 static int unloaded_tainted_modules_seq_show(struct seq_file *m, void *p) in unloaded_tainted_modules_seq_show() argument 95 seq_printf(m, "%s (%s) %llu", mod_taint->name, buf, mod_taint->count); in unloaded_tainted_modules_seq_show() 96 seq_puts(m, "\n"); in unloaded_tainted_modules_seq_show()
|
| /kernel/configs/ |
| A D | xen.config | 29 CONFIG_XEN_BLKDEV_BACKEND=m 30 CONFIG_XEN_NETDEV_BACKEND=m 32 CONFIG_XEN_WDT=m 33 CONFIG_XEN_SCSI_BACKEND=m 35 CONFIG_XEN_FBDEV_FRONTEND=m 38 CONFIG_XEN_SCSI_FRONTEND=m 41 CONFIG_XEN_DEV_EVTCHN=m 42 CONFIG_XEN_BLKDEV_FRONTEND=m 44 CONFIG_XENFS=m 48 CONFIG_XEN_GNTDEV=m [all …]
|
| /kernel/trace/ |
| A D | trace_branch.c | 232 seq_puts(m, " correct incorrect % " in annotated_branch_stat_headers() 265 static void branch_stat_show(struct seq_file *m, in branch_stat_show() argument 276 seq_puts(m, " X "); in branch_stat_show() 278 seq_printf(m, "%3ld ", percent); in branch_stat_show() 283 static int branch_stat_show_normal(struct seq_file *m, in branch_stat_show_normal() argument 287 branch_stat_show(m, p, f); in branch_stat_show_normal() 300 return branch_stat_show_normal(m, &p->data, f); in annotate_branch_stat_show() 305 seq_printf(m, "%8lu/%lu %*lu ", in annotate_branch_stat_show() 307 branch_stat_show(m, &p->data, f); in annotate_branch_stat_show() 392 seq_puts(m, " miss hit % " in all_branch_stat_headers() [all …]
|
| A D | trace_stack.c | 376 __next(struct seq_file *m, loff_t *pos) in __next() argument 383 m->private = (void *)n; in __next() 384 return &m->private; in __next() 391 return __next(m, pos); in t_next() 405 return __next(m, pos); in t_start() 421 seq_printf(m, "%pS\n", (void *)addr); in trace_lookup_stack() 424 static void print_disabled(struct seq_file *m) in print_disabled() argument 426 seq_puts(m, "#\n" in print_disabled() 435 static int t_show(struct seq_file *m, void *v) in t_show() argument 447 print_disabled(m); in t_show() [all …]
|
| A D | trace_events_hist.c | 3499 seq_putc(m, '\n'); in track_data_snapshot_print() 4950 seq_puts(m, ")"); in print_track_data_spec() 4964 seq_puts(m, ")"); in print_onmatch_spec() 5462 seq_puts(m, "{ "); in hist_trigger_print_key() 5532 seq_puts(m, " "); in hist_trigger_print_key() 5534 seq_puts(m, "}"); in hist_trigger_print_key() 5630 seq_puts(m, " "); in hist_trigger_entry_print() 5636 seq_puts(m, "\n"); in hist_trigger_entry_print() 6138 seq_putc(m, '$'); in hist_field_print() 6212 seq_puts(m, ":"); in event_hist_trigger_print() [all …]
|
| A D | trace_printk.c | 299 t_start(struct seq_file *m, loff_t *pos) in t_start() argument 305 static void *t_next(struct seq_file *m, void * v, loff_t *pos) in t_next() argument 311 static int t_show(struct seq_file *m, void *v) in t_show() argument 320 seq_printf(m, "0x%lx : \"", *(unsigned long *)fmt); in t_show() 328 seq_puts(m, "\\n"); in t_show() 331 seq_puts(m, "\\t"); in t_show() 334 seq_putc(m, '\\'); in t_show() 337 seq_puts(m, "\\\""); in t_show() 340 seq_putc(m, str[i]); in t_show() 343 seq_puts(m, "\"\n"); in t_show() [all …]
|
| A D | trace_events_trigger.c | 184 seq_putc(m, '#'); in trigger_show() 187 seq_printf(m, " %s", p->name); in trigger_show() 188 seq_putc(m, '\n'); in trigger_show() 194 data->ops->print(m, data); in trigger_show() 236 m->private = file; in event_trigger_regex_open() 400 seq_puts(m, name); in event_trigger_print() 403 seq_puts(m, ":unlimited"); in event_trigger_print() 410 seq_putc(m, '\n'); in event_trigger_print() 1670 seq_printf(m, "%s:%s:%s", in event_enable_trigger_print() 1678 seq_puts(m, ":unlimited"); in event_enable_trigger_print() [all …]
|
| A D | trace.c | 4803 iter = m->private; in tracing_release() 4954 seq_putc(m, ' '); in t_show() 4985 m->private = tr; in show_traces_open() 7103 m->private = tr; in tracing_last_boot_open() 7356 seq_printf(m, in tracing_clock_show() 7360 seq_putc(m, '\n'); in tracing_clock_show() 7532 m = kzalloc(sizeof(*m), GFP_KERNEL); in tracing_snapshot_open() 7533 if (!m) in tracing_snapshot_open() 7537 kfree(m); in tracing_snapshot_open() 7653 if (m) in tracing_snapshot_release() [all …]
|
| A D | trace_sched_switch.c | 461 static void *saved_tgids_next(struct seq_file *m, void *v, loff_t *pos) in saved_tgids_next() argument 468 static void *saved_tgids_start(struct seq_file *m, loff_t *pos) in saved_tgids_start() argument 475 static void saved_tgids_stop(struct seq_file *m, void *v) in saved_tgids_stop() argument 479 static int saved_tgids_show(struct seq_file *m, void *v) in saved_tgids_show() argument 488 seq_printf(m, "%d %d\n", pid, tgid); in saved_tgids_show() 522 if (*pos || m->count) in saved_cmdlines_next() 538 static void *saved_cmdlines_start(struct seq_file *m, loff_t *pos) in saved_cmdlines_start() argument 548 v = saved_cmdlines_next(m, v, &l); in saved_cmdlines_start() 556 static void saved_cmdlines_stop(struct seq_file *m, void *v) in saved_cmdlines_stop() argument 562 static int saved_cmdlines_show(struct seq_file *m, void *v) in saved_cmdlines_show() argument [all …]
|
| A D | ftrace.c | 561 seq_puts(m, " "); in function_stat_show() 586 seq_putc(m, '\n'); in function_stat_show() 4113 seq_putc(m, '*'); in t_mod_show() 4354 seq_puts(m, str); in print_rec() 4438 seq_putc(m, '\n'); in t_show() 4487 seq_putc(m, '\n'); in t_show() 5756 iter = m->private; in ftrace_regex_write() 6511 iter = m->private; in ftrace_regex_release() 6846 fgd = m->private; in ftrace_graph_release() 6968 fgd = m->private; in ftrace_graph_write() [all …]
|
| A D | trace_events.c | 1567 file = t_next(m, file, &l); in t_start() 1701 t_stop(m, NULL); in s_stop() 1994 seq_puts(m, "format:\n"); in f_show() 1998 seq_putc(m, '\n'); in f_show() 2052 p = f_next(m, p, &l); in f_start() 2071 struct seq_file *m; in trace_format_open() local 2080 m = file->private_data; in trace_format_open() 2081 m->private = file; in trace_format_open() 2627 struct seq_file *m; in ftrace_event_open() local 2637 m = file->private_data; in ftrace_event_open() [all …]
|
| /kernel/bpf/ |
| A D | inode.c | 179 return m->private; in map_iter() 221 if (map_iter(m)->done) in map_seq_next() 231 map_iter(m)->done = true; in map_seq_next() 240 if (map_iter(m)->done) in map_seq_start() 276 struct seq_file *m; in bpffs_map_open() local 289 m = file->private_data; in bpffs_map_open() 290 m->private = iter; in bpffs_map_open() 299 map_iter_free(map_iter(m)); in bpffs_map_release() 699 seq_printf(m, "=any"); in seq_print_delegate_opts() 739 seq_printf(m, ",uid=%u", in bpf_show_options() [all …]
|
| A D | local_storage.c | 362 struct btf_member *m; in cgroup_storage_check_btf() local 383 m = (struct btf_member *)(key_type + 1); in cgroup_storage_check_btf() 391 m++; in cgroup_storage_check_btf() 408 struct seq_file *m) in cgroup_storage_seq_show_elem() argument 424 seq_puts(m, ": "); in cgroup_storage_seq_show_elem() 427 seq_putc(m, '\n'); in cgroup_storage_seq_show_elem() 429 seq_puts(m, ": {\n"); in cgroup_storage_seq_show_elem() 431 seq_printf(m, "\tcpu%d: ", cpu); in cgroup_storage_seq_show_elem() 434 m); in cgroup_storage_seq_show_elem() 435 seq_putc(m, '\n'); in cgroup_storage_seq_show_elem() [all …]
|
| A D | token.c | 68 static void bpf_token_show_fdinfo(struct seq_file *m, struct file *filp) in bpf_token_show_fdinfo() argument 76 seq_printf(m, "allowed_cmds:\tany\n"); in bpf_token_show_fdinfo() 78 seq_printf(m, "allowed_cmds:\t0x%llx\n", token->allowed_cmds); in bpf_token_show_fdinfo() 83 seq_printf(m, "allowed_maps:\tany\n"); in bpf_token_show_fdinfo() 85 seq_printf(m, "allowed_maps:\t0x%llx\n", token->allowed_maps); in bpf_token_show_fdinfo() 90 seq_printf(m, "allowed_progs:\tany\n"); in bpf_token_show_fdinfo() 92 seq_printf(m, "allowed_progs:\t0x%llx\n", token->allowed_progs); in bpf_token_show_fdinfo() 97 seq_printf(m, "allowed_attachs:\tany\n"); in bpf_token_show_fdinfo() 99 seq_printf(m, "allowed_attachs:\t0x%llx\n", token->allowed_attachs); in bpf_token_show_fdinfo()
|
| /kernel/ |
| A D | kallsyms.c | 704 if (!update_iter(m->private, *pos)) in s_next() 711 if (!update_iter(m->private, *pos)) in s_start() 713 return m->private; in s_start() 723 struct kallsym_iter *iter = m->private; in s_show() 740 seq_printf(m, "%px %c %s\t[%s]\n", value, in s_show() 743 seq_printf(m, "%px %c %s\n", value, in s_show() 768 meta.seq = m; in ksym_prog_seq_show() 774 ctx.ksym = m ? m->private : NULL; in ksym_prog_seq_show() 780 return ksym_prog_seq_show(m, false); in bpf_iter_ksym_seq_show() 786 (void) ksym_prog_seq_show(m, true); in bpf_iter_ksym_seq_stop() [all …]
|
| /kernel/trace/rv/ |
| A D | rv_reactors.c | 87 static int reactors_show(struct seq_file *m, void *p) in reactors_show() argument 91 seq_printf(m, "%s\n", reactor->name); in reactors_show() 95 static void reactors_stop(struct seq_file *m, void *p) in reactors_stop() argument 100 static void *reactors_start(struct seq_file *m, loff_t *pos) in reactors_start() argument 106 static void *reactors_next(struct seq_file *m, void *p, loff_t *pos) in reactors_next() argument 139 static int monitor_reactor_show(struct seq_file *m, void *p) in monitor_reactor_show() argument 141 struct rv_monitor *mon = m->private; in monitor_reactor_show() 145 seq_printf(m, "[%s]\n", reactor->name); in monitor_reactor_show() 147 seq_printf(m, "%s\n", reactor->name); in monitor_reactor_show()
|