Lines Matching refs:h_cg
82 struct hugetlb_cgroup *h_cg, bool rsvd) in __set_hugetlb_cgroup() argument
86 folio->_hugetlb_cgroup_rsvd = h_cg; in __set_hugetlb_cgroup()
88 folio->_hugetlb_cgroup = h_cg; in __set_hugetlb_cgroup()
92 struct hugetlb_cgroup *h_cg) in set_hugetlb_cgroup() argument
94 __set_hugetlb_cgroup(folio, h_cg, false); in set_hugetlb_cgroup()
98 struct hugetlb_cgroup *h_cg) in set_hugetlb_cgroup_rsvd() argument
100 __set_hugetlb_cgroup(folio, h_cg, true); in set_hugetlb_cgroup_rsvd()
108 static inline void hugetlb_cgroup_put_rsvd_cgroup(struct hugetlb_cgroup *h_cg) in hugetlb_cgroup_put_rsvd_cgroup() argument
110 css_put(&h_cg->css); in hugetlb_cgroup_put_rsvd_cgroup()
132 struct hugetlb_cgroup *h_cg,
135 struct hugetlb_cgroup *h_cg,
143 struct hugetlb_cgroup *h_cg);
145 struct hugetlb_cgroup *h_cg);
179 struct hugetlb_cgroup *h_cg) in set_hugetlb_cgroup() argument
184 struct hugetlb_cgroup *h_cg) in set_hugetlb_cgroup_rsvd() argument
193 static inline void hugetlb_cgroup_put_rsvd_cgroup(struct hugetlb_cgroup *h_cg) in hugetlb_cgroup_put_rsvd_cgroup() argument
221 struct hugetlb_cgroup *h_cg, in hugetlb_cgroup_commit_charge() argument
228 struct hugetlb_cgroup *h_cg, in hugetlb_cgroup_commit_charge_rsvd() argument
245 struct hugetlb_cgroup *h_cg) in hugetlb_cgroup_uncharge_cgroup() argument
251 struct hugetlb_cgroup *h_cg) in hugetlb_cgroup_uncharge_cgroup_rsvd() argument