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()
116 static void misc_cg_cancel_charge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_cancel_charge()
137 static void misc_cg_event(enum misc_res_type type, struct misc_cg *cg) in misc_cg_event()
164 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_try_charge()
166 struct misc_cg *i, *j; in misc_cg_try_charge()
208 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_uncharge()
210 struct misc_cg *i; in misc_cg_uncharge()
231 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_max_show()
269 struct misc_cg *cg; in misc_cg_max_write()
321 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_current_show()
344 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_peak_show()
381 struct misc_cg *cg = css_misc(seq_css(sf)); in __misc_events_show()
430 .file_offset = offsetof(struct misc_cg, events_file),
436 .file_offset = offsetof(struct misc_cg, events_local_file),
455 struct misc_cg *cg; in misc_cg_alloc()