Lines Matching refs:misc_cg
34 static struct misc_cg root_cg;
55 static struct misc_cg *parent_misc(struct misc_cg *cgroup) in parent_misc()
104 static void misc_cg_cancel_charge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_cancel_charge()
125 static void misc_cg_event(enum misc_res_type type, struct misc_cg *cg) in misc_cg_event()
152 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_try_charge()
154 struct misc_cg *i, *j; in misc_cg_try_charge()
196 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_uncharge()
198 struct misc_cg *i; in misc_cg_uncharge()
219 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_max_show()
257 struct misc_cg *cg; in misc_cg_max_write()
309 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_current_show()
332 struct misc_cg *cg = css_misc(seq_css(sf)); in misc_cg_peak_show()
369 struct misc_cg *cg = css_misc(seq_css(sf)); in __misc_events_show()
418 .file_offset = offsetof(struct misc_cg, events_file),
424 .file_offset = offsetof(struct misc_cg, events_local_file),
443 struct misc_cg *cg; in misc_cg_alloc()