Lines Matching refs:sf

228 static int misc_cg_max_show(struct seq_file *sf, void *v)  in misc_cg_max_show()  argument
231 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_max_show()
238 seq_printf(sf, "%s max\n", misc_res_name[i]); in misc_cg_max_show()
240 seq_printf(sf, "%s %llu\n", misc_res_name[i], in misc_cg_max_show()
317 static int misc_cg_current_show(struct seq_file *sf, void *v) in misc_cg_current_show() argument
321 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_current_show()
326 seq_printf(sf, "%s %llu\n", misc_res_name[i], usage); in misc_cg_current_show()
340 static int misc_cg_peak_show(struct seq_file *sf, void *v) in misc_cg_peak_show() argument
344 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_peak_show()
349 seq_printf(sf, "%s %llu\n", misc_res_name[i], watermark); in misc_cg_peak_show()
365 static int misc_cg_capacity_show(struct seq_file *sf, void *v) in misc_cg_capacity_show() argument
373 seq_printf(sf, "%s %llu\n", misc_res_name[i], cap); in misc_cg_capacity_show()
379 static int __misc_events_show(struct seq_file *sf, bool local) in __misc_events_show() argument
381 struct misc_cg *cg = css_misc(seq_css(sf)); in __misc_events_show()
391 seq_printf(sf, "%s.max %llu\n", misc_res_name[i], events); in __misc_events_show()
396 static int misc_events_show(struct seq_file *sf, void *v) in misc_events_show() argument
398 return __misc_events_show(sf, false); in misc_events_show()
401 static int misc_events_local_show(struct seq_file *sf, void *v) in misc_events_local_show() argument
403 return __misc_events_show(sf, true); in misc_events_local_show()