Lines Matching refs:sf
212 static int misc_cg_max_show(struct seq_file *sf, void *v) in misc_cg_max_show() argument
215 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_max_show()
222 seq_printf(sf, "%s max\n", misc_res_name[i]); in misc_cg_max_show()
224 seq_printf(sf, "%s %llu\n", misc_res_name[i], in misc_cg_max_show()
301 static int misc_cg_current_show(struct seq_file *sf, void *v) in misc_cg_current_show() argument
305 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_current_show()
310 seq_printf(sf, "%s %llu\n", misc_res_name[i], usage); in misc_cg_current_show()
324 static int misc_cg_peak_show(struct seq_file *sf, void *v) in misc_cg_peak_show() argument
328 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_peak_show()
333 seq_printf(sf, "%s %llu\n", misc_res_name[i], watermark); in misc_cg_peak_show()
349 static int misc_cg_capacity_show(struct seq_file *sf, void *v) in misc_cg_capacity_show() argument
357 seq_printf(sf, "%s %llu\n", misc_res_name[i], cap); in misc_cg_capacity_show()
363 static int __misc_events_show(struct seq_file *sf, bool local) in __misc_events_show() argument
365 struct misc_cg *cg = css_misc(seq_css(sf)); in __misc_events_show()
375 seq_printf(sf, "%s.max %llu\n", misc_res_name[i], events); in __misc_events_show()
380 static int misc_events_show(struct seq_file *sf, void *v) in misc_events_show() argument
382 return __misc_events_show(sf, false); in misc_events_show()
385 static int misc_events_local_show(struct seq_file *sf, void *v) in misc_events_local_show() argument
387 return __misc_events_show(sf, true); in misc_events_local_show()