Lines Matching refs:misc_cg
30 static struct misc_cg root_cg;
51 static struct misc_cg *parent_misc(struct misc_cg *cgroup) in parent_misc()
100 static void misc_cg_cancel_charge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_cancel_charge()
121 static void misc_cg_event(enum misc_res_type type, struct misc_cg *cg) in misc_cg_event()
148 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_try_charge()
150 struct misc_cg *i, *j; in misc_cg_try_charge()
192 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_uncharge()
194 struct misc_cg *i; in misc_cg_uncharge()
215 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_max_show()
253 struct misc_cg *cg; in misc_cg_max_write()
305 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_current_show()
328 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_peak_show()
365 struct misc_cg *cg = css_misc(seq_css(sf)); in __misc_events_show()
414 .file_offset = offsetof(struct misc_cg, events_file),
420 .file_offset = offsetof(struct misc_cg, events_local_file),
439 struct misc_cg *cg; in misc_cg_alloc()