/kernel/cgroup/ |
D | misc.c | 206 static int misc_cg_max_show(struct seq_file *sf, void *v) in misc_cg_max_show() argument 209 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_max_show() 216 seq_printf(sf, "%s max\n", misc_res_name[i]); in misc_cg_max_show() 218 seq_printf(sf, "%s %llu\n", misc_res_name[i], in misc_cg_max_show() 295 static int misc_cg_current_show(struct seq_file *sf, void *v) in misc_cg_current_show() argument 299 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_current_show() 304 seq_printf(sf, "%s %llu\n", misc_res_name[i], usage); in misc_cg_current_show() 320 static int misc_cg_capacity_show(struct seq_file *sf, void *v) in misc_cg_capacity_show() argument 328 seq_printf(sf, "%s %llu\n", misc_res_name[i], cap); in misc_cg_capacity_show() 334 static int misc_events_show(struct seq_file *sf, void *v) in misc_events_show() argument [all …]
|
D | rdma.c | 494 static void print_rpool_values(struct seq_file *sf, in print_rpool_values() argument 501 sf_type = seq_cft(sf)->private; in print_rpool_values() 504 seq_puts(sf, rdmacg_resource_names[i]); in print_rpool_values() 505 seq_putc(sf, '='); in print_rpool_values() 519 seq_puts(sf, RDMACG_MAX_STR); in print_rpool_values() 521 seq_printf(sf, "%d", value); in print_rpool_values() 522 seq_putc(sf, ' '); in print_rpool_values() 526 static int rdmacg_resource_read(struct seq_file *sf, void *v) in rdmacg_resource_read() argument 530 struct rdma_cgroup *cg = css_rdmacg(seq_css(sf)); in rdmacg_resource_read() 535 seq_printf(sf, "%s ", device->name); in rdmacg_resource_read() [all …]
|
D | pids.c | 312 static int pids_max_show(struct seq_file *sf, void *v) in pids_max_show() argument 314 struct cgroup_subsys_state *css = seq_css(sf); in pids_max_show() 319 seq_printf(sf, "%s\n", PIDS_MAX_STR); in pids_max_show() 321 seq_printf(sf, "%lld\n", limit); in pids_max_show() 342 static int pids_events_show(struct seq_file *sf, void *v) in pids_events_show() argument 344 struct pids_cgroup *pids = css_pids(seq_css(sf)); in pids_events_show() 346 seq_printf(sf, "max %lld\n", (s64)atomic64_read(&pids->events_limit)); in pids_events_show()
|
D | cpuset.c | 2947 static int cpuset_common_seq_show(struct seq_file *sf, void *v) in cpuset_common_seq_show() argument 2949 struct cpuset *cs = css_cs(seq_css(sf)); in cpuset_common_seq_show() 2950 cpuset_filetype_t type = seq_cft(sf)->private; in cpuset_common_seq_show() 2957 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->cpus_requested)); in cpuset_common_seq_show() 2960 seq_printf(sf, "%*pbl\n", nodemask_pr_args(&cs->mems_allowed)); in cpuset_common_seq_show() 2963 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->effective_cpus)); in cpuset_common_seq_show() 2966 seq_printf(sf, "%*pbl\n", nodemask_pr_args(&cs->effective_mems)); in cpuset_common_seq_show() 2969 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->subparts_cpus)); in cpuset_common_seq_show()
|
D | cgroup-internal.h | 262 int cgroup_show_path(struct seq_file *sf, struct kernfs_node *kf_node,
|
D | cgroup.c | 1877 int cgroup_show_path(struct seq_file *sf, struct kernfs_node *kf_node, in cgroup_show_path() argument 1897 seq_escape(sf, buf, " \t\n\\"); in cgroup_show_path()
|
/kernel/irq/ |
D | matrix.c | 490 void irq_matrix_debug_show(struct seq_file *sf, struct irq_matrix *m, int ind) in irq_matrix_debug_show() argument 495 seq_printf(sf, "Online bitmaps: %6u\n", m->online_maps); in irq_matrix_debug_show() 496 seq_printf(sf, "Global available: %6u\n", m->global_available); in irq_matrix_debug_show() 497 seq_printf(sf, "Global reserved: %6u\n", m->global_reserved); in irq_matrix_debug_show() 498 seq_printf(sf, "Total allocated: %6u\n", m->total_allocated); in irq_matrix_debug_show() 499 seq_printf(sf, "System: %u: %*pbl\n", nsys, m->matrix_bits, in irq_matrix_debug_show() 501 seq_printf(sf, "%*s| CPU | avl | man | mac | act | vectors\n", ind, " "); in irq_matrix_debug_show() 506 seq_printf(sf, "%*s %4d %4u %4u %4u %4u %*pbl\n", ind, " ", in irq_matrix_debug_show()
|
/kernel/sched/ |
D | cpuacct.c | 260 static int cpuacct_stats_show(struct seq_file *sf, void *v) in cpuacct_stats_show() argument 262 struct cpuacct *ca = css_ca(seq_css(sf)); in cpuacct_stats_show() 281 cputime_adjust(&cputime, &seq_css(sf)->cgroup->prev_cputime, in cpuacct_stats_show() 285 seq_printf(sf, "%s %llu\n", cpuacct_stat_desc[stat], in cpuacct_stats_show()
|
D | core.c | 11010 static inline void cpu_uclamp_print(struct seq_file *sf, in cpu_uclamp_print() argument 11019 tg = css_tg(seq_css(sf)); in cpu_uclamp_print() 11024 seq_puts(sf, "max\n"); in cpu_uclamp_print() 11030 seq_printf(sf, "%llu.%0*u\n", percent, UCLAMP_PERCENT_SHIFT, rem); in cpu_uclamp_print() 11033 static int cpu_uclamp_min_show(struct seq_file *sf, void *v) in cpu_uclamp_min_show() argument 11035 cpu_uclamp_print(sf, UCLAMP_MIN); in cpu_uclamp_min_show() 11039 static int cpu_uclamp_max_show(struct seq_file *sf, void *v) in cpu_uclamp_max_show() argument 11041 cpu_uclamp_print(sf, UCLAMP_MAX); in cpu_uclamp_max_show() 11383 static int cpu_cfs_stat_show(struct seq_file *sf, void *v) in cpu_cfs_stat_show() argument 11385 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_stat_show() [all …]
|
/kernel/ |
D | auditfilter.c | 790 struct audit_field *sf) in audit_dupe_lsm_field() argument 796 lsm_str = kstrdup(sf->lsm_str, GFP_KERNEL); in audit_dupe_lsm_field()
|
/kernel/power/ |
D | Kconfig | 55 from <http://suspend.sf.net>.
|