Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 11 of 11) sorted by relevance

/kernel/cgroup/
Dmisc.c208 static int misc_cg_max_show(struct seq_file *sf, void *v) in misc_cg_max_show() argument
211 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_max_show()
218 seq_printf(sf, "%s max\n", misc_res_name[i]); in misc_cg_max_show()
220 seq_printf(sf, "%s %lu\n", misc_res_name[i], in misc_cg_max_show()
297 static int misc_cg_current_show(struct seq_file *sf, void *v) in misc_cg_current_show() argument
301 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_current_show()
306 seq_printf(sf, "%s %lu\n", misc_res_name[i], usage); in misc_cg_current_show()
322 static int misc_cg_capacity_show(struct seq_file *sf, void *v) in misc_cg_capacity_show() argument
330 seq_printf(sf, "%s %lu\n", misc_res_name[i], cap); in misc_cg_capacity_show()
336 static int misc_events_show(struct seq_file *sf, void *v) in misc_events_show() argument
[all …]
Drdma.c492 static void print_rpool_values(struct seq_file *sf, in print_rpool_values() argument
499 sf_type = seq_cft(sf)->private; in print_rpool_values()
502 seq_puts(sf, rdmacg_resource_names[i]); in print_rpool_values()
503 seq_putc(sf, '='); in print_rpool_values()
517 seq_puts(sf, RDMACG_MAX_STR); in print_rpool_values()
519 seq_printf(sf, "%d", value); in print_rpool_values()
520 seq_putc(sf, ' '); in print_rpool_values()
524 static int rdmacg_resource_read(struct seq_file *sf, void *v) in rdmacg_resource_read() argument
528 struct rdma_cgroup *cg = css_rdmacg(seq_css(sf)); in rdmacg_resource_read()
533 seq_printf(sf, "%s ", device->name); in rdmacg_resource_read()
[all …]
Dpids.c312 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()
Dcpuset.c2895 static int cpuset_common_seq_show(struct seq_file *sf, void *v) in cpuset_common_seq_show() argument
2897 struct cpuset *cs = css_cs(seq_css(sf)); in cpuset_common_seq_show()
2898 cpuset_filetype_t type = seq_cft(sf)->private; in cpuset_common_seq_show()
2905 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->cpus_requested)); in cpuset_common_seq_show()
2908 seq_printf(sf, "%*pbl\n", nodemask_pr_args(&cs->mems_allowed)); in cpuset_common_seq_show()
2911 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->effective_cpus)); in cpuset_common_seq_show()
2914 seq_printf(sf, "%*pbl\n", nodemask_pr_args(&cs->effective_mems)); in cpuset_common_seq_show()
2917 seq_printf(sf, "%*pbl\n", cpumask_pr_args(cs->subparts_cpus)); in cpuset_common_seq_show()
Dcgroup-internal.h264 int cgroup_show_path(struct seq_file *sf, struct kernfs_node *kf_node,
Dcgroup.c1900 int cgroup_show_path(struct seq_file *sf, struct kernfs_node *kf_node, in cgroup_show_path() argument
1920 seq_escape(sf, buf, " \t\n\\"); in cgroup_show_path()
/kernel/irq/
Dmatrix.c490 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/
Dcpuacct.c260 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()
Dcore.c10732 static inline void cpu_uclamp_print(struct seq_file *sf, in cpu_uclamp_print() argument
10741 tg = css_tg(seq_css(sf)); in cpu_uclamp_print()
10746 seq_puts(sf, "max\n"); in cpu_uclamp_print()
10752 seq_printf(sf, "%llu.%0*u\n", percent, UCLAMP_PERCENT_SHIFT, rem); in cpu_uclamp_print()
10755 static int cpu_uclamp_min_show(struct seq_file *sf, void *v) in cpu_uclamp_min_show() argument
10757 cpu_uclamp_print(sf, UCLAMP_MIN); in cpu_uclamp_min_show()
10761 static int cpu_uclamp_max_show(struct seq_file *sf, void *v) in cpu_uclamp_max_show() argument
10763 cpu_uclamp_print(sf, UCLAMP_MAX); in cpu_uclamp_max_show()
11100 static int cpu_cfs_stat_show(struct seq_file *sf, void *v) in cpu_cfs_stat_show() argument
11102 struct task_group *tg = css_tg(seq_css(sf)); in cpu_cfs_stat_show()
[all …]
/kernel/
Dauditfilter.c788 struct audit_field *sf) in audit_dupe_lsm_field() argument
794 lsm_str = kstrdup(sf->lsm_str, GFP_KERNEL); in audit_dupe_lsm_field()
/kernel/power/
DKconfig55 from <http://suspend.sf.net>.