Lines Matching full:sf
210 * @sf: Interface file
216 static int misc_cg_max_show(struct seq_file *sf, void *v) in misc_cg_max_show() argument
219 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_max_show()
226 seq_printf(sf, "%s max\n", misc_res_name[i]); in misc_cg_max_show()
228 seq_printf(sf, "%s %llu\n", misc_res_name[i], in misc_cg_max_show()
299 * @sf: Interface file
305 static int misc_cg_current_show(struct seq_file *sf, void *v) in misc_cg_current_show() argument
309 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_current_show()
314 seq_printf(sf, "%s %llu\n", misc_res_name[i], usage); in misc_cg_current_show()
322 * @sf: Interface file
328 static int misc_cg_peak_show(struct seq_file *sf, void *v) in misc_cg_peak_show() argument
332 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_peak_show()
337 seq_printf(sf, "%s %llu\n", misc_res_name[i], watermark); in misc_cg_peak_show()
345 * @sf: Interface file
353 static int misc_cg_capacity_show(struct seq_file *sf, void *v) in misc_cg_capacity_show() argument
361 seq_printf(sf, "%s %llu\n", misc_res_name[i], cap); in misc_cg_capacity_show()
367 static int __misc_events_show(struct seq_file *sf, bool local) in __misc_events_show() argument
369 struct misc_cg *cg = css_misc(seq_css(sf)); in __misc_events_show()
379 seq_printf(sf, "%s.max %llu\n", misc_res_name[i], events); in __misc_events_show()
384 static int misc_events_show(struct seq_file *sf, void *v) in misc_events_show() argument
386 return __misc_events_show(sf, false); in misc_events_show()
389 static int misc_events_local_show(struct seq_file *sf, void *v) in misc_events_local_show() argument
391 return __misc_events_show(sf, true); in misc_events_local_show()